// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Repository Modal - repositories section creates snapshot 1`] = `
<DocumentFragment>
  <div>
    <div
      class="modal-backdrop activeBackdrop"
      data-testid="modalBackdrop"
    />
    <div
      aria-modal="true"
      class="modal modal active d-block"
      role="dialog"
    >
      <div
        class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable"
      >
        <div
          class="modal-content border border-3 mx-auto content modal"
        >
          <div
            class="modal-header d-flex flex-row align-items-center header undefined"
          >
            <div
              class="h3 m-2 flex-grow-1 title"
            >
              Add repository
            </div>
            <button
              aria-label="Close"
              class="btn-close"
              type="button"
            />
          </div>
          <div
            class="modal-body p-4 h-100 d-flex flex-column"
          >
            <div
              class="w-100"
            >
              <form
                autocomplete="on"
                class="w-100 needs-validation"
                data-testid="repoForm"
                novalidate=""
              >
                <div
                  class="w-75 mb-4"
                >
                  <label
                    class="form-label fw-bold label"
                    for="repoKind"
                  >
                    Kind
                  </label>
                  <select
                    aria-label="kind-select"
                    class="form-select"
                    name="repoKind"
                    required=""
                  >
                    <option
                      value="18"
                    >
                      Argo templates
                    </option>
                    <option
                      value="17"
                    >
                      Backstage plugins
                    </option>
                    <option
                      value="27"
                    >
                      Bootable containers
                    </option>
                    <option
                      value="12"
                    >
                      Container images
                    </option>
                    <option
                      value="9"
                    >
                      CoreDNS plugins
                    </option>
                    <option
                      value="1"
                    >
                      Falco rules
                    </option>
                    <option
                      value="14"
                    >
                      Gatekeeper policies
                    </option>
                    <option
                      value="21"
                    >
                      Headlamp plugins
                    </option>
                    <option
                      value="0"
                    >
                      Helm charts
                    </option>
                    <option
                      value="6"
                    >
                      Helm plugins
                    </option>
                    <option
                      value="22"
                    >
                      Inspektor gadgets
                    </option>
                    <option
                      value="28"
                    >
                      Kagent agents
                    </option>
                    <option
                      value="20"
                    >
                      KCL modules
                    </option>
                    <option
                      value="8"
                    >
                      KEDA scalers
                    </option>
                    <option
                      value="10"
                    >
                      Keptn integrations
                    </option>
                    <option
                      value="16"
                    >
                      Knative client plugins
                    </option>
                    <option
                      value="5"
                    >
                      Krew kubectl plugins
                    </option>
                    <option
                      value="19"
                    >
                      KubeArmor policies
                    </option>
                    <option
                      value="13"
                    >
                      Kubewarden policies
                    </option>
                    <option
                      value="15"
                    >
                      Kyverno policies
                    </option>
                    <option
                      value="24"
                    >
                      Meshery designs
                    </option>
                    <option
                      value="3"
                    >
                      OLM operators
                    </option>
                    <option
                      value="2"
                    >
                      OPA policies
                    </option>
                    <option
                      value="25"
                    >
                      OpenCost plugins
                    </option>
                    <option
                      value="26"
                    >
                      Radius recipes
                    </option>
                    <option
                      value="11"
                    >
                      Tekton pipelines
                    </option>
                    <option
                      value="23"
                    >
                      Tekton stepactions
                    </option>
                    <option
                      value="7"
                    >
                      Tekton tasks
                    </option>
                    <option
                      value="4"
                    >
                      Tinkerbell actions
                    </option>
                  </select>
                </div>
                <div
                  class="mb-4 position-relative undefined"
                >
                  <label
                    class="form-label fw-bold label"
                    for="name"
                  >
                    <span
                      class="fw-bold"
                    >
                      Name
                    </span>
                    <small
                      class="ms-1 fst-italic"
                    >
                      (Required)
                    </small>
                  </label>
                  <input
                    autocomplete="off"
                    class="form-control"
                    data-testid="nameInput"
                    id="name"
                    name="name"
                    pattern="[a-z][a-z0-9\\\\-]*"
                    required=""
                    spellcheck="false"
                    type="text"
                    value=""
                  />
                  <div
                    class="invalid-feedback mt-0 inputFeedback"
                  >
                    This field is required
                  </div>
                  <div
                    class="alert p-0 mt-4"
                  >
                    <small
                      class="text-muted text-break mt-1"
                    >
                      <p
                        class="mb-0"
                      >
                        This name will appear in your packages' urls and 
                        <span
                          class="fw-bold"
                        >
                          cannot be updated
                        </span>
                         once is saved.
                      </p>
                    </small>
                  </div>
                </div>
                <div
                  class="mb-4 position-relative undefined"
                >
                  <label
                    class="form-label fw-bold label"
                    for="displayName"
                  >
                    <span
                      class="fw-bold"
                    >
                      Display name
                    </span>
                  </label>
                  <input
                    class="form-control"
                    data-testid="displayNameInput"
                    id="displayName"
                    name="displayName"
                    spellcheck="false"
                    type="text"
                    value=""
                  />
                  <div
                    class="invalid-feedback mt-0 inputFeedback"
                  />
                </div>
                <div
                  class="mb-4 position-relative undefined"
                >
                  <label
                    class="form-label fw-bold label"
                    for="url"
                  >
                    <span
                      class="fw-bold"
                    >
                      Url
                    </span>
                    <small
                      class="ms-1 fst-italic"
                    >
                      (Required)
                    </small>
                  </label>
                  <input
                    class="form-control"
                    data-testid="urlInput"
                    id="url"
                    name="url"
                    placeholder=""
                    required=""
                    spellcheck="false"
                    type="url"
                    value=""
                  />
                  <div
                    class="invalid-feedback mt-0 inputFeedback"
                  >
                    This field is required
                  </div>
                </div>
                <div
                  class="text-muted text-break mt-1 mb-4"
                >
                  <small>
                    <p
                      class="mb-0"
                    >
                      For more information about the url format and the repository structure, please see the 
                      <a
                        aria-label="Open documentation"
                        class="link text-primary fw-bold"
                        href="/docs/topics/repositories/helm-charts"
                        rel="noopener noreferrer"
                        role="button"
                        tabindex="-1"
                        target="_blank"
                      >
                        Helm charts repositories
                      </a>
                       section in the 
                      <a
                        aria-label="Open documentation"
                        class="link text-primary fw-bold"
                        href="/docs/repositories"
                        rel="noopener noreferrer"
                        role="button"
                        tabindex="-1"
                        target="_blank"
                      >
                        repositories guide
                      </a>
                      .
                    </p>
                  </small>
                </div>
                <div
                  class="mb-4"
                >
                  <div
                    class="form-check form-switch ps-0"
                  >
                    <label
                      class="form-check-label fw-bold label"
                      for="disabledRepo"
                    >
                      Disabled
                    </label>
                    <input
                      class="form-check-input position-absolute ms-2"
                      id="disabledRepo"
                      role="switch"
                      type="checkbox"
                      value="true"
                    />
                  </div>
                  <div
                    class="form-text text-muted mt-2"
                  >
                    Use this switch to disable the repository temporarily or permanently.
                  </div>
                </div>
                <div
                  class="mt-4 mb-3"
                >
                  <div
                    class="form-check form-switch ps-0"
                  >
                    <label
                      class="form-check-label fw-bold label"
                      for="scannerDisabledRepo"
                    >
                      Security scanner disabled
                    </label>
                     
                    <input
                      class="form-check-input position-absolute ms-2"
                      id="scannerDisabledRepo"
                      role="switch"
                      type="checkbox"
                      value="true"
                    />
                  </div>
                  <div
                    class="form-text text-muted mt-2"
                  >
                    Use this switch to disable the security scanning of the packages in this repository.
                  </div>
                </div>
              </form>
            </div>
            <div>
              <div
                class="overflow-hidden alertWrapper"
                data-testid="alertWrapper"
              />
            </div>
          </div>
          <div
            class="modal-footer p-3 undefined"
          >
            <button
              aria-label="Add repository"
              class="btn btn-sm btn-outline-secondary"
              type="button"
            >
              <div
                class="d-flex flex-row align-items-center text-uppercase"
              >
                <svg
                  class="me-2"
                  fill="currentColor"
                  height="1em"
                  stroke="currentColor"
                  stroke-width="0"
                  viewBox="0 0 24 24"
                  width="1em"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <path
                    d="M0 0h24v24H0z"
                    fill="none"
                  />
                  <path
                    d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"
                  />
                </svg>
                <div>
                  Add
                </div>
              </div>
            </button>
          </div>
        </div>
      </div>
    </div>
  </div>
</DocumentFragment>
`;
