Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/gcp')
-rw-r--r--app/views/projects/gcp/artifact_registry/docker_images/_docker_image.html.haml33
-rw-r--r--app/views/projects/gcp/artifact_registry/docker_images/_docker_image_tag.html.haml1
-rw-r--r--app/views/projects/gcp/artifact_registry/docker_images/_pagination.html.haml13
-rw-r--r--app/views/projects/gcp/artifact_registry/docker_images/index.html.haml23
-rw-r--r--app/views/projects/gcp/artifact_registry/setup/new.html.haml31
5 files changed, 0 insertions, 101 deletions
diff --git a/app/views/projects/gcp/artifact_registry/docker_images/_docker_image.html.haml b/app/views/projects/gcp/artifact_registry/docker_images/_docker_image.html.haml
deleted file mode 100644
index 750dea9896f..00000000000
--- a/app/views/projects/gcp/artifact_registry/docker_images/_docker_image.html.haml
+++ /dev/null
@@ -1,33 +0,0 @@
-.gl-display-flex.gl-flex-direction-column
- .gl-display-flex.gl-flex-direction-column.gl-border-b-solid.gl-border-t-solid.gl-border-t-1.gl-border-b-1.gl-border-t-transparent.gl-border-b-gray-100
- .gl-display-flex.gl-align-items-center.gl-py-3
- .gl-display-flex.gl-flex-direction-column.gl-sm-flex-direction-row.gl-justify-content-space-between.gl-align-items-stretch.gl-flex-grow-1
- .gl-display-flex.gl-flex-direction-column.gl-mb-3.gl-sm-mb-0.gl-min-w-0.gl-flex-grow-1
- .gl-display-flex.gl-align-items-center.gl-text-body.gl-font-weight-bold.gl-font-size-h2
- %span.gl-text-body.gl-font-weight-bold= docker_image.short_name
- .gl-bg-gray-50.gl-inset-border-1-gray-100.gl-rounded-base.gl-pt-6
- .gl-display-flex.gl-align-items-top.gl-font-monospace.gl-font-sm.gl-word-break-all.gl-p-4.gl-border-b-solid.gl-border-gray-100.gl-border-b-1
- = sprite_icon('information-o', css_class: 'gl-text-gray-500 gl-mr-3 gl-icon s16')
- Full name: #{docker_image.name}
- .gl-display-flex.gl-align-items-top.gl-font-monospace.gl-font-sm.gl-word-break-all.gl-p-4.gl-border-b-solid.gl-border-gray-100.gl-border-b-1
- = sprite_icon('earth', css_class: 'gl-text-gray-500 gl-mr-3 gl-icon s16')
- %a{ href: docker_image.details_url, target: 'blank', rel: 'noopener noreferrer' }
- Artifact Registry details page
- .gl-display-flex.gl-align-items-top.gl-font-monospace.gl-font-sm.gl-word-break-all.gl-p-4.gl-border-b-solid.gl-border-gray-100.gl-border-b-1
- = sprite_icon('doc-code', css_class: 'gl-text-gray-500 gl-mr-3 gl-icon s16')
- Media Type: #{docker_image.media_type}
- .gl-display-flex.gl-align-items-top.gl-font-monospace.gl-font-sm.gl-word-break-all.gl-p-4.gl-border-b-solid.gl-border-gray-100.gl-border-b-1
- = sprite_icon('archive', css_class: 'gl-text-gray-500 gl-mr-3 gl-icon s16')
- Size: #{number_to_human_size(docker_image.image_size_bytes)}
- .gl-display-flex.gl-align-items-top.gl-font-monospace.gl-font-sm.gl-word-break-all.gl-p-4.gl-border-b-solid.gl-border-gray-100.gl-border-b-1
- = sprite_icon('calendar', css_class: 'gl-text-gray-500 gl-mr-3 gl-icon s16')
- Built at: #{docker_image.built_at&.to_fs}
- .gl-display-flex.gl-align-items-top.gl-font-monospace.gl-font-sm.gl-word-break-all.gl-p-4.gl-border-b-solid.gl-border-gray-100.gl-border-b-1
- = sprite_icon('calendar', css_class: 'gl-text-gray-500 gl-mr-3 gl-icon s16')
- Uploaded at: #{docker_image.uploaded_at&.to_fs}
- .gl-display-flex.gl-align-items-top.gl-font-monospace.gl-font-sm.gl-word-break-all.gl-p-4.gl-border-b-solid.gl-border-gray-100.gl-border-b-1
- = sprite_icon('calendar', css_class: 'gl-text-gray-500 gl-mr-3 gl-icon s16')
- Updated at: #{docker_image.updated_at&.to_fs}
- - if docker_image.tags.present?
- .gl-display-flex.gl-align-items-center.gl-text-gray-500.gl-min-h-6.gl-min-w-0.gl-flex-grow-1.gl-pt-4
- = render partial: 'docker_image_tag', collection: docker_image.tags
diff --git a/app/views/projects/gcp/artifact_registry/docker_images/_docker_image_tag.html.haml b/app/views/projects/gcp/artifact_registry/docker_images/_docker_image_tag.html.haml
deleted file mode 100644
index a030cd7d634..00000000000
--- a/app/views/projects/gcp/artifact_registry/docker_images/_docker_image_tag.html.haml
+++ /dev/null
@@ -1 +0,0 @@
-%a.gl-button.btn.btn-md.btn-default.gl-mr-3!= docker_image_tag
diff --git a/app/views/projects/gcp/artifact_registry/docker_images/_pagination.html.haml b/app/views/projects/gcp/artifact_registry/docker_images/_pagination.html.haml
deleted file mode 100644
index df98ba8d68e..00000000000
--- a/app/views/projects/gcp/artifact_registry/docker_images/_pagination.html.haml
+++ /dev/null
@@ -1,13 +0,0 @@
-.gl-display-flex.gl-justify-content-center
- %nav.gl-pagination.gl-mt-3
- .gl-keyset-pagination.btn-group
- - if @page > 1
- = link_to 'Prev', namespace_project_gcp_artifact_registry_docker_images_path(params[:namespace_id], params[:project_id], page_token: @previous_page_token, page_tokens: @page_tokens, page: @page - 1, gcp_project_id: params[:gcp_project_id], gcp_location: params[:gcp_location], gcp_ar_repository: params[:gcp_ar_repository], gcp_wlif_url: params[:gcp_wlif_url]), class: 'btn btn-default btn-md gl-button'
- - else
- %span.btn.btn-default.btn-md.gl-button.disabled= 'Prev'
- - if @next_page_token.present?
- = link_to 'Next', namespace_project_gcp_artifact_registry_docker_images_path(params[:namespace_id], params[:project_id], page_token: @next_page_token, page_tokens: @page_tokens, page: @page + 1, gcp_project_id: params[:gcp_project_id], gcp_location: params[:gcp_location], gcp_ar_repository: params[:gcp_ar_repository], gcp_wlif_url: params[:gcp_wlif_url]), class: 'btn btn-default btn-md gl-button'
- - else
- %span.btn.btn-default.btn-md.gl-button.disabled= 'Next'
-
-
diff --git a/app/views/projects/gcp/artifact_registry/docker_images/index.html.haml b/app/views/projects/gcp/artifact_registry/docker_images/index.html.haml
deleted file mode 100644
index b487a175691..00000000000
--- a/app/views/projects/gcp/artifact_registry/docker_images/index.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-- page_title 'Artifact Registry Docker Images'
-
-- unless @error
- .gl-display-flex.gl-flex-direction-column
- .gl-display-flex.gl-justify-content-space-between.gl-py-3
- .gl-flex-direction-column.gl-flex-grow-1
- .gl-display-flex
- .gl-display-flex.gl-flex-direction-column
- %h2.gl-font-size-h1.gl-mt-3.gl-mb-0 Docker Images of #{@artifact_repository_name}
- = render partial: 'pagination'
- = render partial: 'docker_image', collection: @docker_images
- = render partial: 'pagination'
-- else
- .flash-container.flash-container-page.sticky
- .gl-alert.flash-notice.gl-alert-info
- .gl-alert-icon-container
- = sprite_icon('information-o', css_class: 's16 gl-alert-icon gl-alert-icon-no-title')
- .gl-alert-content
- .gl-alert-body
- - if @error
- = @error
- - else
- Nothing to show here.
diff --git a/app/views/projects/gcp/artifact_registry/setup/new.html.haml b/app/views/projects/gcp/artifact_registry/setup/new.html.haml
deleted file mode 100644
index 39ce0093372..00000000000
--- a/app/views/projects/gcp/artifact_registry/setup/new.html.haml
+++ /dev/null
@@ -1,31 +0,0 @@
-- page_title 'Artifact Registry Setup'
-
-- if @error.present?
- .flash-container.flash-container-page.sticky
- .gl-alert.flash-notice.gl-alert-info
- .gl-alert-icon-container
- = sprite_icon('information-o', css_class: 's16 gl-alert-icon gl-alert-icon-no-title')
- .gl-alert-content
- .gl-alert-body= @error
-- else
- %p
-
- = form_tag namespace_project_gcp_artifact_registry_docker_images_path , method: :get do
- .form-group.row
- = label_tag :gcp_project_id, 'Google Project ID', class: 'col-form-label col-md-2'
- .col-md-4
- = text_field_tag :gcp_project_id, nil, class: 'form-control gl-form-input gl-mr-3'
- .form-group.row
- = label_tag :gcp_location, 'Google Project Location', class: 'col-form-label col-md-2'
- .col-md-4
- = text_field_tag :gcp_location, nil, class: 'form-control gl-form-input gl-mr-3'
- .form-group.row
- = label_tag :gcp_ar_repository, 'Artifact Registry Repository Name', class: 'col-form-label col-md-2'
- .col-md-4
- = text_field_tag :gcp_ar_repository, nil, class: 'form-control gl-form-input gl-mr-3'
- .form-group.row
- = label_tag :gcp_wlif_url, 'Worflow Identity Federation url', class: 'col-form-label col-md-2'
- .col-md-4
- = text_field_tag :gcp_wlif_url, nil, class: 'form-control gl-form-input gl-mr-3'
- .form-actions
- = submit_tag 'Setup', class: 'gl-button btn btn-confirm'