mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Small style update to submenu (template variables, annotation menu)
This commit is contained in:
parent
e646ae8be4
commit
1d64ba3b5d
@ -3,9 +3,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<ul class="tight-form-list" ng-if="dashboard.templating.list.length > 0">
|
<ul class="tight-form-list" ng-if="dashboard.templating.list.length > 0">
|
||||||
<li class="tight-form-item">
|
|
||||||
<strong>VARIABLES:</strong>
|
|
||||||
</li>
|
|
||||||
<li ng-repeat-start="variable in variables" class="tight-form-item template-param-name">
|
<li ng-repeat-start="variable in variables" class="tight-form-item template-param-name">
|
||||||
<span class="template-variable ">
|
<span class="template-variable ">
|
||||||
${{variable.name}}:
|
${{variable.name}}:
|
||||||
@ -20,11 +17,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="tight-form-list" ng-if="dashboard.annotations.list.length > 0">
|
<ul class="tight-form-list" ng-if="dashboard.annotations.list.length > 0">
|
||||||
<li class="tight-form-item">
|
|
||||||
<strong>ANNOTATIONS:</strong>
|
|
||||||
</li>
|
|
||||||
<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="tight-form-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
|
||||||
<a ng-click="disableAnnotation(annotation)">
|
<a ng-click="disableAnnotation(annotation)">
|
||||||
|
<i class="fa fa-bolt"></i>
|
||||||
{{annotation.name}}
|
{{annotation.name}}
|
||||||
<input class="cr1" id="hideYAxis" type="checkbox" ng-model="annotation.enable" ng-checked="annotation.enable">
|
<input class="cr1" id="hideYAxis" type="checkbox" ng-model="annotation.enable" ng-checked="annotation.enable">
|
||||||
<label for="hideYAxis" class="cr1"></label>
|
<label for="hideYAxis" class="cr1"></label>
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
top: 88px;
|
top: 88px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.submenu-controls {
|
.submenu-controls {
|
||||||
margin: 10px 10px 0 10px;
|
margin: 10px 10px 0 0px;
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.annotation-disabled, .annotation-disabled a {
|
.annotation-disabled, .annotation-disabled a {
|
||||||
|
@ -85,7 +85,8 @@
|
|||||||
|
|
||||||
&.template-param-name {
|
&.template-param-name {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
padding-right: 3px;
|
padding-right: 0;
|
||||||
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
&.annotation-segment {
|
&.annotation-segment {
|
||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
|
Loading…
Reference in New Issue
Block a user