forked from getredash/redash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,34 @@ | ||
<div class="container"> | ||
<h2>Dashboards</h2> | ||
<div class="list-group" ng-repeat="(name, dashboards) in allDashboards"> | ||
<div class="list-group-item active"> | ||
{{name}} | ||
<button ng-show="currentUser.hasPermission('create_dashboard')" 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 class="row"> | ||
<p> | ||
<a href="queries/new" class="btn btn-default">New Query</a> | ||
<button ng-show="currentUser.hasPermission('create_dashboard')" type="button" class="btn btn-default" data-toggle="modal" href="#new_dashboard_dialog">New Dashboard</button> | ||
<a href="alerts/new" class="btn btn-default">New Alert</a> | ||
</p> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="list-group col-md-6"> | ||
<div class="list-group-item active"> | ||
Recent Dashboards | ||
</div> | ||
<a ng-href="dashboard/{{dashboard.slug}}" class="list-group-item" ng-repeat="dashboard in recentDashboards"> | ||
{{dashboard.name}} | ||
</a> | ||
</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">×</button> | ||
<a ng-href="dashboard/{{dashboard.slug}}">{{dashboard.name}}</a> | ||
|
||
<div class="list-group col-md-6"> | ||
<div class="list-group-item active"> | ||
Recent Queries | ||
</div> | ||
<a ng-href="queries/{{query.id}}" class="list-group-item" ng-repeat="query in recentQueries">{{query.name}}</a> | ||
</div> | ||
</div> | ||
|
||
<div ng-show="currentUser.hasPermission('super_admin')"> | ||
<div ng-show="currentUser.hasPermission('super_admin')" class="row"> | ||
<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> | ||
|
||
</div> |
This file was deleted.
Oops, something went wrong.