1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-30 11:24:21 +01:00
fab-manager/app/frontend/templates/admin/authentications/edit.html

52 lines
1.9 KiB
HTML
Raw Normal View History

2016-03-23 18:39:41 +01:00
<div>
<section class="heading b-b">
<div class="row no-gutter">
<div class="col-md-1 hidden-xs">
<section class="heading-btn">
2020-09-29 14:35:42 +02:00
<a ng-click="cancel()"><i class="fas fa-long-arrow-alt-left"></i></a>
2016-03-23 18:39:41 +01:00
</section>
</div>
<div class="col-md-8 b-l b-r">
<section class="heading-title">
<h1>{{ 'app.admin.authentication_edit.provider' | translate }} {{provider.name}}</h1>
2016-03-23 18:39:41 +01:00
</section>
</div>
<div class="col-md-3">
<section class="heading-actions wrapper">
<div class="btn btn-lg btn-block btn-default m-t-xs" ng-click="cancel()" translate>
{{ 'app.shared.buttons.cancel' }}
2016-03-23 18:39:41 +01:00
</div>
</section>
</div>
</div>
</section>
<div class="row no-gutter">
<div class=" col-sm-12 col-md-9 b-r nopadding">
<form role="form" name="providerForm" class="form-horizontal" novalidate>
<section class="panel panel-default bg-light m-lg">
<div class="panel-body m-r">
<ng-include src="'/admin/authentications/_form.html'"></ng-include>
<ng-include src="'/admin/authentications/_oauth2.html'" ng-if="provider.providable_type == 'OAuth2Provider'"></ng-include>
2016-03-23 18:39:41 +01:00
</div> <!-- ./panel-body -->
<div class="panel-footer no-padder">
<input type="button" value="{{ 'app.shared.buttons.confirm_changes' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="providerForm.$invalid" ng-click="updateProvider()"/>
2016-03-23 18:39:41 +01:00
</div>
</section>
</form>
</div>
</div>
</div>