mirror of
https://git.freesoftwareextremist.com/bloat
synced 2024-11-09 16:14:11 +00:00
1d61f1aa27
This uses better color contrast and component spacing to improve legibility. The updated HTML also has better compatibility with browsers with limited/no CSS support.
29 lines
1.1 KiB
Cheetah
29 lines
1.1 KiB
Cheetah
{{with .Data}}
|
|
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
|
<h1>Mute {{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}} @{{.User.Acct}}</h1>
|
|
|
|
<form action="/mute/{{.User.ID}}" method="POST">
|
|
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
|
|
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
|
|
<div class="form-field-s">
|
|
<input id="notifications" name="notifications" type="checkbox" value="true" checked>
|
|
<label for="notifications"> Mute notifications </label>
|
|
</div>
|
|
<div class="form-field-s">
|
|
<label for="duration"> Auto unmute </label>
|
|
<select id="duration" name="duration">
|
|
<option value="0" selected>Disabled</option>
|
|
<option value="300">After 5m</option>
|
|
<option value="1800">After 30m</option>
|
|
<option value="3600">After 1h</option>
|
|
<option value="21600">After 6h</option>
|
|
<option value="86400">After 1d</option>
|
|
<option value="259200">After 3d</option>
|
|
<option value="604800">After 7d</option>
|
|
</select>
|
|
</div>
|
|
<button type="submit"> Mute </button>
|
|
</form>
|
|
|
|
{{template "footer.tmpl"}}
|
|
{{end}}
|