diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-13 09:47:32 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-13 09:47:32 +0200 |
commit | 5c1a360f4172273e4fe568e9cbafda9a95858623 (patch) | |
tree | ee953a07dbb0177ff0f8f5541db11d64900dc94d | |
parent | 9c7d821cf752a98f8c7a40056816f6629ca1f734 (diff) | |
download | gitlab-ce-5c1a360f4172273e4fe568e9cbafda9a95858623.tar.gz |
Imrpove new file form
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/assets/stylesheets/sections/editor.scss | 11 | ||||
-rw-r--r-- | app/views/projects/new_tree/show.html.haml | 14 |
2 files changed, 7 insertions, 18 deletions
diff --git a/app/assets/stylesheets/sections/editor.scss b/app/assets/stylesheets/sections/editor.scss index 0bfbc0f2ad5..057f7b7fd44 100644 --- a/app/assets/stylesheets/sections/editor.scss +++ b/app/assets/stylesheets/sections/editor.scss @@ -34,15 +34,4 @@ margin: 5px 8px 0 8px; } } - .commit_message-group { - margin-top: 20px; - - label { - font-size: 16px; - line-height: 20px; - } - textarea { - @extend .col-md-8; - } - } } diff --git a/app/views/projects/new_tree/show.html.haml b/app/views/projects/new_tree/show.html.haml index b206bc000a6..078a4b80d0d 100644 --- a/app/views/projects/new_tree/show.html.haml +++ b/app/views/projects/new_tree/show.html.haml @@ -6,13 +6,13 @@ = label_tag 'file_name', class: "control-label" do File name .col-sm-10 - %span.monospace= @path[-1] == "/" ? @path : @path + "/" - - = text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", required: true, class: 'form-control' - %span - - on - %span.label-branch= @ref + .input-group + %span.input-group-addon + = @path[-1] == "/" ? @path : @path + "/" + = text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", required: true, class: 'form-control' + %span.input-group-addon + on + %span= @ref .form-group.commit_message-group = label_tag 'commit_message', class: "control-label" do |