zoneminder/_includes/navigation.ext

32 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2014-06-13 03:54:41 +08:00
<div class="navbar navbar-default" role="navigation">
2014-06-13 03:22:56 +08:00
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">ZoneMinder</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
2015-10-25 11:11:53 +08:00
{% assign navs = site.data.navigation %}
2014-06-13 03:22:56 +08:00
{% for nav in navs %}
2015-10-25 11:11:53 +08:00
{% if page.title == nav.text %}
<li class="current"><a href="{{ nav.link }}" target="{{ nav.target }}">{{ nav.text }}</a></li>
{% else %}
<li><a href="{{ nav.link }}" target="{{ nav.target }}">{{ nav.text }}</a></li>
2015-10-25 11:11:53 +08:00
{% endif %}
2014-06-13 03:22:56 +08:00
{% endfor %}
</ul>
<div class="pull-right">
<a href="http://www.facebook.com/zoneminder"><img src="/images/social/facebook.png" class="navbar-btn" /></a>
<a href="https://twitter.com/zoneminder"><img src="/images/social/twitter.png" class="navbar-btn" /></a>
<a href="https://github.com/ZoneMinder/ZoneMinder/"><img src="/images/social/Octocat.png" class="navbar-btn" /></a>
</div>
2014-06-13 03:22:56 +08:00
</div>
</div>
</div>