mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-14 15:16:04 +10:00
Update gray block under subnav to match other pages
This commit is contained in:
@@ -97,6 +97,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
.sub-header-block {
|
||||
background-color: $white-light;
|
||||
border-bottom: 1px solid $white-dark;
|
||||
padding: 11px 0;
|
||||
margin-bottom: 11px;
|
||||
|
||||
.oneline {
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
&.no-bottom-space {
|
||||
border-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.cover-block {
|
||||
text-align: center;
|
||||
background: $background-color;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
= render "projects/commits/head"
|
||||
|
||||
%div{ class: (container_class) }
|
||||
.row-content-block.second-block.content-component-block
|
||||
.sub-header-block
|
||||
Compare branches, tags or commit ranges.
|
||||
%br
|
||||
Fill input field with commit id like
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
- @no_container = true
|
||||
- page_title "#{params[:from]}...#{params[:to]}"
|
||||
= render "projects/commits/head"
|
||||
|
||||
%div{ class: (container_class) }
|
||||
.sub-header-block.no-bottom-space
|
||||
= render "form"
|
||||
|
||||
.row-content-block
|
||||
= render "form"
|
||||
|
||||
- if @commits.present?
|
||||
.prepend-top-default
|
||||
- if @commits.present?
|
||||
= render "projects/commits/commit_list"
|
||||
= render "projects/diffs/diffs", diffs: @diffs, project: @project, diff_refs: @diff_refs
|
||||
- else
|
||||
.light-well.prepend-top-default
|
||||
.center
|
||||
%h4
|
||||
There isn't anything to compare.
|
||||
%p.slead
|
||||
- if params[:to] == params[:from]
|
||||
%span.label-branch #{params[:from]}
|
||||
and
|
||||
%span.label-branch #{params[:to]}
|
||||
are the same.
|
||||
- else
|
||||
You'll need to use different branch names to get a valid comparison.
|
||||
- else
|
||||
.light-well
|
||||
.center
|
||||
%h4
|
||||
There isn't anything to compare.
|
||||
%p.slead
|
||||
- if params[:to] == params[:from]
|
||||
%span.label-branch #{params[:from]}
|
||||
and
|
||||
%span.label-branch #{params[:to]}
|
||||
are the same.
|
||||
- else
|
||||
You'll need to use different branch names to get a valid comparison.
|
||||
|
||||
Reference in New Issue
Block a user