Changed colors for buttons. Imporved preview area. Added clone panel to empty project

This commit is contained in:
Dmitriy Zaporozhets 2012-08-30 09:26:45 +03:00
parent 5b88c1e34c
commit cd3d50caf2
9 changed files with 113 additions and 69 deletions

View file

@ -8,14 +8,14 @@
= f.hidden_field :noteable_id
= f.hidden_field :noteable_type
= f.text_area :note, size: 255
#preview-note.well.hide
#preview-note.preview_note.hide
.hint
.right Comments are parsed with #{link_to "Gitlab Flavored Markdown", help_markdown_path, target: '_blank'}.
.clearfix
.row.note_advanced_opts.hide
.span3
= f.submit 'Add Comment', class: "btn primary submit_note grouped", id: "submit_note"
= f.submit 'Add Comment', class: "btn success submit_note grouped", id: "submit_note"
= link_to 'Preview', preview_project_notes_path(@project), class: 'btn grouped', id: 'preview-link'
.span4.notify_opts
%h6.left Notify via email:
@ -30,7 +30,7 @@
.span5.attachments
%h6.left Attachment:
%span.file_name File name...
.input.input_file
%a.file_upload.btn.small Upload File
= f.file_field :attachment, class: "input-file"