diff options
Diffstat (limited to 'spec/frontend/registry/explorer/components/list_page/__snapshots__/project_empty_state_spec.js.snap')
-rw-r--r-- | spec/frontend/registry/explorer/components/list_page/__snapshots__/project_empty_state_spec.js.snap | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/spec/frontend/registry/explorer/components/list_page/__snapshots__/project_empty_state_spec.js.snap b/spec/frontend/registry/explorer/components/list_page/__snapshots__/project_empty_state_spec.js.snap new file mode 100644 index 00000000000..d8ec9c3ca4d --- /dev/null +++ b/spec/frontend/registry/explorer/components/list_page/__snapshots__/project_empty_state_spec.js.snap @@ -0,0 +1,119 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Registry Project Empty state to match the default snapshot 1`] = ` +<div + class="container-message" + svg-path="bazFoo" + title="There are no container images stored for this project" +> + <p + class="js-no-container-images-text" + > + With the Container Registry, every project can have its own space to store its Docker images. + <gl-link-stub + href="baz" + target="_blank" + > + More Information + </gl-link-stub> + </p> + + <h5> + CLI Commands + </h5> + + <p + class="js-not-logged-in-to-registry-text" + > + If you are not already logged in, you need to authenticate to the Container Registry by using your GitLab username and password. If you have + <gl-link-stub + href="barBaz" + target="_blank" + > + Two-Factor Authentication + </gl-link-stub> + enabled, use a + <gl-link-stub + href="fooBaz" + target="_blank" + > + Personal Access Token + </gl-link-stub> + instead of a password. + </p> + + <div + class="input-group append-bottom-10" + > + <input + class="form-control monospace" + readonly="readonly" + type="text" + /> + + <span + class="input-group-append" + > + <clipboard-button-stub + class="input-group-text" + cssclass="btn-default" + text="docker login bar" + title="Copy login command" + tooltipplacement="top" + /> + </span> + </div> + + <p /> + + <p> + + You can add an image to this registry with the following commands: + + </p> + + <div + class="input-group append-bottom-10" + > + <input + class="form-control monospace" + readonly="readonly" + type="text" + /> + + <span + class="input-group-append" + > + <clipboard-button-stub + class="input-group-text" + cssclass="btn-default" + text="docker build -t foo ." + title="Copy build command" + tooltipplacement="top" + /> + </span> + </div> + + <div + class="input-group" + > + <input + class="form-control monospace" + readonly="readonly" + type="text" + /> + + <span + class="input-group-append" + > + <clipboard-button-stub + class="input-group-text" + cssclass="btn-default" + text="docker push foo" + title="Copy push command" + tooltipplacement="top" + /> + </span> + </div> +</div> +`; |