95173a0f33
* Should fix old uploader name in torrent view * Fix "save changes" in modtools * Modtool more colorful * Fix search bar placement in modpanel * Make colors more consistent; less would be super helpful tbqach fam * Display the old username if it's there * Fix some admin index html * Add custom icons and remove png code from all CSS * Move a good amount of cosmetic code from main to classic * Fix some weird bug with point-events; add some global icon formatting; fix mascot fucking up * Spruce up admin panel with icons on smaller viewports, along with adding trash icon * 404 redesign ;^) * Mufuyu mascot on all themes; says something slightly lewd * Fix weird user menu bug where shit would overflow
39 lignes
2,5 Kio
HTML
39 lignes
2,5 Kio
HTML
{{define "search_common"}}
|
|
<select name="c" class="form-input hide-xs">
|
|
<option value="_">{{call $.T "all_categories"}}</option>
|
|
{{ range $name_cat, $id_cat := (GetCategories true) }}
|
|
<option value="{{ $id_cat }}" {{if eq $.Search.Category $id_cat }}selected{{end}}>{{call $.T $name_cat }}</option>
|
|
{{ end }}
|
|
</select>
|
|
<label><span class="select-icon caret-down-icon"></span></label>
|
|
<select name="s" class="form-input hide-xs">
|
|
<option value="0">{{call $.T "show_all"}}</option>
|
|
<option value="1" {{if eq .Search.Status 1}}selected{{end}}>{{call $.T "filter_remakes"}}</option>
|
|
<option value="2" {{if eq .Search.Status 2}}selected{{end}}>{{call $.T "trusted"}}</option>
|
|
<option value="3" {{if eq .Search.Status 3}}selected{{end}}>A+</option>
|
|
</select>
|
|
{{ if .Search.ShowItemsPerPage }}
|
|
<select name="max" class="form-input hide-xs">
|
|
<option value="5" {{if eq .Navigation.MaxItemPerPage 5}}selected{{end}}>5</option>
|
|
<option value="10" {{if eq .Navigation.MaxItemPerPage 10}}selected{{end}}>10</option>
|
|
<option value="15" {{if eq .Navigation.MaxItemPerPage 15}}selected{{end}}>15</option>
|
|
<option value="20" {{if eq .Navigation.MaxItemPerPage 20}}selected{{end}}>20</option>
|
|
<option value="25" {{if eq .Navigation.MaxItemPerPage 25}}selected{{end}}>25</option>
|
|
<option value="30" {{if eq .Navigation.MaxItemPerPage 30}}selected{{end}}>30</option>
|
|
<option value="35" {{if eq .Navigation.MaxItemPerPage 35}}selected{{end}}>35</option>
|
|
<option value="40" {{if eq .Navigation.MaxItemPerPage 40}}selected{{end}}>40</option>
|
|
<option value="45" {{if eq .Navigation.MaxItemPerPage 45}}selected{{end}}>45</option>
|
|
<option value="50" {{if eq .Navigation.MaxItemPerPage 50}}selected{{end}}>50</option>
|
|
<option value="70" {{if eq .Navigation.MaxItemPerPage 70}}selected{{end}}>70</option>
|
|
<option value="100" {{if eq .Navigation.MaxItemPerPage 100}}selected{{end}}>100</option>
|
|
<option value="150" {{if eq .Navigation.MaxItemPerPage 150}}selected{{end}}>150</option>
|
|
<option value="200" {{if eq .Navigation.MaxItemPerPage 200}}selected{{end}}>200</option>
|
|
<option value="300" {{if eq .Navigation.MaxItemPerPage 300}}selected{{end}}>300</option>
|
|
</select>
|
|
{{ end }}
|
|
<input type="hidden" name="userID" value="{{ .Search.UserID }}">
|
|
{{end}}
|
|
{{define "search_button"}}
|
|
<input class="form-input search-box" name="q" placeholder="{{call $.T "search"}}" type="text" value="{{.Search.Query}}">
|
|
<button type="submit" class="form-input icon-search"></button>
|
|
{{end}}
|