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/menu/site.jet.html
kilo acf0ae0fad Make refine button submit form if refine dropdown doesn't exist (#1149)
* Update site.jet.html

* Update main.js

* remove onload

* Update main.js
2017-07-10 15:36:24 +10:00

28 lignes
1,6 Kio
HTML

{{ import "layouts/partials/helpers/search" }}
{{ block rss_link()}}{{end}}
<div class="container">
<div class="h-left">
<div class="h-logo">
<a href="{{URL.Parse("/")}}"><img class="hide-md" src="/img/{{if Sukebei()}}sukebei_logo.png{{else}}logo.png{{end}}" alt="Nyaa Pantsu"><img class="visible-md" src="/img/logo_s.png"/></a>
</div>
<div class="h-nav">
<a href="{{URL.Parse("/upload")}}" class="nav-btn"><div class="icon-upload visible-md"></div><span class="hide-md">{{ T("upload") }}</span></a>
<a href="/feed{{ yield rss_link() }}" class="nav-btn"><div class="icon-rss-squared visible-md"></div><span class="hide-md">RSS</span></a>
<a href="{{URL.Parse("/faq")}}" class="nav-btn"><div class="icon-help-circled visible-md"></div><span class="hide-md">{{ T("faq") }}</span></a>
{{if Sukebei()}}
<a href="{{Config.WebAddress.Nyaa}}" class="nav-btn"><div class="icon-heart visible-md"></div><span class="hide-md">{{ T("fun") }}</span></a>
{{else}}
<a href="{{Config.WebAddress.Sukebei}}" class="nav-btn"><div class="icon-heart visible-md"></div><span class="hide-md">{{ T("fap") }}</span></a>
{{end}}
</div>
</div>
<div class="h-right">
{{ include "layouts/partials/helpers/badgemenu" }}
<div class="h-search">
<form role="search" action="{{URL.Parse("/search")}}" id="header-form" method="get">
{{ yield search_common() }}
{{ yield search_button() }}
</form>
</div>
</div>
</div>