HBMonv2/templates/buttons.html

66 lines
1.9 KiB
HTML
Raw Normal View History

2021-01-06 06:53:06 -05:00
<div style="width: 1100px;">
<!-- HBMonitor buttons HTML code -->
<a href="/"><button class="button link">&nbsp;Home&nbsp;</button></a>
&nbsp;
{% if auth == True %}
<div class="dropdown">
<button class="dropbtn">&nbsp;Admin Area&nbsp;</button>
<div class="dropdown-content">
<a href="/masters">&nbsp;Masters&nbsp;</a>
<a href="/peers">&nbsp;Peers&nbsp;</a>
<a href="/opb">&nbsp;OpenBridge&nbsp;</a>
{% if dbridges == True %}
<a href="/bridges">&nbsp;Bridges&nbsp;</a>
{% endif %}
2021-01-19 14:43:43 -05:00
<a href="/moni">&nbsp;Monitor&nbsp;</a>
<a href="/sinfo">&nbsp;System Info&nbsp;</a>
2021-01-06 06:53:06 -05:00
</div>
</div>
&nbsp;
{% else %}
<a href="/masters"><button class="button link">&nbsp;Masters&nbsp;</button></a>
&nbsp;
<a href="/peers"><button class="button link">&nbsp;Peers&nbsp;</button></a>
&nbsp;
<a href="/opb"><button class="button link">&nbsp;OpenBridge&nbsp;</button></a>
2021-01-19 14:43:43 -05:00
{% if dbridges == True %}
&nbsp;
<a href="/bridges"><button class="button link">&nbsp;Bridges&nbsp;</button></a>
{% endif %}
2021-01-06 06:53:06 -05:00
&nbsp;
<a href="/moni"><button class="button link">&nbsp;Monitor&nbsp;</button></a>
&nbsp;
<a href="/sinfo"><button class="button link">&nbsp;System Info&nbsp;</button></a>
&nbsp;
{% endif %}
<a href="/info"><button class="button link">&nbsp;Info&nbsp;</button></a>
&nbsp;
<!-- Own buttons HTML code -->
<!-- link to long lastheard
<a target='_blank' href="http://192.168.1.1/log.php"><button class="button link">&nbsp;Lastheard&nbsp;</button></a>
&nbsp;
-->
<!-- Example of buttons dropdown HTML code -->
<!--
<p></p>
<div class="dropdown">
<button class="dropbtn">Admin Area</button>
<div class="dropdown-content">
<a href="/masters">Master&Peer</a>
<a href="/opb">OpenBridge</a>
<a href="/moni">Monitor</a>
</div>
</div>
&nbsp;
<div class="dropdown">
<button class="dropbtn">Reflectors</button>
<div class="dropdown-content">
<a target='_blank' href="#">YSF Reflector</a>
<a target='_blank' href="#">XLX950</a>
</div>
</div>
-->
</div>
<p></p>