diff --git a/app/routes.py b/app/routes.py index 925e0da6a214cce23c80f44ef1a7a9f7e3cd6220..6f4818ce8583feb1d27adafe1ef0695e3a3ab611 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