feature: Hide actions in sidebar if it is empty
This commit is contained in:
parent
baa690ffc2
commit
42535feadf
|
|
@ -0,0 +1,28 @@
|
||||||
|
#
|
||||||
|
# Integration Test Config: General
|
||||||
|
#
|
||||||
|
|
||||||
|
listenAddressSingleHTTPFrontend: 0.0.0.0:1337
|
||||||
|
|
||||||
|
logLevel: "DEBUG"
|
||||||
|
checkForUpdates: false
|
||||||
|
|
||||||
|
actions:
|
||||||
|
- title: action1
|
||||||
|
shell: date
|
||||||
|
icon: clock
|
||||||
|
|
||||||
|
- title: action2
|
||||||
|
shell: date
|
||||||
|
icon: clock
|
||||||
|
|
||||||
|
- title: action3
|
||||||
|
shell: date
|
||||||
|
icon: clock
|
||||||
|
|
||||||
|
dashboards:
|
||||||
|
- title: My Dashboard
|
||||||
|
contents:
|
||||||
|
- title: action1
|
||||||
|
- title: action2
|
||||||
|
- title: action3
|
||||||
|
|
@ -27,11 +27,11 @@
|
||||||
<input type = "checkbox" id = "hide-sidebar-checkbox" hidden checked />
|
<input type = "checkbox" id = "hide-sidebar-checkbox" hidden checked />
|
||||||
<nav hidden>
|
<nav hidden>
|
||||||
<ul id = "navigation-links">
|
<ul id = "navigation-links">
|
||||||
<li><a id = "showActions">Actions</a></li>
|
<li title = "Actions"><a id = "showActions">Actions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id = "supplemental-links">
|
<ul id = "supplemental-links">
|
||||||
<li><a id = "showLogs">Logs</a></li>
|
<li title = "Logs"><a id = "showLogs">Logs</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue