docker-registry-frontend/app/modalConfirmDeleteItems.html
Konrad Kleine 3f988e7309 Restructure code
Now all files dealing with repositories reside in app/repository and all
dealing with tag reside in app/tag. That's far more easy to maintain
than having tag files spread across multiple folders.
2015-08-31 15:32:38 +02:00

39 lines
1,013 B
HTML

<div class="modal-header">
<h3 class="modal-title">
Confirm deletion of <ng-pluralize count="items.length" when="{'one': 'one item', 'other': '{} items'}"></ng-pluralize>
</h3>
</div>
<div class="modal-body">
<p class="text-justify">{{ information }}</p>
<ul>
<li ng-repeat="item in items">
{{ item }}
</li>
</ul>
<p><emph>This operation cannot be undone!</emph><p>
</div>
<div class="modal-footer">
<label>
<checkbox ng-model="unlockDeleteButton"></checkbox>
<!--<input type="checkbox" ng-model="unlockDeleteButton">-->Check to unlock delete button.
</label>
<button type="button" ng-disabled="!items.length || !unlockDeleteButton" ng-click="ok()" class="btn btn-danger">
<span class="glyphicon glyphicon-trash"></span>
<ng-pluralize count="items.length" when="{'0': 'No items to delete', 'one': 'Delete one item', 'other': 'Delete {} items'}">
</ng-pluralize>
</button>
<button class="btn" ng-click="cancel()">Cancel</button>
</div>