diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-05-28 00:30:01 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-17 13:52:22 +0300 |
commit | 7717cb727fba74fcb9eee11559f9e97558795707 (patch) | |
tree | 213a5fbab0227234f888833325dc7dc7cb155333 /app/views/projects/_md_preview.html.haml | |
parent | 07d6edc15ba3db1f76b1b87c51d507f4dc654e1c (diff) |
Move buttons to upper right.
Diffstat (limited to 'app/views/projects/_md_preview.html.haml')
-rw-r--r-- | app/views/projects/_md_preview.html.haml | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml index 28a28282fd3..9c242828c12 100644 --- a/app/views/projects/_md_preview.html.haml +++ b/app/views/projects/_md_preview.html.haml @@ -14,8 +14,29 @@ %span This is a confidential issue. Your comment will not be visible to the public. %li.pull-right - %button.zen-control.zen-control-full.js-zen-enter{ type: 'button', tabindex: -1 } - Go full screen + + %a.btn.btn-xs.js-md{ 'data-md-tag' => '**' } + =icon('bold fw') + %a.btn.btn-xs.js-md{ 'data-md-tag' => '*' } + =icon('italic fw') + %a.btn.btn-xs.js-md{ 'data-md-tag' => '`' } + =icon('code fw') + %a.btn.btn-xs.js-md.js-list{ 'data-md-tag' => '* ', 'data-md-prepend' => true } + =icon('list-ul fw') + %a.btn.btn-xs.js-md.js-list.hidden-xs{ 'data-md-tag' => '1. ', 'data-md-prepend' => true } + =icon('list-ol fw') + %a.btn.btn-xs.js-md.js-list.hidden-xs{ 'data-md-tag' => '* [ ] ', 'data-md-prepend' => true } + =icon('check-square-o fw') + %a.btn.btn-xs.js-md.js-list.hidden-xs{ 'data-md-tag' => '> ', 'data-md-prepend' => true } + =icon('quote-right fw') + + %a.btn.btn-xs.js-md.js-list.hidden-xs{ 'data-md-tag' => '!', 'data-md-prepend' => true } + =icon('tasks fw') + %a.btn.btn-xs.js-md.js-list.hidden-xs{ 'data-md-tag' => '#', 'data-md-prepend' => true } + =icon('exclamation-circle fw') + + %a.btn.btn-xs.js-zen-enter.hidden-xs + =icon('arrows-alt fw') .md-write-holder = yield |