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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
07d20657
Commit
07d20657
authored
9 years ago
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style CI projects page and builds list
parent
a0aa6453
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
21 deletions
+56
-21
app/assets/stylesheets/ci/projects.scss
app/assets/stylesheets/ci/projects.scss
+43
-8
app/views/ci/projects/_project.html.haml
app/views/ci/projects/_project.html.haml
+1
-1
app/views/ci/projects/gitlab.html.haml
app/views/ci/projects/gitlab.html.haml
+11
-11
app/views/ci/projects/index.html.haml
app/views/ci/projects/index.html.haml
+1
-1
No files found.
app/assets/stylesheets/ci/projects.scss
View file @
07d20657
...
@@ -6,19 +6,54 @@
...
@@ -6,19 +6,54 @@
line-height
:
1
.5
;
line-height
:
1
.5
;
}
}
.builds
{
.wide-table-holder
{
@extend
.table
;
margin-left
:
-
$gl-padding
;
margin-right
:
-
$gl-padding
;
}
.builds
,
.projects-table
{
.alert-success
{
background-color
:
#6fc995
;
border-color
:
#5bba83
;
}
.
build
{
.
alert-danger
{
&
.alert
{
background-color
:
#eb897f
;
margin-bottom
:
6px
;
border-color
:
#d4776e
;
}
}
.alert-info
{
background-color
:
#3498db
;
border-color
:
#2e8ece
;
}
}
.alert-warning
{
background-color
:
#EB974E
;
border-color
:
#E87E04
;
}
.alert-disabled
{
background
:
$background-color
;
border-color
:
$border-color
;
}
.light
{
border-color
:
$border-color
;
}
th
,
td
{
padding
:
10px
$gl-padding
;
}
}
.projects-table
{
td
{
td
{
vertical-align
:
middle
!
important
;
vertical-align
:
middle
!
important
;
border-color
:
inherit
!
important
;
a
{
font-weight
:
normal
;
text-decoration
:
none
;
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
app/views/ci/projects/_project.html.haml
View file @
07d20657
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
%tr
.alert
{
class:
commit_status_alert_class
(
last_commit
)
}
%tr
.alert
{
class:
commit_status_alert_class
(
last_commit
)
}
%td
%td
=
link_to
[
:ci
,
project
]
do
=
link_to
[
:ci
,
project
]
do
%strong
=
project
.
name
=
project
.
name
%td
%td
-
if
last_commit
-
if
last_commit
#{
last_commit
.
status
}
(
#{
commit_link
(
last_commit
)
}
)
#{
last_commit
.
status
}
(
#{
commit_link
(
last_commit
)
}
)
...
...
This diff is collapsed.
Click to expand it.
app/views/ci/projects/gitlab.html.haml
View file @
07d20657
-
if
@offset
==
0
-
if
@offset
==
0
.
clearfix.light
.
gray-content-block.clearfix.light.second-block
.pull-left.fetch-status
.pull-left.fetch-status
-
if
params
[
:search
].
present?
-
if
params
[
:search
].
present?
by keyword: "
#{
params
[
:search
]
}
",
by keyword: "
#{
params
[
:search
]
}
",
#{
@total_count
}
projects,
#{
@projects
.
size
}
of them added to CI
#{
@total_count
}
projects,
#{
@projects
.
size
}
of them added to CI
%br
.wide-table-holder
%table
.table.projects-table.content-list
%table
.table.projects-table.content-list
%thead
%thead
%tr
%tr
...
...
This diff is collapsed.
Click to expand it.
app/views/ci/projects/index.html.haml
View file @
07d20657
-
if
current_user
-
if
current_user
.gray-content-block.top-block
.gray-content-block.top-block
=
render
"search"
=
render
"search"
.projects
.prepend-top-default
.projects
%p
.fetch-status.light
%p
.fetch-status.light
%i
.fa.fa-refresh.fa-spin
%i
.fa.fa-refresh.fa-spin
:coffeescript
:coffeescript
...
...
This diff is collapsed.
Click to expand it.
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