2017-04-19 04:42:46 +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
|
2017-04-19 05:10:36 +05:00
|
|
|
|
2017-04-19 04:42:46 +05:00
|
|
|
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 )
|
|
|
|
- prefix ( site prefix )
|
2017-04-19 05:12:14 +05:00
|
|
|
}}
|
|
|
|
<center>
|
2017-04-19 04:42:46 +05:00
|
|
|
<div class="navbar">
|
|
|
|
<span class="navbar-name">
|
|
|
|
<span class="board_title">{{name}}</span>
|
|
|
|
{{#i18n.Translations}}{{navbar_on}}{{/i18n.Translations}}
|
|
|
|
<span class="frontend_title">{{frontend}}</span>
|
|
|
|
</span>
|
|
|
|
<span class="navbar-sep">
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
<span class="navbar-links">
|
2017-04-19 05:10:36 +05:00
|
|
|
|
2017-04-19 04:42:46 +05:00
|
|
|
<span class="navbar-links-title">
|
|
|
|
Pages:
|
|
|
|
</span>
|
2018-03-10 01:35:05 +05:00
|
|
|
<span class="navbar-link"><a href="{{prefix}}new/">New Board</a></span>
|
2017-04-19 05:10:36 +05:00
|
|
|
<span class="navbar-link"><a href="{{prefix}}static/search.html">Search</a></span>
|
2017-04-19 04:42:46 +05:00
|
|
|
{{# links }}
|
|
|
|
<span class="navbar-link"><a href="{{LinkURL}}">{{Text}}</a></span>
|
|
|
|
{{/ links }}
|
|
|
|
</span>
|
|
|
|
<span class="navbar-sep">
|
|
|
|
|
|
|
|
|
</span>
|
2017-04-19 05:10:36 +05:00
|
|
|
<span class="navbar-links">
|
2017-10-10 21:50:51 +05:00
|
|
|
<span class="navbar-link"><a href="{{prefix}}?lang={{i18n.Name}}">{{#i18n.Translations}}{{front_page_title}}{{/i18n.Translations}}</a></span>
|
2017-04-19 04:42:46 +05:00
|
|
|
</span>
|
|
|
|
<span class="navbar-sep">
|
|
|
|
|
|
|
|
|
</span>
|
2017-04-19 05:10:36 +05:00
|
|
|
<span class="navbar-links">
|
2017-10-10 21:50:51 +05:00
|
|
|
<span class="navbar-link"><a href="{{prefix}}o/?lang={{i18n.Name}}">{{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}}</a></span>
|
2017-04-19 04:42:46 +05:00
|
|
|
</span>
|
|
|
|
<span class="navbar-sep">
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
2017-04-19 05:12:14 +05:00
|
|
|
</center>
|