Commit 07d20657 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Style CI projects page and builds list

parent a0aa6453
......@@ -6,19 +6,54 @@
line-height: 1.5;
}
.builds {
@extend .table;
.wide-table-holder {
margin-left: -$gl-padding;
margin-right: -$gl-padding;
}
.builds,
.projects-table {
.alert-success {
background-color: #6fc995;
border-color: #5bba83;
}
.build {
&.alert{
margin-bottom: 6px;
.alert-danger {
background-color: #eb897f;
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 {
vertical-align: middle !important;
border-color: inherit !important;
a {
font-weight: normal;
text-decoration: none;
}
}
}
......
......@@ -2,7 +2,7 @@
%tr.alert{class: commit_status_alert_class(last_commit) }
%td
= link_to [:ci, project] do
%strong= project.name
= project.name
%td
- if last_commit
#{last_commit.status} (#{commit_link(last_commit)})
......
- if @offset == 0
.clearfix.light
.gray-content-block.clearfix.light.second-block
.pull-left.fetch-status
- if params[:search].present?
by keyword: "#{params[:search]}",
#{@total_count} projects, #{@projects.size} of them added to CI
%br
.wide-table-holder
%table.table.projects-table.content-list
%thead
%tr
......
- if current_user
.gray-content-block.top-block
= render "search"
.projects.prepend-top-default
.projects
%p.fetch-status.light
%i.fa.fa-refresh.fa-spin
:coffeescript
......
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