mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 18:03:54 +00:00
36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<div class="container">
|
|
<div class="bg-white p-5 m-t-10 m-b-10">
|
|
<form class="form-inline" role="form" ng-submit="$ctrl.search()">
|
|
<div class="input-group">
|
|
<input class="form-control input-sm" placeholder="Search..." ng-model="$ctrl.term" autofocus>
|
|
<span class="input-group-btn">
|
|
<button class="btn btn-primary" type="submit">
|
|
<span class="zmdi zmdi-search"></span>
|
|
</button>
|
|
</span>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="bg-white">
|
|
<table class="table table-condensed table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Created By</th>
|
|
<th>Created At</th>
|
|
<th>Update Schedule</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="query in $ctrl.paginator.getPageRows()">
|
|
<td><a href="queries/{{query.id}}">{{query.name}}</a> <span class="label label-default" ng-if="query.is_draft">Unpublished</span></td>
|
|
<td>{{query.user.name}}</td>
|
|
<td>{{query.created_at | dateTime}}</td>
|
|
<td>{{query.schedule | scheduleHumanize}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<paginator paginator="$ctrl.paginator"></paginator>
|
|
</div>
|
|
</div>
|