Skip to content
Snippets Groups Projects
Commit e97abfce authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix edit page crash. Minot UI imporvements

parent 46277c39
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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;}
Loading
Loading
Loading
Loading
@@ -7,7 +7,7 @@
 
ul {
margin: auto;
height: 40px;
height: 42px;
overflow: hidden;
.count {
font-weight: normal;
Loading
Loading
@@ -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;
Loading
Loading
Loading
Loading
@@ -31,4 +31,8 @@
border-left: 1px solid #666;
}
}
.main-nav {
box-shadow: 0 -1px 0 white inset;
}
}
Loading
Loading
@@ -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('/')))
Loading
Loading
%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
Loading
Loading
@@ -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?
Loading
Loading
Loading
Loading
@@ -2,6 +2,8 @@
 
- if @path.present?
%ul.breadcrumb
%li.light
History for
= commits_breadcrumbs
 
%div{id: dom_id(@project)}
Loading
Loading
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment