File: deploy.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 (64 lines) | stat: -rw-r--r-- 3,428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<modal-dialog>
    <div class="modal-header">
        <h3 class="modal-title" translate>Deploy Application</h3>
    </div>
    <div class="modal-body">
        <table class="form-table-ct">
            <tr>
                <td class="top">
                    <label class="control-label" for="deploy-app-type-label" translate>Type</label>
                </td>
                <td id="deploy-app-type-field" class="dialog-wrapper">
                    <div class="btn-group bootstrap-select deploy-type form-control" dropdown>
                        <button class="btn btn-default dropdown-toggle" type="button" dropdown-toggle>
                            <span class="pull-left">{{ selected.name }}</span>
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li ng-repeat="type in types" ng-class="{ checked: selected.name == type.name }">
                                <a ng-click="select(type)">{{type.name}}</a>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="top">
                    <label class="control-label" for="deploy-app-file">{{ selected.name }}</label>
                </td>
                <td class="dialog-wrapper">
                    <div ng-if="selected.type == 'manifest'" file-button>
                    </div>
                    <input id="deploy-app-nulecule-image" class="form-control" type="text" placeholder="eg: docker/image"
                           ng-if="selected.type == 'nulecule'">
                </td>
            </tr>
            <tr>
                <td class="top">
                    <label ng-if="flavor == 'openshift'" class="control-label top" for="deploy-app-namespace" id="deploy-app-namespace-label">Project</label>
                    <label ng-if="flavor != 'openshift'" class="control-label top" for="deploy-app-namespace" id="deploy-app-namespace-label">Namespace</label>
                </td>
                <td>
                    <div class="input-group bootstrap-select input-combo form-control" id="deploy-app-namespace-group" dropdown>
                        <input id="deploy-app-namespace" class="form-control" type="text" placeholder="eg: myapplication" ng-model="fields.namespace">
                        <span class="input-group-btn" dropdown="">
                            <button class="btn btn-default dropdown-toggle" type="button" dropdown-toggle>
                                <span class="caret"></span>
                            </button>
                            <ul span ng-if="!namespace" class="dropdown-menu dropdown-menu-left">
                                <li ng-repeat="name in namespaces track by name" ng-class="{ checked: fields.namespace == name }">
                                    <a ng-click="fields.namespace = name">{{name}}</a>
                                </li>
                            </ul>
                        </span>
                    </div>
                </td>
            </tr>
        </table>

    </div>
    <div class="modal-footer">
        <button class="btn btn-default btn-cancel" translate>Cancel</button>
        <button class="btn btn-primary" translate ng-click="complete(performDeploy())">Deploy</button>
    </div>
</modal-dialog>