|
|
|
@ -7,7 +7,10 @@
|
|
|
|
|
'class':'<class-name>'
|
|
|
|
|
'config':<labeled-class-specific-configuration>'
|
|
|
|
|
"""
|
|
|
|
|
from flask import Flask,request
|
|
|
|
|
from flask import Flask, session, request, redirect, Response
|
|
|
|
|
from flask.templating import render_template
|
|
|
|
|
from flask_session import Session
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
import os
|
|
|
|
|
import json
|
|
|
|
@ -57,6 +60,9 @@ def procs(id):
|
|
|
|
|
return "[]"
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/dashboard')
|
|
|
|
|
def dashboard():
|
|
|
|
|
context = PARAMS['context']
|
|
|
|
|
return render_template('dashboard.html',context=context)
|
|
|
|
|
if __name__== '__main__':
|
|
|
|
|
app.run(host='0.0.0.0',debug=True,threaded=True)
|