Parent: [1d84c0] (diff)

Child: [35a781] (diff)

Download this file

admin_options.html    38 lines (35 with data), 1.5 kB

 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
32
33
34
35
36
37
38
{% extends g.theme.master %}
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / Admin Options{% endblock %}
{% block header %}{{app.config.options.mount_point}} Admin Options{% endblock %}
{% block content %}
<form method="POST" action="set_options">
<label class="grid-4" for="title">Show discussion:</label>
<div class="grid-14">
{% if allow_config %}
<input type="checkbox" name="show_discussion" id="show_discussion"{% if app.show_discussion %} checked="checked"{% endif %}/>
{% else %}
<span>{{app.show_discussion}}</span>
{% endif %}
</div>
<label class="grid-4" for="title">Show left bar:</label>
<div class="grid-14">
{% if allow_config %}
<input type="checkbox" name="show_left_bar" id="show_left_bar"{% if app.show_left_bar %} checked="checked"{% endif %}/>
{% else %}
<span>{{app.show_left_bar}}</span>
{% endif %}
</div>
<label class="grid-4" for="title">Show right bar:</label>
<div class="grid-14">
{% if allow_config %}
<input type="checkbox" name="show_right_bar" id="show_right_bar"{% if app.show_right_bar %} checked="checked"{% endif %}/>
{% else %}
<span>{{app.show_right_bar}}</span>
{% endif %}
</div>
<label class="grid-4">&nbsp;</label>
<div class="grid-14">
{% if allow_config %}<input type="submit" value="Save"/>{% endif %}
</div>
</form>
{% endblock %}