From 02124ef1711a57bd3f7b8587649950d370fc69bd Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Thu, 28 Feb 2019 18:58:21 +0400 Subject: [PATCH] Add reco page --- app/routes.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/routes.py b/app/routes.py index 925e0da..6f4818c 100644 --- a/app/routes.py +++ b/app/routes.py @@ -17,6 +17,7 @@ AHRS_PLOTS = [['yaw_calib'], ['pitch_calib'], ['roll_calib']] TRIGGER_PLOTS = [['trigger_rates'], ['trigger_rates_lin']] K40_PLOTS = [['intradom'], ['angular_k40rate_distribution']] RTTC_PLOTS = [['rttc']] +RECO_PLOTS = [['track_reco']] if exists(CONFIG_PATH): config = toml.load(CONFIG_PATH) @@ -79,6 +80,11 @@ def index(): def ahrs(): return render_template('plots.html', plots=AHRS_PLOTS) +@app.route('/reco.html') +@requires_auth +def reco(): + return render_template('plots.html', plots=RECO_PLOTS) + @app.route('/rttc.html') @requires_auth -- GitLab