Child: [1be2f9] (diff)

Download this file

admin_options.html    34 lines (33 with data), 1.3 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
<!DOCTYPE html>
<form action="{{c.project.url()}}admin/{{app.config.options.mount_point}}/set_options" method="post">
<label class="grid-4">Show discussion:</label>
<div class="grid-9">
{% 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">Show left bar:</label>
<div class="grid-9">
{% 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">Show right bar:</label>
<div class="grid-9">
{% 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>
<div class="grid-13">&nbsp;</div>
<hr>
<div class="grid-13">&nbsp;</div>
<div class="grid-13">
{% if allow_config %}<input type="submit" value="Save"/>{% endif %}
</div>
</form>