redash/rd_ui/app/views/index.html

20 lines
1013 B
HTML
Raw Normal View History

2013-10-25 07:26:07 +00:00
<div class="container">
2013-10-29 17:08:11 +00:00
<h2>Dashboards</h2>
<div class="list-group" ng-repeat="(name, dashboards) in allDashboards">
2013-10-25 07:26:07 +00:00
<div class="list-group-item active">
2013-10-29 17:08:11 +00:00
{{name}}
2013-10-25 07:26:07 +00:00
<button type="button" class="btn btn-sm btn-link" data-toggle="modal" href="#new_dashboard_dialog" tooltip="New Dashboard"><span class="glyphicon glyphicon-plus-sign"></span></button>
</div>
<div class="list-group-item" ng-repeat="dashboard in dashboards" >
<button type="button" class="close delete-button" aria-hidden="true" ng-show="dashboard.canEdit()" ng-click="archiveDashboard(dashboard)" tooltip="Delete Dashboard">&times;</button>
<a ng-href="/dashboard/{{dashboard.slug}}">{{dashboard.name}}</a>
</div>
</div>
<div ng-show="currentUser.is_admin">
<div class="list-group">
<div class="list-group-item active">Admin</div>
<a href="/admin/status" class="list-group-item">Status</a>
</div>
</div>
</div>