2015-02-23 16:39:52 +01:00
|
|
|
<topnav title="Data sources" icon="fa fa-fw fa-database" subnav="true">
|
2015-02-14 10:04:27 +01:00
|
|
|
<ul class="nav">
|
2015-02-23 18:29:01 +01:00
|
|
|
<li class="active" ><a href="datasources">Overview</a></li>
|
|
|
|
|
<li><a href="datasources/new">Add new</a></li>
|
2015-02-14 10:04:27 +01:00
|
|
|
</ul>
|
2015-01-30 14:12:16 +01:00
|
|
|
</topnav>
|
2014-12-16 16:44:45 +01:00
|
|
|
|
2015-10-27 23:26:11 -05:00
|
|
|
<div class="page-container" style="background: transparent; border: 0;">
|
|
|
|
|
<div class="page-wide">
|
2015-02-14 10:04:27 +01:00
|
|
|
<h2>Data sources</h2>
|
2014-12-16 16:44:45 +01:00
|
|
|
|
2015-02-14 10:04:27 +01:00
|
|
|
<div ng-if="datasources.length === 0">
|
|
|
|
|
<em>No datasources defined</em>
|
|
|
|
|
</div>
|
2014-12-17 17:31:57 +01:00
|
|
|
|
2015-10-27 23:26:11 -05:00
|
|
|
<table class="filter-table" ng-if="datasources.length > 0">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2015-11-03 08:24:10 -06:00
|
|
|
<th><strong>Name</strong></th>
|
|
|
|
|
<th><strong>Url</strong></th>
|
2015-10-27 23:26:11 -05:00
|
|
|
<th style="width: 60px;"></th>
|
|
|
|
|
<th style="width: 65px;"></th>
|
2015-10-29 21:09:21 -05:00
|
|
|
<th style="width: 34px;"></th>
|
2015-10-27 23:26:11 -05:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr ng-repeat="ds in datasources">
|
|
|
|
|
<td>
|
2015-12-09 12:04:51 +01:00
|
|
|
<a href="datasources/edit/{{ds.id}}">
|
|
|
|
|
<i class="fa fa-database"></i> {{ds.name}}
|
|
|
|
|
</a>
|
2015-10-27 23:26:11 -05:00
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<span class="ellipsis">{{ds.url}}</span>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="text-center">
|
|
|
|
|
<span ng-if="ds.isDefault">
|
|
|
|
|
<span class="label label-info">default</span>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="text-right">
|
|
|
|
|
<a href="datasources/edit/{{ds.id}}" class="btn btn-inverse btn-mini">
|
|
|
|
|
<i class="fa fa-edit"></i>
|
|
|
|
|
Edit
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="text-right">
|
|
|
|
|
<a ng-click="remove(ds)" class="btn btn-danger btn-mini">
|
|
|
|
|
<i class="fa fa-remove"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
2015-02-14 10:04:27 +01:00
|
|
|
</table>
|
2014-12-16 16:44:45 +01:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|