HBMonv2/templates/buttons.html
2021-01-19 20:43:43 +01:00

66 lines
1.9 KiB
HTML

<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 %}
<a href="/moni">&nbsp;Monitor&nbsp;</a>
<a href="/sinfo">&nbsp;System Info&nbsp;</a>
</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>
{% if dbridges == True %}
&nbsp;
<a href="/bridges"><button class="button link">&nbsp;Bridges&nbsp;</button></a>
{% endif %}
&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>