blob: 6705267133458bec08156d1568a5c9f87b308342 (
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
32
33
34
35
36
37
|
{% extends "layout.html" %}
{% set title = 'Settings' %}
{% set current_page_name = 'settings' %}
{% block body %}
<h1>Python Documentation Settings</h1>
<p>
Here you can customize how you want to view the Python documentation.
These settings are saved using a cookie on your computer.
</p>
<form action="{{ pathto('settings.rst') }}" method="post">
<p class="subhead">Select your stylesheet:</p>
<p>
{%- for design, (foo, descr) in known_designs %}
<input type="radio" name="design" value="{{ design }}" id="stylesheet-{{ design }}"
{% if curdesign == design %}checked="checked"{% endif %}>
<label for="stylesheet-{{ design }}">{{ design }} — {{ descr }}</label><br>
{%- endfor %}
</p>
<p class="subhead">Select how you want to view comments:</p>
<p>
{%- for meth, descr in comments_methods %}
<input type="radio" name="comments" value="{{ meth }}" id="comments-{{ meth }}"
{% if curcomments == meth %}checked="checked"{% endif %}>
<label for="comments-{{ meth }}">{{ descr }}</label><br>
{%- endfor %}
</p>
<input type="hidden" name="referer" value="{{ referer|e}}">
<p>
<input type="submit" name="goback" value="Save and back to last page">
<input type="submit" value="Save">
<input type="submit" name="cancel" value="Cancel and back to last page">
</p>
</form>
{% endblock %}
|