Show More
applications-list-view.html
31 lines
| 1.4 KiB
| text/html
|
HtmlLexer
r83 | <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.applications"></ng-include> | |||
r0 | ||||
r83 | <div class="panel panel-default" ng-show="!$ctrl.loading.applications"> | |||
<div class="panel-heading" ng-include="'templates/settings_breadcrumbs.html'"></div> | ||||
<div class="panel-body" ng-if="$ctrl.applications.length === 0 "> | ||||
r0 | ||||
<p>You have to create a new application first.</p> | ||||
</div> | ||||
r83 | <table class="table table-striped" ng-if="$ctrl.applications.length > 0"> | |||
r0 | <thead> | |||
<tr> | ||||
<th class="resource_name">Resource Name</th> | ||||
<th class="domains">Domains</th> | ||||
<th class="options">Options</th> | ||||
</tr> | ||||
</thead> | ||||
<tbody> | ||||
r83 | <tr class="r{{$index+1}}" ng-repeat="application in $ctrl.applications"> | |||
r0 | <td>{{application.resource_name}}</td> | |||
<td>{{application.domains}}</td> | ||||
<td class="options"> | ||||
<a class="btn btn-default" data-ui-sref="applications.update({resourceId:application.resource_id})" data-toggle="tooltip" title="Update application"><span class="fa fa-cog"></span> Update</a> | ||||
<a class="btn btn-default" data-ui-sref="applications.integrations({resourceId:application.resource_id})" data-toggle="tooltip" title="Manage Integrations"><span class="fa fa-wrench"></span> Integrations</a> | ||||
</td> | ||||
</tr> | ||||
</tbody> | ||||
</table> | ||||
</div> | ||||