]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/blob
ce973cbd819c9d3445e77c9d0e6091ee875c7408
[ceph.git] /
1 <div class="modal-header">
2   <h4 i18n="form title|Example: Create Pool@@formTitle"
3       class="modal-title pull-left">{{ action | titlecase }} {{ resource | upperFirst }}</h4>
4   <button type="button"
5           class="close pull-right"
6           aria-label="Close"
7           (click)="bsModalRef.hide()">
8     <span aria-hidden="true">&times;</span>
9   </button>
10 </div>
11 <div class="modal-body">
12   <form class="form-horizontal"
13         novalidate>
14
15     <!-- Username -->
16     <div class="form-group">
17       <label class="control-label col-sm-3"
18              for="user"
19              i18n>Username</label>
20       <div class="col-sm-9">
21         <input id="user"
22                name="user"
23                class="form-control"
24                type="text"
25                [readonly]="true"
26                [(ngModel)]="user">
27       </div>
28     </div>
29
30     <!-- Secret key -->
31     <div class="form-group">
32       <label class="control-label col-sm-3"
33              for="secret_key"
34              i18n>Secret key</label>
35       <div class="col-sm-9">
36         <div class="input-group">
37           <input id="secret_key"
38                  name="secret_key"
39                  class="form-control"
40                  type="password"
41                  [(ngModel)]="secret_key"
42                  [readonly]="true">
43           <span class="input-group-btn">
44             <button type="button"
45                     class="btn btn-default"
46                     cdPasswordButton="secret_key">
47             </button>
48             <button type="button"
49                     class="btn btn-default"
50                     cdCopy2ClipboardButton="secret_key">
51             </button>
52           </span>
53         </div>
54       </div>
55     </div>
56
57   </form>
58 </div>
59 <div class="modal-footer">
60   <cd-back-button [back]="bsModalRef.hide"></cd-back-button>
61 </div>