Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Make delete files and directories label clickable #141

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/apigility-ui/modal/delete-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ <h4 class="modal-title" id="myModalDeleteService"><span class="glyphicon glyphic
<p>By default, deleting the API only removes the API module from the application configuration.
You can re-enable it by re-adding the module to your application configuration at a later date.</p>

<p><input type="checkbox" ng-model="vm.recursive" ng-disabled="vm.loading"> Delete all files associated with this API?</p>
<p>
<label>
<input type="checkbox" ng-model="vm.recursive" ng-disabled="vm.loading">
Delete all files associated with this API?
</label>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" ng-click="vm.cancel()" ng-disabled="vm.loading">No</button>
Expand Down
7 changes: 6 additions & 1 deletion src/apigility-ui/modal/delete-rest.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ <h4 class="modal-title" id="myModalDeleteService"><span class="glyphicon glyphic
</div>
<div class="modal-body">
<p class="modal_msg">Are you sure to delete the REST service <strong>{{vm.restName}}</strong>?</p>
<p><input type="checkbox" ng-model="vm.recursive" ng-disabled="vm.loading"> Delete all files and directories for this service</p>
<p>
<label>
<input type="checkbox" ng-model="vm.recursive" ng-disabled="vm.loading">
Delete all files and directories for this service
</label>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" ng-click="vm.cancel()">No</button>
Expand Down
7 changes: 6 additions & 1 deletion src/apigility-ui/modal/delete-rpc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ <h4 class="modal-title" id="myModalDeleteService"><span class="glyphicon glyphic
</div>
<div class="modal-body">
<p class="modal_msg">Are you sure to delete the RPC service <strong>{{vm.rpcName}}</strong>?</p>
<p><input type="checkbox" ng-model="vm.recursive" ng-disabled="vm.loading"> Delete all files and directories for this service</p>
<p>
<label>
<input type="checkbox" ng-model="vm.recursive" ng-disabled="vm.loading">
Delete all files and directories for this service
</label>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" ng-click="vm.cancel()">No</button>
Expand Down