Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
c753975b
Commit
c753975b
authored
Apr 05, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some minor improvements into registry partials
parent
b611da70
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
app/assets/stylesheets/pages/container_registry.scss
app/assets/stylesheets/pages/container_registry.scss
+1
-1
app/views/projects/registry/repositories/_image.html.haml
app/views/projects/registry/repositories/_image.html.haml
+3
-4
No files found.
app/assets/stylesheets/pages/container_registry.scss
View file @
c753975b
...
@@ -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
:
4
em
;
}
}
.table.tags
{
.table.tags
{
...
...
app/views/projects/registry/repositories/_image.html.haml
View file @
c753975b
.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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment