Add views (static for now) for http and timer functions on dashboard
This commit is contained in:
10
app.py
10
app.py
@@ -53,7 +53,7 @@ def map_isolator_response_to_flask_response(response):
|
||||
|
||||
|
||||
@ app.route("/", methods=["GET"])
|
||||
def index():
|
||||
def home():
|
||||
return render_template("home.html", script=DEFAULT_SCRIPT)
|
||||
|
||||
@ app.route("/client", methods=["GET"])
|
||||
@@ -64,6 +64,14 @@ def client():
|
||||
def dashboard():
|
||||
return render_template("dashboard.html")
|
||||
|
||||
@ app.route("/dashboard/http_functions", methods=["GET"])
|
||||
def dashboard_http_functions():
|
||||
return render_template("dashboard/http_functions.html")
|
||||
|
||||
@ app.route("/dashboard/timer_functions", methods=["GET"])
|
||||
def dashboard_timer_functions():
|
||||
return render_template("dashboard/timer_functions.html")
|
||||
|
||||
|
||||
@app.route('/execute', methods=['POST'])
|
||||
def execute_code():
|
||||
|
||||
Reference in New Issue
Block a user