blob: e722aa1f945cad0a9c62a0b914989323418b2d1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{% extends "master-admin.html" %}
{% block main %}
<h2>{{ title }}</h2>
{% if message %}
<div class="alert alert-{{message_type}}">
<p>{{ message }}</p>
</div>
{% endif %}
<div id="options">
<form role="form" id="{{ name }}" action="{{ action }}" method="post" enctype="application/x-www-form-urlencoded">
{% for o in options_order %}
<div class="form-group">
<label for="{{ o }}">{{ o }}:</label>
{% set val = plugin.get_config_value(o) %}
{% if val is string %}
<input type="text" class="form-control" name="{{ o }}" value="{{ val }}">
{% else %}
<input type="text" class="form-control" name="{{ o }}" value="{{ val|join(', ') }}">
{% endif %}
</div>
<span class="help-block">{{ plugin.get_config_desc(o) }}</span>
{% endfor %}
<button id="submit" class="btn btn-primary" name="submit" type="submit" value="Submit">
Save
</button>
<a href="{{ back }}" class="btn btn-default" title="Back">Back</a>
</form>
</div>
{% endblock %}
|