Commit 59a0771e authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Rename tempalte results result

parent 559a8d26
......@@ -39,7 +39,7 @@
<ul class="nav navbar-nav">
<li class="{% if(menu == 'index') %}active{% endif %}"><a href="/">About</a></li>
<li class="{% if(menu == 'run') %}active{% endif %}"><a href="/run">Run</a></li>
<li class="dropdown {% if(menu == 'results') %}active{% endif %}">
<li class="dropdown {% if(menu == 'result') %}active{% endif %}">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Results<span
class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
......
......@@ -154,7 +154,7 @@ def status(id_job):
# Results path
@app.route("/result/<id_res>", methods=['GET'])
def result(id_res):
my_render = render_template("results.html", title=app_title, id=id_res, menu="results", current_result=id_res)
my_render = render_template("result.html", title=app_title, id=id_res, menu="result", current_result=id_res)
response = app.make_response(my_render)
cookie = request.cookies.get("results")
cookie = cookie.split("|") if cookie is not None else []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment