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
Boxiang Sun
gitlab-ce
Commits
8ef500a5
Commit
8ef500a5
authored
Nov 05, 2018
by
Mike Greiling
Committed by
Thong Kuah
Nov 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redesign cluster index
parent
236a0cb4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
14 deletions
+40
-14
app/assets/stylesheets/pages/clusters.scss
app/assets/stylesheets/pages/clusters.scss
+25
-0
app/views/clusters/clusters/_cluster.html.haml
app/views/clusters/clusters/_cluster.html.haml
+14
-13
app/views/clusters/clusters/index.html.haml
app/views/clusters/clusters/index.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/clusters.scss
View file @
8ef500a5
...
...
@@ -86,6 +86,31 @@
.top-area
.nav-controls
>
.btn.btn-add-cluster
{
margin-right
:
0
;
}
.clusters-table
{
background-color
:
$gray-light
;
padding
:
$gl-padding-8
;
}
.badge-light
{
background-color
:
$white-normal
;
}
.gl-responsive-table-row
{
padding
:
$gl-padding
;
border
:
0
;
&
.table-row-header
{
background-color
:
none
;
border
:
0
;
font-weight
:
bold
;
color
:
$gl-gray-500
;
}
}
}
.cluster-warning
{
@include
alert-variant
(
theme-color-level
(
'warning'
,
$alert-bg-level
)
,
theme-color-level
(
'warning'
,
$alert-border-level
)
,
theme-color-level
(
'warning'
,
$alert-color-level
));
}
.gcp-signup-offer
{
...
...
app/views/clusters/clusters/_cluster.html.haml
View file @
8ef500a5
.gl-responsive-table-row
.table-section.section-60
.table-mobile-header
{
role:
"rowheader"
}=
s_
(
"ClusterIntegration|Kubernetes cluster"
)
.table-mobile-content
=
link_to
cluster
.
name
,
cluster
.
show_path
.table-section.section-25
.table-mobile-header
{
role:
"rowheader"
}=
s_
(
"ClusterIntegration|Environment scope"
)
.table-mobile-content
=
cluster
.
environment_scope
.table-section.section-15.text-right
.table-mobile-header
{
role:
"rowheader"
}
.table-mobile-content
%span
.badge.badge-light
=
cluster
.
project_type?
?
s_
(
"ClusterIntegration|Project cluster"
)
:
s_
(
"ClusterIntegration|Group cluster"
)
.card
.card-body.gl-responsive-table-row
.table-section.section-60
.table-mobile-header
{
role:
"rowheader"
}=
s_
(
"ClusterIntegration|Kubernetes cluster"
)
.table-mobile-content
=
link_to
cluster
.
name
,
cluster
.
show_path
.table-section.section-25
.table-mobile-header
{
role:
"rowheader"
}=
s_
(
"ClusterIntegration|Environment scope"
)
.table-mobile-content
=
cluster
.
environment_scope
.table-section.section-15.text-right
.table-mobile-header
{
role:
"rowheader"
}
.table-mobile-content
%span
.badge.badge-light
=
cluster
.
project_type?
?
s_
(
"ClusterIntegration|Project cluster"
)
:
s_
(
"ClusterIntegration|Group cluster"
)
app/views/clusters/clusters/index.html.haml
View file @
8ef500a5
...
...
@@ -11,7 +11,7 @@
.nav-text
=
s_
(
"ClusterIntegration|Kubernetes clusters can be used to deploy applications and to provide Review Apps for this project"
)
=
render
'clusters/clusters/buttons'
.c
i
-table.js-clusters-list
.c
lusters
-table.js-clusters-list
.gl-responsive-table-row.table-row-header
{
role:
"row"
}
.table-section.section-60
{
role:
"rowheader"
}
=
s_
(
"ClusterIntegration|Kubernetes cluster"
)
...
...
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