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

Add compact view

parent f351f35e
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,9 @@ AHRS_PLOTS = [['yaw_calib'], ['pitch_calib'], ['roll_calib']] ...@@ -17,6 +17,9 @@ AHRS_PLOTS = [['yaw_calib'], ['pitch_calib'], ['roll_calib']]
TRIGGER_PLOTS = [['trigger_rates'], ['trigger_rates_lin']] TRIGGER_PLOTS = [['trigger_rates'], ['trigger_rates_lin']]
K40_PLOTS = [['intradom'], ['angular_k40rate_distribution']] K40_PLOTS = [['intradom'], ['angular_k40rate_distribution']]
RTTC_PLOTS = [['rttc']] RTTC_PLOTS = [['rttc']]
COMPACT_PLOTS = [['dom_activity', 'dom_rates', 'pmt_rates', 'pmt_hrv'],
['trigger_rates', 'trigger_rates_lin'],
['ztplot', 'triggermap']]
if exists(CONFIG_PATH): if exists(CONFIG_PATH):
config = toml.load(CONFIG_PATH) config = toml.load(CONFIG_PATH)
...@@ -80,6 +83,12 @@ def ahrs(): ...@@ -80,6 +83,12 @@ def ahrs():
return render_template('plots.html', plots=AHRS_PLOTS) return render_template('plots.html', plots=AHRS_PLOTS)
@app.route('/compact.html')
@requires_auth
def compact():
return render_template('plots.html', plots=COMPACT_PLOTS)
@app.route('/rttc.html') @app.route('/rttc.html')
@requires_auth @requires_auth
def rttc(): def rttc():
......
...@@ -47,6 +47,9 @@ ...@@ -47,6 +47,9 @@
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li class="active"><a href="k40.html">K40</a></li> <li class="active"><a href="k40.html">K40</a></li>
</ul> </ul>
<ul class="nav navbar-nav">
<li class="active"><a href="compact.html">CMPCT</a></li>
</ul>
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li class="active"><a href="https://git.km3net.de/km3py/km3mon/issues">Issues</a></li> <li class="active"><a href="https://git.km3net.de/km3py/km3mon/issues">Issues</a></li>
</ul> </ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment