-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathpublic-dashboard-page.html
33 lines (28 loc) · 1.29 KB
/
public-dashboard-page.html
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
<div class="container p-t-10 p-b-20" ng-if="$ctrl.dashboard">
<page-header title="$ctrl.dashboard.name"></page-header>
<div class="m-b-10 p-t-15 p-l-15 p-r-15 p-b-5 bg-white tiled" ng-if="$ctrl.globalParameters.length > 0">
<parameters parameters="$ctrl.globalParameters" query-result-error-data="$ctrl.dashboard.getQueryResultsErrorData()" on-values-change="$ctrl.refreshDashboard"></parameters>
</div>
<div class="m-b-5">
<filters filters="$ctrl.filters" on-change="$ctrl.filtersOnChange"></filters>
</div>
<div id="dashboard-container">
<dashboard-grid
ng-if="$ctrl.dashboard"
dashboard="$ctrl.dashboard"
widgets="$ctrl.dashboard.widgets"
filters="$ctrl.filters"
is-editing="false"
is-public="true"
on-load-widget="$ctrl.loadWidget"
on-refresh-widget="$ctrl.refreshWidget"
/>
</div>
</div>
<big-message ng-if="!$ctrl.dashboard" icon="'fa-spinner fa-2x fa-pulse'" message="'Loading...'" class-name="'help-message'" class="container" style="display: flex; align-items: center; justify-content: center;"></big-message>
<div id="footer">
<div class="text-center">
<a href="https://redash.io"><img ng-src="{{$ctrl.logoUrl}}" width="38"/></a>
</div>
Powered by <a href="https://redash.io/?ref=public-dashboard">Redash</a>
</div>