~jadedctrl/jam-xwx-moe

~jadedctrl/jam-xwx-moe/bloat-fe/instance/ŝablonoj/mute.tmpl
 ..
0 {{with .Data}}
1 {{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
2 <div class="page-title"> Silentigi {{.User.Acct}} </div>
3
4 <form action="/mute/{{.User.ID}}" method="POST">
5 <input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
6 <input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
7 <div class="settings-form-field">
8 <input id="notifications" name="notifications" type="checkbox" value="true" checked>
9 <label for="notifications"> Malatenti sciigojn </label>
10 </div>
11 <div class="settings-form-field">
12 <label for="duration"> Reatentu </label>
13 <select id="duration" name="duration">
14 <option value="0" selected>Disabled</option>
15 <option value="300">Post 5m</option>
16 <option value="1800">Post 30m</option>
17 <option value="3600">Post 1h</option>
18 <option value="21600">Post 6h</option>
19 <option value="86400">Post 1d</option>
20 <option value="259200">Post 3d</option>
21 <option value="604800">Post 7d</option>
22 </select>
23 </div>
24 <button type="submit"> Silentigi </button>
25 </form>
26
27 {{template "footer.tmpl"}}
28 {{end}}