Commit c753975b authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add some minor improvements into registry partials

parent b611da70
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.container-image-head { .container-image-head {
padding: 0 16px; padding: 0 16px;
line-height: 4; line-height: 4em;
} }
.table.tags { .table.tags {
......
.container-image.js-toggle-container .container-image.js-toggle-container
.container-image-head .container-image-head
= link_to "#", class: "js-toggle-button" do = link_to "#", class: "js-toggle-button" do
= icon("chevron-down") = icon('chevron-down', 'aria-hidden': 'true')
= escape_once(image.path) = escape_once(image.path)
= clipboard_button(clipboard_text: "docker pull #{image.path}") = clipboard_button(clipboard_text: "docker pull #{image.path}")
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
title: 'Remove repository', title: 'Remove repository',
data: { confirm: 'Are you sure?' }, data: { confirm: 'Are you sure?' },
method: :delete do method: :delete do
= icon('trash cred') = icon('trash cred', 'aria-hidden': 'true')
.container-image-tags.js-toggle-content.hide .container-image-tags.js-toggle-content.hide
- if image.has_tags? - if image.has_tags?
...@@ -28,6 +28,5 @@ ...@@ -28,6 +28,5 @@
%th %th
= render partial: 'tag', collection: image.tags = render partial: 'tag', collection: image.tags
- else - else
%li .nothing-here-block No tags in Container Registry for this container image.
.nothing-here-block No tags in Container Registry for this container image.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment