summaryrefslogtreecommitdiffstats
path: root/webapp/templates/settings.html
blob: 8139287fcf24a0e41a00d3a53155c55cb39294fd (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
38
39
40
41
42
{%extends "base.html"%}
{%block title1%}Settings -{%endblock%}
{%block body%}
<h1>Settings for {{user.email}}</h1>

<form action="{%url codereview.settings.settings%}" method="POST">

{{form.xsrf}}
{%if form.xsrf.errors%}
<ul>
  {%for e in form.xsrf.errors%}
    <li>{{e}}</li>
  {%endfor%}
</ul>
{%endif%}

<table class="settings">
<thead>
<tr><th colspan="2">Display Options</th></tr>
</thead>
<tbody>
<tr><th>Diff context</th>
    <td>{{form.context}}{{form.context.errors}}</td></tr>
</td></tr>
</tbody>
</table>


<table class="settings">
<thead>
<tr><th colspan="2">Projects</th></tr>
</thead>
<tbody>
<tr><th>View unclaimed changes<br/>for projects</th>
    <td>{{form.unclaimed_changes_projects}}</td></tr>
</tbody>
</table>

<input type="submit" value="Update Settings">
</form>

{%endblock%}