feat(index): hide Events and Docker view when swarm-mode is enabled (#250)

pull/251/head
Anthony Lapenna 2016-10-02 14:57:01 +13:00 committed by GitHub
parent 7cd2da4c6e
commit 6bfa3096dc
1 changed files with 2 additions and 2 deletions

View File

@ -59,13 +59,13 @@
<li class="sidebar-list">
<a ui-sref="volumes">Volumes <span class="menu-icon fa fa-cubes"></span></a>
</li>
<li class="sidebar-list" ng-if="swarm_mode || !swarm">
<li class="sidebar-list" ng-if="!swarm">
<a ui-sref="events">Events <span class="menu-icon fa fa-history"></span></a>
</li>
<li class="sidebar-list" ng-if="(swarm && !swarm_mode) || (swarm_mode && swarm_manager)">
<a ui-sref="swarm">Swarm <span class="menu-icon fa fa-object-group"></span></a>
</li>
<li class="sidebar-list" ng-if="swarm_mode || !swarm">
<li class="sidebar-list" ng-if="!swarm">
<a ui-sref="docker">Docker <span class="menu-icon fa fa-cogs"></span></a>
</li>
</ul>