mirror of
https://github.com/FreifunkFranken/fff-monitoring.git
synced 2024-06-15 20:04:03 +02:00
router.html: Add link to hood stats
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
06a4a9dcfc
commit
39988c6ffc
|
@ -143,14 +143,15 @@
|
||||||
{%- if router.hoodname %}
|
{%- if router.hoodname %}
|
||||||
<tr><th>Hood</th><td><span{%- if router.local %} class="hoodlocal"{%- elif router.v2 %} class="hoodv2"{%- endif %}><a href="{{ url_for('router_list', q='hood:^%s$' % router.hoodname) }}">{{ router.hoodname }}</a></span>
|
<tr><th>Hood</th><td><span{%- if router.local %} class="hoodlocal"{%- elif router.v2 %} class="hoodv2"{%- endif %}><a href="{{ url_for('router_list', q='hood:^%s$' % router.hoodname) }}">{{ router.hoodname }}</a></span>
|
||||||
{%- if router.community and router.community != 'franken' %}
|
{%- if router.community and router.community != 'franken' %}
|
||||||
({{ router.community }})
|
({{ router.community }},
|
||||||
{%- elif router.local %}
|
{%- elif router.local %}
|
||||||
(local hood)
|
(local hood,
|
||||||
{%- elif router.v2 %}
|
{%- elif router.v2 %}
|
||||||
(V2)
|
(V2,
|
||||||
{%- else %}
|
{%- else %}
|
||||||
(V1)
|
(V1,
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
<a href="{{ url_for('global_hoodstatistics', selecthood='%s' % router.hoodid) }}">Hood-Stats</a>)
|
||||||
{%- if router.reset %}
|
{%- if router.reset %}
|
||||||
<span style="color:#d90000">- Router has lost its position!</span>
|
<span style="color:#d90000">- Router has lost its position!</span>
|
||||||
{%- elif not router.lat and not router.lng %}
|
{%- elif not router.lat and not router.lng %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user