Collapse navigation, makes the site readable on mobile devices
This commit is contained in:
parent
524f051c56
commit
495235005f
2 changed files with 2008 additions and 2 deletions
1999
bootstrap.js
vendored
Normal file
1999
bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
|
@ -30,9 +30,15 @@
|
|||
<header class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button class="navbar-toggle" data-target=".npoacct-navbar-collapse" data-toggle="collapse" type="button">
|
||||
<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="<TMPL_VAR BASEURL>"><TMPL_VAR WIKINAME></a>
|
||||
</div>
|
||||
<nav role="navigation">
|
||||
<nav role="collapse navbar-collapse" role="navigation">
|
||||
<ul class="nav navbar-nav">
|
||||
<TMPL_IF EDITURL>
|
||||
<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
|
||||
|
@ -67,7 +73,7 @@
|
|||
</TMPL_IF>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div><!-- /container -->
|
||||
</header>
|
||||
|
||||
|
||||
|
@ -97,5 +103,6 @@
|
|||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="bootstrap.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue