f0ckv2/views/snippets/navbar.html

40 lines
1.7 KiB
HTML
Raw Normal View History

2020-04-06 11:16:27 +00:00
<nav class="navbar navbar-expand-lg">
2021-04-17 08:43:23 +00:00
<a class="navbar-brand" href="/"><span class="f0ck" width="" height="">F0CK</span></a>
<div class="navigation-links">
2021-04-22 02:12:40 +00:00
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/about"><span class="nav-link-identifier">About</span></a>
</li>
<li class="nav-item dropdown" id="themes">
<a class="nav-link" href="#" content="{{=theme}}" data-toggle="dropdown">Theme</a>
<ul class="dropdown-menu">
{{each themes as t}}
<li><a href="/theme/{{=t}}">{{=t}}</a></li>
{{/each}}
</ul>
</li>
<span class="placeholder">&nbsp;</span>
<li class="nav-item dropdown">
<a class="nav-link" href="#"{{if typeof filter !== "undefined"}} content="{{=filter}}" data-toggle="dropdown"{{/if}}">Filter{{if typeof filter === "undefined"}}&nbsp;&#9660;{{/if}}</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/">All</a></li>
<li><a class="dropdown-item" href="/audio">Audio</a></li>
<li><a class="dropdown-item" href="/video">Video</a></li>
<li><a class="dropdown-item" href="/image">Image</a></li>
</ul>
</li>
<li class="nav-item">
<a id="random" class="nav-link" href="/random{{if typeof filter !== "undefined"}}/{{=filter}}{{/if}}">
<span class="nav-link-identifier">Random</span>
</a>
</li>
</ul>
</div>
<div class="collapse navbar-collapse show" id="navbarSupportedContent">
<div class="pagination-container-fluid">
<div class="pagination-wrapper">
{{include partials/pagination}}
2021-04-17 08:43:23 +00:00
</div>
2021-04-22 02:12:40 +00:00
</div>
2020-04-06 11:16:27 +00:00
</div>
2021-04-17 08:43:23 +00:00
</nav>