graphdb-workbench
Version:
The web application for GraphDB APIs
52 lines (49 loc) • 2.85 kB
HTML
<div class="container-fluid">
<h1>
{{title}}
<span class="btn btn-link"
uib-popover-template="'js/angular/templates/titlePopoverTemplate.html'"
popover-trigger="mouseenter"
popover-placement="bottom-right"
popover-append-to-body="true"><span class="icon-info"></span></span>
</h1>
<div core-errors ontop fedx></div>
<div class="jdbc-list-configurations card mb-2" ng-if="getActiveRepository() && !isActiveRepoOntopType() && !isActiveRepoFedXType()">
<div class="card-block" ng-init="getSqlConfigurations();">
<div class="clearfix">
<a ng-href="jdbc/configuration/create" ng-if="canWriteActiveRepo()" class="btn btn-link pull-right">
<span class="icon-plus create-sql-table-configuration"></span> Create new SQL table configuration
</a>
<h3 class="mb-0"><span class="collapsible-heading" data-toggle="collapse"
data-target="#configurations-table"><em class="icon-caret-down text-muted"></em> SQL table configurations</span>
</h3>
</div>
<div class="collapse in mt-1" id="configurations-table">
<div class="no-indexes" ng-if="jdbcConfigurations.length == 0"><em>No tables are defined</em></div>
<table class="table table-hover mb-0" aria-describedby="JDBC configurations table">
<tbody>
<tr ng-repeat="index in jdbcConfigurations track by $index"
class="configuration-row">
<td>
<a class="lead configuration-name" ng-href="jdbc/configuration/create?name={{index}}">{{index}}</a>
</td>
<td class="text-xs-right">
<span class="actions-bar hovered-item">
<a class="btn btn-link edit-query-btn"
ng-if="canWriteActiveRepo()" href="jdbc/configuration/create?name={{index}}"
uib-tooltip="Edit JDBC configuration">
<em class="icon-edit"></em>
</a>
</span>
<button type="button" ng-if="canWriteActiveRepo()" ng-click="deleteConfiguration(index)"
class="btn btn-link delete-configuration-btn" uib-tooltip="Delete JDBC configuration"><span
class="icon-trash"></span>
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>