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
2017-09-08 20:32:35 +02:00

48 lignes
1,8 Kio
HTML

{{ import "layouts/partials/helpers/search" }}
<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" alt="Nyaa Pantsu"/>
</a>
</div>
<div class="h-nav">
<a href="{{URL.Parse("/")}}" class="nav-btn" id="browse-link" style="display: none;">
<div class="icon-upload visible-md"></div>
<span class="hide-md">Browse</span>
</a>
<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="{{ 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>