Commit e97abfce3b9e4e836aaf9d9ac32a45c6490f8831
1 parent
46277c39
Exists in
master
and in
4 other branches
Fix edit page crash. Minot UI imporvements
Showing
7 changed files
with
12 additions
and
10 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
@@ -77,7 +77,7 @@ | @@ -77,7 +77,7 @@ | ||
77 | 77 | ||
78 | @mixin md-typography { | 78 | @mixin md-typography { |
79 | code { padding: 0 4px; } | 79 | code { padding: 0 4px; } |
80 | - p { font-size: 13px; } | 80 | + p { font-size: 14px; } |
81 | h1 { margin-top: 30px;} | 81 | h1 { margin-top: 30px;} |
82 | h2 { margin-top: 25px;} | 82 | h2 { margin-top: 25px;} |
83 | h3 { margin-top: 20px;} | 83 | h3 { margin-top: 20px;} |
app/assets/stylesheets/sections/nav.scss
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | 7 | ||
8 | ul { | 8 | ul { |
9 | margin: auto; | 9 | margin: auto; |
10 | - height: 40px; | 10 | + height: 42px; |
11 | overflow: hidden; | 11 | overflow: hidden; |
12 | .count { | 12 | .count { |
13 | font-weight: normal; | 13 | font-weight: normal; |
@@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
74 | text-align: center; | 74 | text-align: center; |
75 | font-weight: normal; | 75 | font-weight: normal; |
76 | height: 38px; | 76 | height: 38px; |
77 | - line-height: 34px; | 77 | + line-height: 36px; |
78 | color: #777; | 78 | color: #777; |
79 | text-shadow: 0 1px 1px white; | 79 | text-shadow: 0 1px 1px white; |
80 | padding: 0 10px; | 80 | padding: 0 10px; |
app/assets/stylesheets/themes/ui_mars.scss
app/helpers/commits_helper.rb
@@ -134,7 +134,7 @@ module CommitsHelper | @@ -134,7 +134,7 @@ module CommitsHelper | ||
134 | parts = @path.split('/') | 134 | parts = @path.split('/') |
135 | 135 | ||
136 | parts.each_with_index do |part, i| | 136 | parts.each_with_index do |part, i| |
137 | - crumbs += content_tag(:span, '/', class: 'divider') | 137 | + crumbs += content_tag(:span, ' / ', class: 'divider') |
138 | crumbs += content_tag(:li) do | 138 | crumbs += content_tag(:li) do |
139 | # The text is just the individual part, but the link needs all the parts before it | 139 | # The text is just the individual part, but the link needs all the parts before it |
140 | link_to part, project_commits_path(@project, tree_join(@ref, parts[0..i].join('/'))) | 140 | link_to part, project_commits_path(@project, tree_join(@ref, parts[0..i].join('/'))) |
app/views/profiles/keys/index.html.haml
1 | -%h3.page-title | ||
2 | - SSH Keys | ||
3 | - = link_to "Add SSH Key", new_profile_key_path, class: "btn pull-right btn-primary" | ||
4 | - | ||
5 | -%br | ||
6 | %p.light | 1 | %p.light |
7 | SSH key allows you to establish a secure connection between your computer and GitLab | 2 | SSH key allows you to establish a secure connection between your computer and GitLab |
8 | %p.light | 3 | %p.light |
@@ -15,6 +10,7 @@ | @@ -15,6 +10,7 @@ | ||
15 | %h5.title | 10 | %h5.title |
16 | SSH Keys (#{@keys.count}) | 11 | SSH Keys (#{@keys.count}) |
17 | .pull-right | 12 | .pull-right |
13 | + = link_to "Add SSH Key", new_profile_key_path, class: "btn btn-small btn-primary" | ||
18 | %ul.well-list#keys-table | 14 | %ul.well-list#keys-table |
19 | = render @keys | 15 | = render @keys |
20 | - if @keys.blank? | 16 | - if @keys.blank? |
app/views/projects/commits/show.html.haml
app/views/projects/edit_tree/show.html.haml
@@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
21 | = text_area_tag 'commit_message', '', placeholder: "Update #{@blob.name}", required: true, rows: 3 | 21 | = text_area_tag 'commit_message', '', placeholder: "Update #{@blob.name}", required: true, rows: 3 |
22 | .form-actions | 22 | .form-actions |
23 | = hidden_field_tag 'last_commit', @last_commit | 23 | = hidden_field_tag 'last_commit', @last_commit |
24 | - = hidden_field_tag 'content', '', id: :file-content | 24 | + = hidden_field_tag 'content', '', id: "file-content" |
25 | .commit-button-annotation | 25 | .commit-button-annotation |
26 | = button_tag "Commit changes", class: 'btn commit-btn js-commit-button btn-primary' | 26 | = button_tag "Commit changes", class: 'btn commit-btn js-commit-button btn-primary' |
27 | .message | 27 | .message |