Fix navbar bugs
Cette révision appartient à :
Parent
55e6c3302b
révision
2e389ce810
1 fichiers modifiés avec 7 ajouts et 6 suppressions
|
@ -49,13 +49,13 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<li><a href="{{.URL.Parse "/upload"}}"><div class="hidden-md hidden-sm">{{call $.T "upload"}}</div><span class="glyphicon glyphicon-cloud-upload visible-md"></span></a></li>
|
<li><a href="{{.URL.Parse "/upload"}}"><span class="glyphicon glyphicon-cloud-upload hidden-md hidden-lg"></span> {{call $.T "upload"}}</a></li>
|
||||||
<li><a href="{{.URL.Parse "/faq"}}"><div class="hidden-md hidden-sm">{{call $.T "faq"}}</div><span class="glyphicon glyphicon-question-sign visible-md"></span></a></li>
|
<li><a href="{{.URL.Parse "/faq"}}"><span class="glyphicon glyphicon-question-sign hidden-md hidden-lg"></span> {{call $.T "faq"}}</a></li>
|
||||||
<li><a href="{{ genRouteWithQuery "feed" .URL }}"><div class="hidden-md hidden-sm">RSS</div><span class="glyphicon glyphicon-flash visible-md"></span></a></li>
|
<li><a href="{{ genRouteWithQuery "feed" .URL }}"><span class="glyphicon glyphicon-flash hidden-md hidden-lg"></span> RSS</a></li>
|
||||||
{{ if Sukebei }}
|
{{ if Sukebei }}
|
||||||
<li><a href="https://nyaa.pantsu.cat"><div class="hidden-md hidden-sm">{{call $.T "fun"}}</div><span class="glyphicon glyphicon-eye-open visible-md"></span></a></li>
|
<li><a href="https://nyaa.pantsu.cat"><span class="glyphicon glyphicon-eye-open hidden-md hidden-lg"></span> {{call $.T "fun"}}</a></li>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<li><a href="https://sukebei.pantsu.cat"><div class="hidden-md hidden-sm">{{call $.T "fap"}}</div><span class="glyphicon glyphicon-eye-close visible-md"></span></a></li>
|
<li><a href="https://sukebei.pantsu.cat"><span class="glyphicon glyphicon-eye-close hidden-md hidden-lg"></span> {{call $.T "fap"}}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{block "badge_user" .}}{{end}}
|
{{block "badge_user" .}}{{end}}
|
||||||
|
@ -67,7 +67,8 @@
|
||||||
{{block "search_button" .}}{{end}}
|
{{block "search_button" .}}{{end}}
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<!-- bottom padding -->
|
||||||
|
<div style="padding-top: 2rem"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Référencer dans un nouveau ticket