1 <!-- Embed dashboard -->
2 <cd-loading-panel *
ngIf=
"loading && grafanaExist"
3 i18n
>Loading panel data...
</cd-loading-panel>
5 <cd-alert-panel type=
"info"
7 i18n
>Please consult the
<cd-doc section=
"grafana"></cd-doc> on
8 how to configure and enable the monitoring functionality.
</cd-alert-panel>
10 <cd-alert-panel type=
"info"
11 *
ngIf=
"!dashboardExist"
12 i18n
>Grafana Dashboard doesn't exist. Please refer to
13 <cd-doc section=
"grafana"></cd-doc> on how to add dashboards to Grafana.
</cd-alert-panel>
15 <ng-container *
ngIf=
"grafanaExist && dashboardExist">
18 <div class=
"form-inline timepicker">
19 <label for=
"timepicker"
20 class=
"ml-1 my-1 col-form-label"
21 i18n
>Grafana Time Picker
</label>
23 <select id=
"timepicker"
25 class=
"custom-select my-1 mx-3"
27 (ngModelChange)=
"onTimepickerChange($event)">
28 <option *
ngFor=
"let key of grafanaTimes"
29 [ngValue]=
"key.value">{{ key.name }}
33 <button class=
"btn btn-light my-1"
35 title=
"Reset Settings"
37 <i [ngClass]=
"[icons.undo]"></i>
45 <div class=
"grafana-container">
50 [ngClass]=
"panelStyle"