A lot of css style polish for submenu (template var selection, and new dashlinks)

This commit is contained in:
Torkel Ödegaard
2015-05-06 09:41:30 +02:00
parent 2c3aad785d
commit 26c9a19392
6 changed files with 33 additions and 23 deletions

View File

@@ -2,13 +2,13 @@
<div class="tight-form borderless">
<ul class="tight-form-list" ng-if="dashboard.templating.list.length > 0">
<li ng-repeat="variable in variables" class="tight-form-item template-param-name dropdown">
<li ng-repeat="variable in variables" class="submenu-item">
<variable-value-select variable="variable" on-updated="variableUpdated(variable)"></variable-value-select>
</li>
</ul>
<ul class="tight-form-list" ng-if="dashboard.annotations.list.length > 0">
<li ng-repeat="annotation in dashboard.annotations.list" class="tight-form-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
<li ng-repeat="annotation in dashboard.annotations.list" class="submenu-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
<a ng-click="disableAnnotation(annotation)">
<i class="fa fa-bolt"></i>
{{annotation.name}}
@@ -19,7 +19,7 @@
</ul>
<ul class="tight-form-list pull-right" ng-if="dashboard.links.length > 0">
<dash-link ng-repeat="link in dashboard.links" link="link" class="tight-form-item"></dash-link>
<dash-link ng-repeat="link in dashboard.links" link="link" class="submenu-item"></dash-link>
</ul>
<div class="clearfix"></div>