Commit 397824ce authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Add favicon

parent 6a04456c
...@@ -14,13 +14,14 @@ app = Flask(__name__, static_url_path='/static') ...@@ -14,13 +14,14 @@ app = Flask(__name__, static_url_path='/static')
app_data = "/home/fcabanettes/public_html/test" app_data = "/home/fcabanettes/public_html/test"
# Root path # Results path
@app.route("/result/<id_res>", methods=['GET']) @app.route("/result/<id_res>", methods=['GET'])
def result(id_res): def result(id_res):
title = app_title title = app_title
return render_template("index.html", title=title, id=id_res) return render_template("index.html", title=title, id=id_res)
# Get graph (ajax request)
@app.route('/get_graph', methods=['POST']) @app.route('/get_graph', methods=['POST'])
def get_graph(): def get_graph():
id_f = request.form["id"] id_f = request.form["id"]
......
...@@ -11,4 +11,5 @@ ...@@ -11,4 +11,5 @@
<script src="{{ url_for('static', filename='js/d3.boxplot.events.js') }}" type="text/JavaScript"></script> <script src="{{ url_for('static', filename='js/d3.boxplot.events.js') }}" type="text/JavaScript"></script>
<link rel="stylesheet" href="{{ url_for('static', filename='css/jquery-ui.min.css') }}" type="text/css"> <link rel="stylesheet" href="{{ url_for('static', filename='css/jquery-ui.min.css') }}" type="text/css">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css"> <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css">
<link rel="shortcut icon" href="{{ url_for('static', filename='images/favicon.ico') }}">
</head> </head>
\ No newline at end of file
Supports Markdown
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