diff --git a/var/www/Flask_server.py b/var/www/Flask_server.py index be634e77..8a2d4d37 100755 --- a/var/www/Flask_server.py +++ b/var/www/Flask_server.py @@ -677,6 +677,18 @@ def terms_plot_tool(): return render_template("terms_plot_tool.html") +@app.route("/terms_plot_tool_data/") +def terms_plot_tool_data(): + num_day = int(request.args.get('num_day')) + term = request.args.get('term') + + if term is None: + print 'cc' + + + return jsonify() + + @app.route("/terms_plot_top/") def terms_plot_top(): return render_template("terms_plot_top.html") diff --git a/var/www/templates/terms_plot_tool.html b/var/www/templates/terms_plot_tool.html index c3373658..d663eb60 100644 --- a/var/www/templates/terms_plot_tool.html +++ b/var/www/templates/terms_plot_tool.html @@ -76,8 +76,8 @@