Sha256: 490feb4ad05b32748d539b62b039f2436a8c4226d121e27686dad54a5f413aa6

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 KB

Contents

<div data-extend-template="layouts/details-page-with-breadcrumbs.html">
  <header data-block="header">
    <h2 translate>Create Content Credential</h2>
  </header>

  <div data-block="content" class="row">
    <form name="contentCredentialForm" class="col-sm-5" novalidate role="form"
          action="{{ uploadURL }}"
          ng-upload="uploadContent(content)"
          upload-options-enable-rails-csrf>

      <div bst-form-group label="{{ 'Name *' | translate }}">
        <input id="name"
               name="name"
               ng-model="contentCredential.name"
               type="text"
               tabindex="1"
               autofocus
               required/>
      </div>

      <div bst-form-group label="{{ 'Type' | translate }}">
        <select id="content_type"
                name="content_type"
                required>
          <option value="gpg_key" translate>GPG Key</option>
          <option value="cert" translate>SSL Certificate</option>
        </select>
      </div>

      <div bst-form-group label="{{ 'Content Credential Contents *' | translate }}">
        <textarea name="content"
                  ng-model="contentCredential.pastedContent"
                  tabindex="1"
                  class="form-control"
                  style="font-family: monospace"
                  rows="15"
                  placeholder="{{ 'Paste contents of Content Credential' | translate }}"
                  >
        </textarea>
      </div>

      <div class="form-group">
        <input type="file" name="file_path"/>
        <p class="help-block" translate>Upload Content Credential file</p>
      </div>

      <div bst-form-buttons upload-submit
           on-cancel="transitionTo('content-credentials')"
           ng-disabled="contentCredential.name == undefined"
           working="progress.uploading">
      </div>
    </form>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katello-4.14.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/views/new-content-credential.html
katello-4.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/views/new-content-credential.html
katello-4.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/views/new-content-credential.html
katello-4.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/views/new-content-credential.html
katello-4.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/views/new-content-credential.html
katello-4.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/views/new-content-credential.html