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.
1. Search (client side). 2. Stats about queries. 3. Pagination.
- Loading branch information
Showing
4 changed files
with
123 additions
and
57 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
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
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,31 +1,6 @@ | ||
<div class="container"> | ||
<rd-tabs tabs-collection='tabs' selected-tab='selectedTab'></rd-tabs> | ||
<table class="table table-bordered table-hover table-responsive"> | ||
<thead> | ||
<tr> | ||
<th>Name</th> | ||
<th>Runtime</th> | ||
<th>Created at</th> | ||
<th>Update Schedule</th> | ||
<th>Created By</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr ng-repeat="query in queries | filter:filterQueries"> | ||
<td><a ng-href="/queries/{{query.id}}">{{query.name}}</a></td> | ||
<td>{{query.runtime | durationHumanize}}</td> | ||
<td> | ||
<span am-time-ago="query.created_at" ng-show="query.created_at > 0"></span> | ||
<span ng-show="query.created_at == undefined">Never</span> | ||
</td> | ||
<td> | ||
<span ng-show="query.ttl > -1">Every {{query.ttl | durationHumanize}}</span> | ||
<span ng-show="query.ttl == -1">Manual</span> | ||
</td> | ||
<td>{{query.user}}</td> | ||
</tr> | ||
</tbody> | ||
|
||
</table> | ||
|
||
<smart-table rows="queries" columns="gridColumns" | ||
config="gridConfig" | ||
class="table table-condensed table-hover"></smart-table> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<a ng-href="/queries/{{dataRow.id}}">{{dataRow.name}}</a> |