summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/main/templates/main-menu.html19
-rw-r--r--style/default.css14
2 files changed, 28 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>
+
diff --git a/style/default.css b/style/default.css
index 6ae03b6b..d38ca9e0 100644
--- a/style/default.css
+++ b/style/default.css
@@ -491,3 +491,17 @@ li.slx-submenu a {
nav.navbar.sidebar {
color: #eee;
}
+
+.slx-smallsubmenu > li {
+ display: inline-block;
+}
+
+.slx-smallsubmenu > li + li:before {
+ padding: 0 3px;
+ content: "\2022\00a0";
+ color: #ccc;
+}
+
+.slx-smallsubmenu a {
+ color: #fff;
+} \ No newline at end of file