diff options
Diffstat (limited to 'templates/admin/plugin_config.html')
-rw-r--r-- | templates/admin/plugin_config.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/admin/plugin_config.html b/templates/admin/plugin_config.html new file mode 100644 index 0000000..7c143af --- /dev/null +++ b/templates/admin/plugin_config.html @@ -0,0 +1,26 @@ +{% 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 %} + <div class="form-group"> + <label for="{{ o }}">{{ o }}:</label> + <input type="text" class="form-control" name="{{ o }}" value="{{ options[o][2] }}"> + </div> + <span class="help-block">{{ options[o][0] }}</span> + {% endfor %} + + <button id="submit" class="btn btn-primary" name="submit" type="submit" value="Submit"> + Save + </button> + <a href="{{ basepath }}/admin/login" class="btn btn-default" title="Back">Back</a> + </form> + </div> +{% endblock %} |