Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

<kilo> u want me to re-make the PR but on the refactor branch, right? (#1087)

* margin-top removal

* flag-other background: none

* torrent language on other - upload.htl

* torrent language edit.html

* torrent language admin edit
Cette révision appartient à :
kilo 2017-06-29 14:16:21 +02:00 révisé par ewhal
Parent 5991a21818
révision fae254c404
5 fichiers modifiés avec 7 ajouts et 10 suppressions

Voir le fichier

@ -1,5 +1,5 @@
.flag-other {
background: url('flag_other.png') no-repeat;
background: none;
}
.flag-multiple {

Voir le fichier

@ -326,7 +326,7 @@ th { border-bottom-width: 2px; }
.pagination a:nth-last-child(2) li { border-radius: 0 3px 3px 0; border-right-width: 1px !important}
#footer { width: 100%; bottom: 0; left: 0; margin-top: 40px; }
#footer { width: 100%; bottom: 0; left: 0; }
.footer {
text-align: center;

Voir le fichier

@ -20,8 +20,7 @@
<div class="form-group">
<label for="language">{{ T("torrent_language") }}</label>
<select name="language" id="language" class="form-input up-input" required>
<option value="">{{ T("select_a_torrent_language")}}</option>
<option value="other" {{if Form.Language == "other"}}selected{{end}}>{{ T("language_other_name")}}</option>
<option value="other" {{if Form.Language == "other"}}selected{{end}}>{{ T("select_a_torrent_language")}}</option>
<option value="multiple" {{if Form.Language == "multiple"}}selected{{end}}>{{ T("language_multiple_name")}}</option>
{{ range _, language := GetTorrentLanguages() }}
<option value="{{ language }}" {{if Form.Language == language}}selected{{end}}>
@ -56,4 +55,4 @@
<button type="submit" class="form-input up-input btn-green">{{ T("save_changes")}}</button>
</form>
</div>
{{end}}
{{end}}

Voir le fichier

@ -25,8 +25,7 @@
<div class="form-group">
<label class="input-label" for="language">{{ T("torrent_language") }}</label>
<select name="language" id="language" class="form-input up-input">
<option value="">{{ T("select_a_torrent_language")}}</option>
<option value="other" {{if Form.Language == "other"}}selected{{end}}>{{ T("language_other_name")}}</option>
<option value="other" {{if Form.Language == "other"}}selected{{end}}>{{ T("select_a_torrent_language")}}</option>
<option value="multiple" {{if Form.Language == "multiple"}}selected{{end}}>{{ T("language_multiple_name")}}</option>
{{ range _, language := GetTorrentLanguages() }}
<option value="{{ language }}" {{if Form.Language == language}}selected{{end}}>
@ -72,4 +71,4 @@
<script>
$(".torrent-desc").markdown({resize: "both"})
</script>
{{end}}
{{end}}

Voir le fichier

@ -31,8 +31,7 @@
<h3>{{ T("torrent_language") }}</h3>
<select name="language" id="language" class="form-input up-input">
<option value="">{{ T("select_a_torrent_language")}}</option>
<option value="other" {{if Form.Language == "other"}}selected{{end}}>{{ T("language_other_name")}}</option>
<option value="other" {{if Form.Language == "other"}}selected{{end}}>{{ T("select_a_torrent_language")}}</option>
<option value="multiple" {{if Form.Language == "multiple"}}selected{{end}}>{{ T("language_multiple_name")}}</option>
{{ range _, language := GetTorrentLanguages() }}
<option value="{{ language }}" {{if Form.Language == language}}selected{{end}}>