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
app/assets/stylesheets/sections/nav.scss
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | |
| 8 | 8 | ul { |
| 9 | 9 | margin: auto; |
| 10 | - height: 40px; | |
| 10 | + height: 42px; | |
| 11 | 11 | overflow: hidden; |
| 12 | 12 | .count { |
| 13 | 13 | font-weight: normal; |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | text-align: center; |
| 75 | 75 | font-weight: normal; |
| 76 | 76 | height: 38px; |
| 77 | - line-height: 34px; | |
| 77 | + line-height: 36px; | |
| 78 | 78 | color: #777; |
| 79 | 79 | text-shadow: 0 1px 1px white; |
| 80 | 80 | padding: 0 10px; | ... | ... |
app/assets/stylesheets/themes/ui_mars.scss
app/helpers/commits_helper.rb
| ... | ... | @@ -134,7 +134,7 @@ module CommitsHelper |
| 134 | 134 | parts = @path.split('/') |
| 135 | 135 | |
| 136 | 136 | parts.each_with_index do |part, i| |
| 137 | - crumbs += content_tag(:span, '/', class: 'divider') | |
| 137 | + crumbs += content_tag(:span, ' / ', class: 'divider') | |
| 138 | 138 | crumbs += content_tag(:li) do |
| 139 | 139 | # The text is just the individual part, but the link needs all the parts before it |
| 140 | 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 | 1 | %p.light |
| 7 | 2 | SSH key allows you to establish a secure connection between your computer and GitLab |
| 8 | 3 | %p.light |
| ... | ... | @@ -15,6 +10,7 @@ |
| 15 | 10 | %h5.title |
| 16 | 11 | SSH Keys (#{@keys.count}) |
| 17 | 12 | .pull-right |
| 13 | + = link_to "Add SSH Key", new_profile_key_path, class: "btn btn-small btn-primary" | |
| 18 | 14 | %ul.well-list#keys-table |
| 19 | 15 | = render @keys |
| 20 | 16 | - if @keys.blank? | ... | ... |
app/views/projects/commits/show.html.haml
app/views/projects/edit_tree/show.html.haml
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | = text_area_tag 'commit_message', '', placeholder: "Update #{@blob.name}", required: true, rows: 3 |
| 22 | 22 | .form-actions |
| 23 | 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 | 25 | .commit-button-annotation |
| 26 | 26 | = button_tag "Commit changes", class: 'btn commit-btn js-commit-button btn-primary' |
| 27 | 27 | .message | ... | ... |