summaryrefslogtreecommitdiff
path: root/app/views/projects/_md_preview.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-30 10:00:43 +0100
committerPhil Hughes <me@iamphill.com>2016-04-04 10:48:49 +0100
commit3c2b0e7572c11d24b96f2762a03c8cc47f11f510 (patch)
tree5ef9df1047444c280125017b7a825348e45d4c0d /app/views/projects/_md_preview.html.haml
parent0331fa3f3d27dbffdd2144073cf9c62fe7837aa1 (diff)
downloadgitlab-ce-3c2b0e7572c11d24b96f2762a03c8cc47f11f510.tar.gz
Added toolbar to comment form
Diffstat (limited to 'app/views/projects/_md_preview.html.haml')
-rw-r--r--app/views/projects/_md_preview.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index 32c44338614..4920910fee1 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -1,20 +1,19 @@
.md-area
- .md-header.clearfix
- %ul.nav-links.pull-left
+ .md-header
+ %ul.nav-links
%li.active
%a.js-md-write-button{ href: "#md-write-holder" }
Write
%li
%a.js-md-preview-button{ href: "#md-preview-holder" }
Preview
- .pull-right
- %a.zen-cotrol.js-zen-enter{ href: "#" }
- Go full screen
+ %li.pull-right
+ %button.zen-cotrol.zen-control-full.js-zen-enter{ type: 'button' }
+ Go full screen
.md-write-holder
= yield
- .md.md-preview-holder.hide
- .js-md-preview{class: (preview_class if defined?(preview_class))}
+ .md.md-preview-holder.js-md-preview.hide{class: (preview_class if defined?(preview_class))}
- if defined?(referenced_users) && referenced_users
%div.referenced-users.hide