|
4 | 4 | <div class="tight-form">
|
5 | 5 | <ul class="tight-form-list">
|
6 | 6 | <li class="tight-form-item" style="width: 80px">
|
7 |
| - <strong>Left Y</strong> |
| 7 | + Left Y |
8 | 8 | </li>
|
9 | 9 | <li class="tight-form-item">
|
10 | 10 | Unit
|
|
46 | 46 | </ul>
|
47 | 47 | <div class="clearfix"></div>
|
48 | 48 | </div>
|
49 |
| - <div class="tight-form"> |
| 49 | + <div class="tight-form last"> |
50 | 50 | <ul class="tight-form-list">
|
51 | 51 | <li class="tight-form-item" style="width: 80px">
|
52 |
| - <strong>Right Y</strong> |
| 52 | + Right Y |
53 | 53 | </li>
|
54 | 54 | <li class="tight-form-item">
|
55 | 55 | Unit
|
|
97 | 97 | <div class="tight-form">
|
98 | 98 | <ul class="tight-form-list">
|
99 | 99 | <li class="tight-form-item" style="width: 80px">
|
100 |
| - <strong>Show Axis</strong> |
| 100 | + Show Axis |
101 | 101 | </li>
|
102 | 102 | <li class="tight-form-item">
|
103 | 103 | X-Axis
|
|
114 | 114 | </ul>
|
115 | 115 | <div class="clearfix"></div>
|
116 | 116 | </div>
|
117 |
| - <div class="tight-form"> |
| 117 | + <div class="tight-form last"> |
118 | 118 | <ul class="tight-form-list">
|
119 | 119 | <li class="tight-form-item" style="width: 80px">
|
120 |
| - <strong>Thresholds</strong> |
| 120 | + Thresholds |
121 | 121 | </li>
|
122 | 122 | <li class="tight-form-item">
|
123 | 123 | Level 1
|
|
140 | 140 | <spectrum-picker ng-model="panel.grid.threshold2Color" ng-change="render()" ></spectrum-picker>
|
141 | 141 | </li>
|
142 | 142 | <li class="tight-form-item last">
|
143 |
| - Line mode |
144 |
| - <input class="cr1" id="panel.grid.thresholdLine" type="checkbox" |
145 |
| - ng-model="panel.grid.thresholdLine" ng-checked="panel.grid.thresholdLine" ng-change="render()"> |
146 |
| - <label for="panel.grid.thresholdLine" class="cr1"></label> |
147 |
| - |
| 143 | + <editor-checkbox text="Line mode" model="panel.grid.thresholdLine" change="render()"></editor-checkbox> |
148 | 144 | </li>
|
149 | 145 | </ul>
|
150 | 146 | <div class="clearfix"></div>
|
|
157 | 153 | <div class="tight-form last">
|
158 | 154 | <ul class="tight-form-list">
|
159 | 155 | <li class="tight-form-item" style="width: 110px">
|
160 |
| - <strong>Legend</strong> |
| 156 | + Legend |
161 | 157 | </li>
|
162 | 158 | <li class="tight-form-item">
|
163 |
| - Show |
164 |
| - <input class="cr1" id="panel.legend.show" type="checkbox" |
165 |
| - ng-model="panel.legend.show" ng-checked="panel.legend.show" ng-change="get_data()"> |
166 |
| - <label for="panel.legend.show" class="cr1"></label> |
| 159 | + <editor-checkbox text="Show" model="panel.legend.show" change="get_data()"></editor-checkbox> |
167 | 160 | </li>
|
168 | 161 | <li class="tight-form-item">
|
169 |
| - Table |
170 |
| - <input class="cr1" id="panel.legend.alignAsTable" type="checkbox" |
171 |
| - ng-model="panel.legend.alignAsTable" ng-checked="panel.legend.alignAsTable" ng-change="render()"> |
172 |
| - <label for="panel.legend.alignAsTable" class="cr1"></label> |
| 162 | + <editor-checkbox text="Table" model="panel.legend.alignAsTable" change="render()"></editor-checkbox> |
173 | 163 | </li>
|
174 | 164 | <li class="tight-form-item">
|
175 |
| - Right side |
176 |
| - <input class="cr1" id="panel.legend.rightSide" type="checkbox" |
177 |
| - ng-model="panel.legend.rightSide" ng-checked="panel.legend.rightSide" ng-change="render()"> |
178 |
| - <label for="panel.legend.rightSide" class="cr1"></label> |
| 165 | + <editor-checkbox text="Right side" model="panel.legend.rightSide" change="render()"></editor-checkbox> |
179 | 166 | </li>
|
180 | 167 | <li class="tight-form-item last">
|
181 |
| - <span bs-tooltip="'Hides series with only null values'">Hide empty <span> |
182 |
| - <input class="cr1" id="panel.legend.hideEmpty" type="checkbox" |
183 |
| - ng-model="panel.legend.hideEmpty" ng-checked="panel.legend.hideEmpty" ng-change="render()"> |
184 |
| - <label for="panel.legend.hideEmpty" class="cr1"></label> |
| 168 | + <editor-checkbox text="Hide empty" model="panel.legend.hideEmpty" change="render()"></editor-checkbox> |
185 | 169 | </li>
|
186 | 170 | </ul>
|
187 | 171 | <div class="clearfix"></div>
|
|
191 | 175 | <div class="tight-form">
|
192 | 176 | <ul class="tight-form-list">
|
193 | 177 | <li class="tight-form-item" style="width: 105px">
|
194 |
| - <strong>Legend values</strong> |
| 178 | + Legend values |
195 | 179 | </li>
|
196 | 180 | <li class="tight-form-item">
|
197 |
| - Min |
198 |
| - <input class="cr1" id="panel.legend.min" type="checkbox" |
199 |
| - ng-model="panel.legend.min" ng-checked="panel.legend.min" ng-change="legendValuesOptionChanged()"> |
200 |
| - <label for="panel.legend.min" class="cr1"></label> |
| 181 | + <editor-checkbox text="Min" model="panel.legend.min" change="legendValuesOptionChanged()"></editor-checkbox> |
201 | 182 | </li>
|
202 | 183 | <li class="tight-form-item">
|
203 |
| - Max |
204 |
| - <input class="cr1" id="panel.legend.max" type="checkbox" |
205 |
| - ng-model="panel.legend.max" ng-checked="panel.legend.max" ng-change="legendValuesOptionChanged()"> |
206 |
| - <label for="panel.legend.max" class="cr1"></label> |
| 184 | + <editor-checkbox text="Max" model="panel.legend.max" change="legendValuesOptionChanged()"></editor-checkbox> |
207 | 185 | </li>
|
208 | 186 | <li class="tight-form-item">
|
209 |
| - Avg |
210 |
| - <input class="cr1" id="panel.legend.avg" type="checkbox" |
211 |
| - ng-model="panel.legend.avg" ng-checked="panel.legend.avg" ng-change="legendValuesOptionChanged()"> |
212 |
| - <label for="panel.legend.avg" class="cr1"></label> |
| 187 | + <editor-checkbox text="Avg" model="panel.legend.avg" change="legendValuesOptionChanged()"></editor-checkbox> |
213 | 188 | </li>
|
214 | 189 | <li class="tight-form-item">
|
215 |
| - Current |
216 |
| - <input class="cr1" id="panel.legend.current" type="checkbox" |
217 |
| - ng-model="panel.legend.current" ng-checked="panel.legend.current" ng-change="legendValuesOptionChanged()"> |
218 |
| - <label for="panel.legend.current" class="cr1"></label> |
| 190 | + <editor-checkbox text="Current" model="panel.legend.current" change="legendValuesOptionChanged()"></editor-checkbox> |
219 | 191 | </li>
|
220 | 192 | <li class="tight-form-item last">
|
221 |
| - Total |
222 |
| - <input class="cr1" id="panel.legend.total" type="checkbox" |
223 |
| - ng-model="panel.legend.total" ng-checked="panel.legend.total" ng-change="legendValuesOptionChanged()"> |
224 |
| - <label for="panel.legend.total" class="cr1"></label> |
| 193 | + <editor-checkbox text="Total" model="panel.legend.total" change="legendValuesOptionChanged()"></editor-checkbox> |
225 | 194 | </li>
|
226 | 195 | </ul>
|
227 | 196 | <div class="clearfix"></div>
|
|
0 commit comments