diff options
author | Simon Rettberg | 2016-08-17 12:19:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-08-17 12:19:42 +0200 |
commit | ab891ea67100d34c8395a414d7ffdf9c9d2e9711 (patch) | |
tree | b6b01416f6492aea2ce82895712170b84d1b3c4a /modules-available | |
parent | [dozmod] Implement action log subpage (diff) | |
download | slx-admin-ab891ea67100d34c8395a414d7ffdf9c9d2e9711.tar.gz slx-admin-ab891ea67100d34c8395a414d7ffdf9c9d2e9711.tar.xz slx-admin-ab891ea67100d34c8395a414d7ffdf9c9d2e9711.zip |
[main] Show submenu as extra row when not in large mode
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/main/templates/main-menu.html | 19 |
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&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> + |