Frontend small (#1040)
* Header isn't as WIDE on resolutions past 1920 * Turn down the fucking volume because it scares the shit out of me everytime * Make clear the mascot is clickable * Make torrent buttons not fuckhuge * Just show N/A on no website * search.html: Fix minor typo in refine box
Cette révision appartient à :
Parent
86d1f2fc9c
révision
121101fe1c
4 fichiers modifiés avec 14 ajouts et 5 suppressions
|
@ -26,6 +26,7 @@ body {
|
|||
height: 60vh;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#mascot.custom-mascot {
|
||||
|
@ -359,6 +360,14 @@ html, body {
|
|||
.header .h-search input { width: 90px !important; }
|
||||
.header .h-search input:focus { width: 150px !important; }
|
||||
}
|
||||
@media (min-width: 1920px) {
|
||||
.h-left {
|
||||
left: 15%;
|
||||
}
|
||||
.h-right {
|
||||
right: 15%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 810px) {
|
||||
|
||||
|
@ -490,7 +499,6 @@ html, body {
|
|||
.torrent-buttons {
|
||||
margin-top: 20px;
|
||||
margin-right: 10px;
|
||||
font-size: large;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,14 +73,15 @@ document.addEventListener("DOMContentLoaded", function(event) {
|
|||
|
||||
function playVoice() {
|
||||
if (explosion) {
|
||||
explosion.volume = 0.2;
|
||||
explosion.play();
|
||||
}
|
||||
else if (kawaii) {
|
||||
kawaii.volume = 0.7;
|
||||
kawaii.volume = 0.2;
|
||||
kawaii.play();
|
||||
}
|
||||
else {
|
||||
nyanpassu.volume = 0.5;
|
||||
nyanpassu.volume = 0.2;
|
||||
nyanpassu.play();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<option value="m"{{if eq .Search.SizeType "m"}} selected{{end}}>MiB</option>
|
||||
<option value="g"{{if eq .Search.SizeType "g"}} selected{{end}}>GiB</option>
|
||||
</select>
|
||||
{{ call $.T "large"}}.
|
||||
{{ call $.T "large"}}
|
||||
</span>
|
||||
<span class="form-refine">{{ call $.T "between"}} <input class="form-input" size="7" name="fromDate" type="text" value="{{.Search.FromDate}}"> {{ call $.T "and"}} <input class="form-input" size="7" name="toDate" type="text" value="{{.Search.ToDate}}">
|
||||
<select name="dateType" class="form-input">
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<td class="torrent-info-td torrent-info-label">{{call $.T "seeders"}}:</td><td class="tr-se torrent-info-td">{{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Seeders}}{{end}}</td>
|
||||
</tr>
|
||||
<tr class="torrent-info-row">
|
||||
<td class="torrent-info-td torrent-info-label">{{ call $.T "website_link" }}:</td><td class="torrent-view-td torrent-info-data">{{if ne .WebsiteLink ""}}<a href="{{.WebsiteLink}}">{{.WebsiteLink}}</a>{{else}}<a href="{{$.Config.WebAddress.Nyaa}}">{{GetHostname $.Config.WebAddress.Nyaa}}{{end}}</td>
|
||||
<td class="torrent-info-td torrent-info-label">{{ call $.T "website_link" }}:</td><td class="torrent-view-td torrent-info-data">{{if ne .WebsiteLink ""}}<a href="{{.WebsiteLink}}">{{.WebsiteLink}}</a>{{else}}N/A{{end}}</td>
|
||||
<td class="torrent-info-td torrent-info-label">{{call $.T "leechers"}}:</td><td class="tr-le torrent-info-td">{{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Leechers}}{{end}}</td>
|
||||
</tr>
|
||||
<tr class="torrent-info-row">
|
||||
|
|
Référencer dans un nouveau ticket