summaryrefslogtreecommitdiffstats
path: root/modules-available/main/templates/main-menu.html
diff options
context:
space:
mode:
authorChristian Klinger2016-08-22 11:24:03 +0200
committerChristian Klinger2016-08-22 11:24:03 +0200
commitd3c689c6730ca6749c03ffd01c670f7b191e8355 (patch)
tree9e2d7caa1ed3c45b4757621202087a64e5e87cc9 /modules-available/main/templates/main-menu.html
parentcss fix/hack to get roomplanner to work on medium sized screens. (diff)
parent[dozmod] Expect the client to tell wether it is running in exam mode and comp... (diff)
downloadslx-admin-d3c689c6730ca6749c03ffd01c670f7b191e8355.tar.gz
slx-admin-d3c689c6730ca6749c03ffd01c670f7b191e8355.tar.xz
slx-admin-d3c689c6730ca6749c03ffd01c670f7b191e8355.zip
Merge branch 'modularization' of git.openslx.org:openslx-ng/slx-admin into modularization
Diffstat (limited to 'modules-available/main/templates/main-menu.html')
-rw-r--r--modules-available/main/templates/main-menu.html19
1 files changed, 14 insertions, 5 deletions
diff --git a/modules-available/main/templates/main-menu.html b/modules-available/main/templates/main-menu.html
index 57f0fa88..8dc91f12 100644
--- a/modules-available/main/templates/main-menu.html
+++ b/modules-available/main/templates/main-menu.html
@@ -1,8 +1,5 @@
<div class="slx-topbar">
<div>
- {{#dbupdate}}
- <a href="api.php?do=update"><span class="slx-warning-badge badge"><span class="glyphicon glyphicon-exclamation-sign"></span> DB-Update</span></a>
- {{/dbupdate}}
{{#warning}}
<a href="?do=EventLog"><span class="slx-warning-badge badge"><span class="glyphicon glyphicon-exclamation-sign"></span> {{lang_warning}}</span></a>
{{/warning}}
@@ -34,7 +31,7 @@
{{#modules}}
<li class="{{className}}"><a href="?do={{identifier}}">{{displayName}}</a></li>
{{#subMenu}}
- <li class="slx-submenu"><a href="{{url}}">{{name}}</a></li>
+ <li class="slx-submenu visible-lg"><a href="{{url}}">{{name}}</a></li>
{{/subMenu}}
{{/modules}}
</ul>
@@ -86,10 +83,22 @@
</ul>
{{/user}}
{{^user}}
- <a type="button" href="?do=Session&action=login" class="btn btn-default">{{lang_login}}</a>
+ <a type="button" href="?do=Session&amp;action=login" class="btn btn-default">{{lang_login}}</a>
{{/user}}
</li>
</ul>
</div>
</div>
+ <div class="hidden-lg small">
+ <ol class="slx-smallsubmenu">
+ {{#categories}}
+ {{#modules}}
+ {{#subMenu}}
+ <li><a href="{{url}}">{{name}}</a></li>
+ {{/subMenu}}
+ {{/modules}}
+ {{/categories}}
+ </ol>
+ </div>
</nav>
+