Fix edit page crash. Minot UI imporvements
This commit is contained in:
parent
46277c3948
commit
e97abfce3b
7 changed files with 12 additions and 10 deletions
|
@ -77,7 +77,7 @@
|
|||
|
||||
@mixin md-typography {
|
||||
code { padding: 0 4px; }
|
||||
p { font-size: 13px; }
|
||||
p { font-size: 14px; }
|
||||
h1 { margin-top: 30px;}
|
||||
h2 { margin-top: 25px;}
|
||||
h3 { margin-top: 20px;}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
ul {
|
||||
margin: auto;
|
||||
height: 40px;
|
||||
height: 42px;
|
||||
overflow: hidden;
|
||||
.count {
|
||||
font-weight: normal;
|
||||
|
@ -74,7 +74,7 @@
|
|||
text-align: center;
|
||||
font-weight: normal;
|
||||
height: 38px;
|
||||
line-height: 34px;
|
||||
line-height: 36px;
|
||||
color: #777;
|
||||
text-shadow: 0 1px 1px white;
|
||||
padding: 0 10px;
|
||||
|
|
|
@ -31,4 +31,8 @@
|
|||
border-left: 1px solid #666;
|
||||
}
|
||||
}
|
||||
|
||||
.main-nav {
|
||||
box-shadow: 0 -1px 0 white inset;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -134,7 +134,7 @@ module CommitsHelper
|
|||
parts = @path.split('/')
|
||||
|
||||
parts.each_with_index do |part, i|
|
||||
crumbs += content_tag(:span, '/', class: 'divider')
|
||||
crumbs += content_tag(:span, ' / ', class: 'divider')
|
||||
crumbs += content_tag(:li) do
|
||||
# The text is just the individual part, but the link needs all the parts before it
|
||||
link_to part, project_commits_path(@project, tree_join(@ref, parts[0..i].join('/')))
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
%h3.page-title
|
||||
SSH Keys
|
||||
= link_to "Add SSH Key", new_profile_key_path, class: "btn pull-right btn-primary"
|
||||
|
||||
%br
|
||||
%p.light
|
||||
SSH key allows you to establish a secure connection between your computer and GitLab
|
||||
%p.light
|
||||
|
@ -15,6 +10,7 @@
|
|||
%h5.title
|
||||
SSH Keys (#{@keys.count})
|
||||
.pull-right
|
||||
= link_to "Add SSH Key", new_profile_key_path, class: "btn btn-small btn-primary"
|
||||
%ul.well-list#keys-table
|
||||
= render @keys
|
||||
- if @keys.blank?
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
- if @path.present?
|
||||
%ul.breadcrumb
|
||||
%li.light
|
||||
History for
|
||||
= commits_breadcrumbs
|
||||
|
||||
%div{id: dom_id(@project)}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
= text_area_tag 'commit_message', '', placeholder: "Update #{@blob.name}", required: true, rows: 3
|
||||
.form-actions
|
||||
= hidden_field_tag 'last_commit', @last_commit
|
||||
= hidden_field_tag 'content', '', id: :file-content
|
||||
= hidden_field_tag 'content', '', id: "file-content"
|
||||
.commit-button-annotation
|
||||
= button_tag "Commit changes", class: 'btn commit-btn js-commit-button btn-primary'
|
||||
.message
|
||||
|
|
Loading…
Reference in a new issue