|
| 1 | +.dashboard-sidebar.collapsed.dashboard-page-background(ng-if='dashboard.sidebar.showDashboardSidebar') |
| 2 | + .sidebar-expander-hitbox |
| 3 | + .sidebar-expander |
| 4 | + i.fa.fa-caret-right |
| 5 | + |
| 6 | + .sidebar-header |
| 7 | + h1(ng-if='dashboard.sidebar.showDashboardTitle == true') {{ dashboardDisplayName }} |
| 8 | + table.iconbar(ng-if='dashboard.sidebar.showToolbar == true') |
| 9 | + tr |
| 10 | + td |
| 11 | + a(ng-href='/edit/{{ dashboard.name }}', title='Edit this Dashboard', target='_blank') |
| 12 | + i.fa.fa-edit |
| 13 | + td(ng-if='analyticsEnabled()') |
| 14 | + a(ng-href='/analytics/{{ dashboard.name }}', title='View Analytics for this Dashboard', target='_blank') |
| 15 | + i.fa.fa-bar-chart |
| 16 | + td |
| 17 | + a(ng-href='{{ exportUrl }}', title='Export this Dashboard', target='_blank') |
| 18 | + i.fa.fa-download |
| 19 | + td(requires-auth) |
| 20 | + i.fa.fa-thumbs-o-up(ng-if='!isLiked', ng-click='toggleLike()', title='Like this Dashboard') |
| 21 | + i.fa.fa-thumbs-up(ng-if='isLiked', ng-click='toggleLike()', title='Unlike this Dashboard') |
| 22 | + |
| 23 | + .sidebar-accordion |
| 24 | + |
| 25 | + accordion-group(ng-repeat='content in dashboard.sidebar.sidebarContent track by $index', heading='{{ content.heading }}') |
| 26 | + div(ng-bind-html='trustHtml(content.html)') |
| 27 | + |
| 28 | + accordion-group(heading='Show/Hide Widgets', ng-if='dashboard.sidebar.showHideWidgets == true') |
| 29 | + table.table |
| 30 | + tr(ng-repeat='widget in widgetVisibilities track by $index') |
| 31 | + td {{ widget.label }} |
| 32 | + td |
| 33 | + switch(ng-model='widget.visible', ng-change='changeVisibility(widget, $index)') |
| 34 | + p.centered |
| 35 | + a(ng-click='resetDashboardOverrides()', title='Reset to default') |
| 36 | + i.fa.fa-refresh |
| 37 | + | Reset to default |
| 38 | + .sidebar-footer |
| 39 | + .logos |
| 40 | + a.logo(ng-repeat='logo in footerLogos', title='{{ logo.title }}', |
| 41 | + ng-href='{{ logo.href }}', target='_self') |
| 42 | + img(ng-src='{{ logo.src }}', alt='{{ logo.title }}') |
0 commit comments