| 1234567891011121314151617181920212223242526272829303132333435363738 |
- {% extends 'base.html' %}
- {% block content %}
- {% if conf_error %}
- <table bgcolor='#d98797'>
- <tr>
- <td>
- {{ conf_error }}
- </td>
- </tr>
- </table>
- {% endif %}
- <br>
- <center>
- <form class="pure-form pure-form-aligned">
- <fieldset>
- {% for section in sections %}
- <h1>Configuration Section <i>{{ section }}</i></h1>
-
-
- {% for confval in config[section] %}
- <div class="pure-control-group">
- <label for="[{{ section }}][{{ confval }}]">{{ confval }}</label>
- <input id="[{{ section }}][{{ confval }}]" value="{{ config[section][confval] }}" placeholder="{{ confval }}">
- </div>
-
- {% endfor %}
-
- {% endfor %}
- </fieldset>
- </form>
- <button formmethod='post' name='configsend' value='nosave' class="pure-button"><img src='{{ url_for('static', filename='img/nosave.png') }}' width='30px' height='30px'></button>
- <button formmethod='post' name='configsend' value='save' class="pure-button"><img src='{{ url_for('static', filename='img/save.png') }}' width='30px' height='30px'></button>
- </center>
- {% endblock %}
|