mirror of https://github.com/Aidaho12/haproxy-wi
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.
47 lines
1.4 KiB
47 lines
1.4 KiB
{% extends "base.html" %}
|
|
{% block content %}
|
|
<script src="/inc/users.js"></script>
|
|
<div id="ajax"></div>
|
|
<table id="settings">
|
|
<tr class="overviewHead">
|
|
<td class="padding10 first-collumn" style="width: 10%;">
|
|
Parameter
|
|
</td>
|
|
<td>
|
|
Value
|
|
</td>
|
|
<td>
|
|
Description
|
|
</td>
|
|
</tr>
|
|
{% set section = namespace(section='') %}
|
|
{% for set in settings %}
|
|
{% if section.section|string() != set.2|string() %}
|
|
<th><h3 style="margin-left: 20px; margin-bottom: 10px;">{{ set.2 }} section</h3></th>
|
|
{% endif %}
|
|
{% set section.section = set.2 %}
|
|
<tr class="{{ loop.cycle('odd', 'even') }}">
|
|
<td class="addName">{{set.0}}</td>
|
|
<td class="addOption">
|
|
{% if set.0 == 'ldap_password' %}
|
|
{% if set.1 == 'None' %}
|
|
<input type="password" name="{{set.0}}" id="{{set.0}}" value="" title="" size="25" class="form-control">
|
|
{% else %}
|
|
<input type="password" name="{{set.0}}" id="{{set.0}}" value="{{set.1}}" title="" size="25" class="form-control">
|
|
{% endif %}
|
|
{% else %}
|
|
{% if set.1 == 'None' %}
|
|
<input type="text" name="{{set.0}}" id="{{set.0}}" value="" title="" size="25" class="form-control">
|
|
{% else %}
|
|
<input type="text" name="{{set.0}}" id="{{set.0}}" value="{{set.1}}" title="" size="25" class="form-control">
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
<td class="addOption">
|
|
{{set.3}}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
</table>
|
|
{% endblock %} |