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