All files / src/app/ceph/rgw/rgw-user-swift-key-modal rgw-user-swift-key-modal.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 623x                                                                                                                          
<div class="modal-header">
  <h4 i18n="form title|Example: Create Pool@@formTitle"
      class="modal-title pull-left">{{ action | titlecase }} {{ resource | upperFirst }}</h4>
  <button type="button"
          class="close pull-right"
          aria-label="Close"
          (click)="bsModalRef.hide()">
    <span aria-hidden="true">&times;</span>
  </button>
</div>
<div class="modal-body">
  <form class="form-horizontal"
        novalidate>
 
    <!-- Username -->
    <div class="form-group">
      <label class="control-label col-sm-3"
             for="user"
             i18n>Username</label>
      <div class="col-sm-9">
        <input id="user"
               name="user"
               class="form-control"
               type="text"
               [readonly]="true"
               [(ngModel)]="user">
      </div>
    </div>
 
    <!-- Secret key -->
    <div class="form-group">
      <label class="control-label col-sm-3"
             for="secret_key"
             i18n>Secret key</label>
      <div class="col-sm-9">
        <div class="input-group">
          <input id="secret_key"
                 name="secret_key"
                 class="form-control"
                 type="password"
                 [(ngModel)]="secret_key"
                 [readonly]="true">
          <span class="input-group-btn">
            <button type="button"
                    class="btn btn-default"
                    cdPasswordButton="secret_key">
            </button>
            <button type="button"
                    class="btn btn-default"
                    cdCopy2ClipboardButton="secret_key">
            </button>
          </span>
        </div>
      </div>
    </div>
 
  </form>
</div>
<div class="modal-footer">
  <cd-back-button [back]="bsModalRef.hide"></cd-back-button>
</div>