mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
44 lines
2.0 KiB
HTML
44 lines
2.0 KiB
HTML
<div class="col-md-5 m-t-lg">
|
|
<div class="form-group">
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><i class="fa fa-filter"></i></span>
|
|
<input type="text" ng-model="searchFilter" class="form-control" placeholder="{{ 'app.admin.members.authentication_form.search_for_an_authentication_provider' | translate }}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12">
|
|
<button type="button" class="btn btn-warning m-t m-b" ui-sref="app.admin.authentication_new" translate>{{ 'app.admin.members.authentication_form.add_a_new_authentication_provider' }}</button>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:15%" translate>{{ 'app.admin.members.authentication_form.name' }}</th>
|
|
|
|
<th style="width:15%" translate>{{ 'app.admin.members.authentication_form.strategy_name' }}</th>
|
|
|
|
<th style="width:15%" translate>{{ 'app.admin.members.authentication_form.type' }}</th>
|
|
|
|
<th style="width:15%" translate>{{ 'app.admin.members.authentication_form.state' }}</th>
|
|
|
|
<th style="width:10%"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="provider in providers | filter:searchFilter">
|
|
<td>{{ provider.name }}</td>
|
|
<td>{{ provider.strategy_name }}</td>
|
|
<td>{{ getType(provider.providable_type) }}</td>
|
|
<td>{{ getState(provider.status) }}</td>
|
|
<td>
|
|
<button class="btn btn-default" ui-sref="app.admin.authentication_edit({id:provider.id})">
|
|
<i class="fa fa-pencil-square-o"></i> {{ 'app.shared.buttons.edit' | translate }}
|
|
</button>
|
|
<button class="btn btn-danger" ng-if="provider.status != 'active'" ng-click="destroyProvider(providers, provider)">
|
|
<i class="fa fa-trash-o"></i>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|