Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/public_settings.html

32 lignes
998 o
HTML
Brut Vue normale Historique

{{define "title"}}{{call $.T "change_language"}}{{end}}
2017-05-13 00:28:56 +02:00
{{define "content"}}
<div class="blockBody">
<hr>
<form role="form" method="POST">
<div class="form-group">
<h3>{{call $.T "language"}}</h3>
<select id="language" name="language" class="form-input">
{{ $currentLanguage := .Language }}
{{ range $tag, $translatedName := $.Languages }}
<option value="{{ $tag }}" {{ if eq $currentLanguage $tag }}selected{{end}}>{{ $translatedName }}</option>
{{ end }}
</select>
<h3>{{call $.T "theme"}}</h3>
<select id="theme-selector" name="theme" class="form-input" onchange="switchThemes()">
<option value="{{$.Theme}}" selected>{{call $.T "select"}}</option>
<option value="g">/g/</option>
<option value="tomorrow">Tomorrow</option>
<option value="">None</option>
</select>
</br>
</br>
<button type="submit" class="form-input btn">{{call $.T "save_changes"}}</button>
</div>
</form>
2017-05-13 00:28:56 +02:00
<div style="padding-bottom: 1em"></div>
</div>
{{end}}