File: node-delete.html

package info (click to toggle)
cockpit 188-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 119,768 kB
  • sloc: ansic: 66,833; xml: 5,776; python: 3,122; sh: 2,322; makefile: 1,289; sed: 7
file content (17 lines) | stat: -rw-r--r-- 841 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<modal-dialog>
    <div class="modal-header">
        <h3 class="modal-title" ng-if="nodes.length > 1" translate>Delete Nodes</h3>
        <h3 class="modal-title" ng-if="nodes.length == 1" translate>Delete Node</h3>
    </div>
    <div class="modal-body nodes-delete">
        <p translate ng-if="nodes.length == 1">Do you want to delete this Node?</p>
        <p translate ng-if="nodes.length > 1">Do you want to delete the following Nodes?</p>
        <ul ng-class="{'dialog-list-ct': nodes.length > 1}">
            <li ng-repeat="node in nodes">{{ node.metadata.name }}</li>
        </ul>
    </div>
    <div class="modal-footer">
        <button class="btn btn-default btn-cancel" translate>Cancel</button>
        <button class="btn btn-danger" translate ng-click="complete(performDelete())">Delete</button>
    </div>
</modal-dialog>