diff options
author | Juliane Clausen <git@juliane-clausen.de> | 2014-08-11 20:15:40 +0200 |
---|---|---|
committer | Juliane Clausen <git@juliane-clausen.de> | 2014-08-11 20:16:42 +0200 |
commit | 6015004882bafde1a0af2f5a795fbd896d7b6926 (patch) | |
tree | ba943459cfd0a4df077547863a9eeee66c2a423b /templates | |
parent | bc7ba75910565d88eb5b173963b4eff79886f625 (diff) |
Add a button to unfld the edit menu instead of having it disappear on
small devices.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.tmpl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index b9308be3..4e120c2c 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -44,6 +44,9 @@ </TMPL_LOOP> </TMPL_UNLESS> + <script type="text/javascript" src="<TMPL_VAR BASEURL>js/jquery.min.js"></script> + <script type="text/javascript" src="<TMPL_VAR BASEURL>js/bootstrap.min.js"></script> + </head> <body> @@ -77,7 +80,15 @@ <TMPL_IF HAVE_ACTIONS> <TMPL_IF HTML5><nav class="navbar navbar-default" role="navigation"><TMPL_ELSE><div class="navbar navbar-default"></TMPL_IF> - <div class="collapse navbar-collapse"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#editlinks"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="collapse navbar-collapse" id="editlinks"> <ul class="nav navbar-nav"> <TMPL_IF EDITURL> <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li> |