You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
haproxy-wi/app/templates/viewstats.html

20 lines
739 B

{% extends "base.html" %}
{% block content %}
<br />
<form style="padding-left: 20px;" action="viewsttats.py" method="get">
<select autofocus required name="serv" id="serv">
<option disabled>Choose server</option>
{% for select in selects %}
{% if select.2 == serv %}
<option value="{{ select.2 }}" selected>{{ select.1 }}</option>
{% else %}
<option value="{{ select.2 }}">{{ select.1 }}</option>
{% endif %}
{% endfor %}
</select>
<a class="ui-button ui-widget ui-corner-all" id="show" title="Show stats" onclick="{{ onclick }}">Show</a>
</form>
<div id="ajax" style="margin-left: 10px;"></div>
<script> window.onload = showStats()</script>
<link href="/inc/style.css" rel="stylesheet">
{% endblock %}