Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/templates/default/navbar.mustache

57 lines
1.9 KiB
Plaintext
Raw Normal View History

2015-08-05 16:45:16 +05:00
{{!
navbar.mustache -- element on the top of each nod-mod page
TODO: make this not suck, have a board list, have board page list
template parameters:
- name ( the name of whatever resource we are on, board/thread )
- frontend ( the name of the frontend we are on )
- links ( a list of Link Models to display )
2015-08-08 19:51:01 +05:00
- prefix ( site prefix )
2015-08-06 20:13:41 +05:00
}}
<div class="navbar">
<span class="navbar-name">
<span class="board_title">{{name}}</span>
2016-02-28 17:40:16 +05:00
{{#i18n.Translations}}{{navbar_on}}{{/i18n.Translations}}
2015-08-06 20:13:41 +05:00
<span class="frontend_title">{{frontend}}</span>
</span>
<span class="navbar-sep">
|
</span>
<span class="navbar-links">
<span class="navbar-links-title">
Pages:
</span>
2016-12-26 20:11:29 +05:00
<span class="navbar-link"><a href="{{prefix}}static/search.html">Search</a></span>
2015-08-06 20:13:41 +05:00
{{# links }}
2016-12-26 20:11:29 +05:00
<span class="navbar-link"><a href="{{LinkURL}}">{{Text}}</a></span>
2015-08-06 20:13:41 +05:00
{{/ links }}
</span>
<span class="navbar-sep">
|
</span>
<span class="navbar-links">
2016-02-28 17:40:16 +05:00
<span class="navbar-link"><a href="{{prefix}}">{{#i18n.Translations}}{{front_page_title}}{{/i18n.Translations}}</a></span>
2015-08-08 19:51:01 +05:00
</span>
<span class="navbar-sep">
|
</span>
<span class="navbar-links">
2017-01-10 23:50:13 +05:00
<span class="navbar-link"><a href="{{prefix}}overboard/">{{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}}</a></span>
</span>
<span class="navbar-sep">
|
</span>
<span class="navbar-links">
2016-03-08 18:25:31 +05:00
<span class="navbar-link"><label onclick="enable_theme('{{prefix}}','bloodgod')">bloodgod</a></span>
<span class="navbar-link"><label onclick="enable_theme('{{prefix}}','dayman')">dayman</a></span>
2016-04-16 05:17:32 +05:00
<span class="navbar-link"><label onclick="enable_theme('{{prefix}}','tomorrow')">tomorrow</a></span>
2016-03-09 03:02:23 +05:00
<span class="navbar-link"><label onclick="enable_theme('{{prefix}}','site')">yotsuba</a></span>
</span>
<span class="navbar-sep">
|
</span>
2015-08-06 20:13:41 +05:00
</div>
2016-02-28 17:40:16 +05:00
<hr />