diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-02 15:40:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-02 15:40:05 +0300 |
commit | 1519553b9cfbf3054c624ff86ef1c07571152cb9 (patch) | |
tree | 06c8d1256964fba3e20ea181951bdda6c17144e1 /app/views/help | |
parent | 09e712c0fb721059e4b2619eb9fc104257fc492d (diff) |
Add cover-block to UI framework
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/help')
-rw-r--r-- | app/views/help/ui.html.haml | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/app/views/help/ui.html.haml b/app/views/help/ui.html.haml index 2169a821fb2..8a60d6852be 100644 --- a/app/views/help/ui.html.haml +++ b/app/views/help/ui.html.haml @@ -34,8 +34,6 @@ %h3 %code .gray-content-block - - .gray-content-block.middle-block %h4 Normal block inside content = lorem @@ -45,6 +43,25 @@ = lorem + %h3 + %code .cover-block + + .cover-block + .avatar-holder + = image_tag avatar_icon('admin@example.com', 90), class: "avatar s90", alt: '' + .cover-title + John Smith + + .cover-desc + = lorem + + .cover-controls + = link_to '#', class: 'btn btn-gray' do + = icon('pencil') + + = link_to '#', class: 'btn btn-gray' do + = icon('rss') + %h2#lists Lists %h3 @@ -258,7 +275,6 @@ .file-contenta.code = render 'shared/file_highlight', blob: blob - %h2#markdown Markdown %h3 %code .md or .wiki and others |