Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

First few fixes of header & refine changes (#1146)

* make refine stick to search bar

* Update search.jet.html
Cette révision appartient à :
kilo 2017-07-10 06:57:59 +02:00 révisé par ewhal
Parent d01649b31f
révision c580cfaffe
2 fichiers modifiés avec 3 ajouts et 3 suppressions

Voir le fichier

@ -96,7 +96,7 @@ float: right; }
.header .h-search { margin-right: 10px; }
.header .h-search .form-input { font-size: 80%; }
.header .h-search .form-input { font-size: 80%; margin-left: -2px; }
.header .h-search select.form-input { max-width: 110px !important; }

Voir le fichier

@ -17,13 +17,13 @@
<form style="display: grid;" method="GET" action="">
<input type="hidden" name="c" value="{{Search.Category}}"/>
<input type="hidden" name="userID" value="{{Search.UserID}}"/>
<input type="hidden" name="q" value="{{Search.NameLike}}"/
<input type="hidden" name="q" value="{{Search.NameLike}}"/>
<span class="form-refine">Show <select name="s" class="form-input" style="margin-right: 8px;">
- <option value="0">{{ T("show_all")}}</option>
- <option value="2" {{if Search.Status == 2}}selected{{end}}>{{ T("filter_remakes")}}</option>
- <option value="3" {{if Search.Status == 3}}selected{{end}}>{{ T("trusted")}}</option>
- <option value="4" {{if Search.Status == 4}}selected{{end}}>A+</option>
- </select>Limit: <input type="number" name="max" value="{{ Navigation.MaxItemPerPage }}" class="form-input" min="1" max="300"></span>
- </select>Limit: <input type="number" name="limit" value="{{ Navigation.MaxItemPerPage }}" class="form-input" min="1" max="300"></span>
<span class="form-refine">{{ T("between")}} <input class="form-input" size="7" name="minSize" type="text" value="{{Search.MinSize}}"> {{ T("and")}} <input size="7" class="form-input" name="maxSize" type="text" value="{{Search.MaxSize}}">
<select name="sizeType" class="form-input">
<option value="b"{{if Search.SizeType == "b"}} selected{{end}}>B</option>