Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-02 15:40:05 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-02 15:40:05 +0300
commit1519553b9cfbf3054c624ff86ef1c07571152cb9 (patch)
tree06c8d1256964fba3e20ea181951bdda6c17144e1 /app/views/help
parent09e712c0fb721059e4b2619eb9fc104257fc492d (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.haml22
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')
+ &nbsp;
+ = 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