add blank user and upgrade pages for later

community
Michael Mead 8 years ago
parent 6ea093b12d
commit db3431b49b

@ -159,6 +159,25 @@ def dashboard():
title = 'Dashboard' title = 'Dashboard'
return render_template('dashboard.html',context=context,title=title) return render_template('dashboard.html',context=context,title=title)
@app.route('/upgrade')
def upgrade():
context = PARAMS['context']
if 'title' in PARAMS :
title = PARAMS['title']
else:
title = 'Upgrade'
return render_template('upgrade.html',context=context,title=title)
@app.route('/user')
def user():
context = PARAMS['context']
if 'title' in PARAMS :
title = PARAMS['title']
else:
title = 'Upgrade'
return render_template('user.html',context=context,title=title)
""" """
This function is designed to trigger learning for anomaly detection This function is designed to trigger learning for anomaly detection
@TODO: forward this to a socket i.e non-blocking socket @TODO: forward this to a socket i.e non-blocking socket

@ -0,0 +1 @@
<H1>Upgrade</Hi>
Loading…
Cancel
Save