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/layouts/partials/helpers/flags.jet.html
kilo e70795ba2f Background-color for refine button, better category borders for tomorrow, some other css stuff (#1292)
* Update g.css

* Update classic.css

* Update tomorrow.css

* Update g.css

* Update g.css

* Update tomorrow.css

* some <summary> improvements

* make it wider

* better border color for torrent preview tomorrow

* better border for classic

* fixing that god damn padding once for all

* bigger search icon

* Update tomorrow.css
2017-07-28 13:47:50 +10:00

8 lignes
627 o
HTML

{{ block flagList(languages=nil, selected="", inputname="languages", id="lang")}}
{{ if isset(languages) }}
{{ range _, language := languages }}<span class="input-group">
<span name="{{id}}-languagename">{{LanguageName(language, T)}}</span>
<input type="checkbox" name="{{inputname}}" class="form-language-checkbox" id="{{id}}-{{ language.Code }}" value="{{language.Code}}"{{ range _, v := selected}}{{ if contains(v, language.Code) }} checked{{end}}{{end}}><label for="{{id}}-{{ language.Code }}" class="flag flag-{{ language.Flag(false) }}" title="{{LanguageName(language, T)}}"></label>
</span>{{ end }}
{{ end }}
{{ end }}