Skip to content
Snippets Groups Projects
Commit c3a009f8 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add supernova category

parent 2cf3bfc1
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ RECO_PLOTS = [['track_reco', 'ztplot_roy']]
COMPACT_PLOTS = [['dom_activity', 'dom_rates', 'pmt_rates', 'pmt_hrv'],
['trigger_rates', 'trigger_rates_lin'],
['ztplot', 'ztplot_roy', 'triggermap']]
SN_PLOTS = [['sn_bg_distribution']]
if exists(CONFIG_PATH):
config = toml.load(CONFIG_PATH)
......@@ -89,6 +90,10 @@ def ahrs():
def reco():
return render_template('plots.html', plots=RECO_PLOTS)
@app.route('/sn.html')
@requires_auth
def reco():
return render_template('sn.html', plots=SN_PLOTS)
@app.route('/compact.html')
@requires_auth
......
......@@ -50,6 +50,9 @@
<ul class="nav navbar-nav">
<li class="active"><a href="reco.html">Reco</a></li>
</ul>
<ul class="nav navbar-nav">
<li class="active"><a href="sn.html">SN</a></li>
</ul>
<ul class="nav navbar-nav">
<li class="active"><a href="compact.html">CMPCT</a></li>
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment