blob: 94c4ee35356e085259e59872acf5ca74859cd134 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<div
class="jqplot-seriespicker"
ng-class="{open: $ctrl.isPopupVisible}"
ng-mouseenter="$ctrl.isPopupVisible = true"
ng-mouseleave="$ctrl.onLeavePopup()"
>
<a
href="#"
ng-click="$event.preventDefault(); $event.stopPropagation();"
>
+
</a>
<div
class="jqplot-seriespicker-popover"
ng-if="$ctrl.isPopupVisible"
>
<p class="headline">{{ ($ctrl.multiselect ? 'General_MetricsToPlot' : 'General_MetricToPlot') | translate }}</p>
<p
ng-repeat="columnConfig in $ctrl.selectableColumns"
class="pickColumn"
ng-click="$ctrl.optionSelected(columnConfig.column, $ctrl.columnStates)"
>
<label>
<input
class="select"
ng-checked="$ctrl.columnStates[columnConfig.column]"
ng-attr-type="{{ $ctrl.multiselect ? 'checkbox' : 'radio' }}"
/>
<span>{{ columnConfig.translation }}</span>
</label>
</p>
<p
ng-if="$ctrl.selectableRows.length"
class="headline recordsToPlot"
>
{{ 'General_RecordsToPlot' | translate }}
</p>
<p
ng-repeat="rowConfig in $ctrl.selectableRows"
class="pickRow"
ng-click="$ctrl.optionSelected(rowConfig.matcher, $ctrl.rowStates)"
>
<input
class="select"
ng-checked="$ctrl.rowStates[rowConfig.matcher]"
ng-attr-type="{{ $ctrl.multiselect ? 'checkbox' : 'radio' }}"
/>
<label>{{ rowConfig.label }}</label>
</p>
</div>
</div>
|