Clean up admin page markup

This commit is contained in:
Zsolt Kocsmarszky 2017-11-19 17:54:46 +01:00
parent 819b109dde
commit 86fc099873
4 changed files with 57 additions and 48 deletions

View File

@ -2,7 +2,7 @@
<page-header title="Settings">
</page-header>
<div class="bg-white tiled p-5">
<div class="bg-white tiled">
<ul class="tab-nav">
<li ng-class="{'active': dsPage }" ng-if="showDsLink"><a href="data_sources">Data Sources</a></li>
<li ng-class="{'active': groupsPage }" ng-if="showGroupsLink"><a href="groups">Groups</a></li>
@ -11,8 +11,10 @@
<li ng-class="{'active': destinationsPage }" ng-if="showDestinationsLink"><a href="destinations">Alert Destinations</a></li>
</ul>
<div class="p-15">
<div ng-transclude>
</div>
</div>
</div>
</div>

View File

@ -1,14 +1,15 @@
<page-header title="Admin">
</page-header>
<div class="container">
<div class="container bg-white p-5">
<page-header title="Admin">
</page-header>
<div class="bg-white tiled">
<ul class="tab-nav">
<li><a href="admin/status">System Status</a></li>
<li><a href="admin/queries/tasks">Queries Queue</a></li>
<li class="active"><a href="admin/queries/outdated">Outdated Queries</a></li>
</ul>
<div class="">
<table class="table table-condensed table-hover">
<thead>
<tr>
@ -38,9 +39,12 @@
</table>
<paginator paginator="$ctrl.queries"></paginator>
<div class="p-15">
<div class="badge">
Last update: <span am-time-ago="updatedAt"></span>
</div>
(<label><input type="checkbox" ng-model="autoUpdate"> Auto Update</label>)
</div>
</div>
</div>
</div>

View File

@ -1,15 +1,15 @@
<page-header title="Admin">
</page-header>
<div class="container">
<div class="container bg-white p-5">
<page-header title="Admin">
</page-header>
<div class="bg-white tiled">
<ul class="tab-nav">
<li class="active"><a href="admin/status">System Status</a></li>
<li><a href="admin/queries/tasks">Queries Queue</a></li>
<li><a href="admin/queries/outdated">Outdated Queries</a></li>
</ul>
<div>
<ul class="list-group col-lg-4">
<li class="list-group-item active">General</li>
@ -42,6 +42,7 @@
{{name}} <span uib-popover="{{value.data_sources}}" popover-trigger="'mouseenter'"><i class="fa fa-question-circle"></i></span>
</li>
</ul>
</div>
</div>
</div>

View File

@ -1,8 +1,8 @@
<page-header title="Admin">
</page-header>
<div class="container">
<div class="container bg-white p-5">
<page-header title="Admin">
</page-header>
<div class="bg-white tiled">
<ul class="tab-nav">
<li><a href="admin/status">System Status</a></li>
<li class="active"><a href="admin/queries/tasks">Queries Queue</a></li>
@ -49,6 +49,8 @@
</table>
<paginator paginator="$ctrl.tasksPaginator"></paginator>
<div class="p-15">
<label><input type="checkbox" ng-model="autoUpdate"> Auto Update</label>
</div>
</div>
</div>