summaryrefslogtreecommitdiffstats
path: root/tpl/index.pug
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/index.pug')
-rw-r--r--tpl/index.pug16
1 files changed, 9 insertions, 7 deletions
diff --git a/tpl/index.pug b/tpl/index.pug
index 400ec64..14bfa10 100644
--- a/tpl/index.pug
+++ b/tpl/index.pug
@@ -7,7 +7,7 @@
7include layouts/container.pug 7include layouts/container.pug
8 8
9include objects/heading.pug 9include objects/heading.pug
10include objects/rule.pug 10include objects/divider.pug
11include objects/badge.pug 11include objects/badge.pug
12include objects/button.pug 12include objects/button.pug
13include objects/text-field.pug 13include objects/text-field.pug
@@ -27,14 +27,16 @@ include objects/lightbox.pug
27include objects/list-group.pug 27include objects/list-group.pug
28include objects/table.pug 28include objects/table.pug
29include objects/alert.pug 29include objects/alert.pug
30include objects/header.pug
31include objects/sidebar.pug
30 32
31mixin view(id, title) 33mixin view(id, title)
32 - 34 -
33 views.push({ id, title }); 35 views.push({ id, title });
34 36
35 +container(padX=true padY=true narrow=true)(class='c-view' id=id) 37 +container(padX=true padY=true narrow=true class='c-view' id=id)
36 +h1-heading('xl')= title 38 +h1-heading('xl')= title
37 +rule('medium') 39 +divider('medium')
38 block 40 block
39 41
40mixin user-card(name, hue) 42mixin user-card(name, hue)
@@ -47,7 +49,7 @@ mixin user-card(name, hue)
47 = name 49 = name
48 50
49include views/heading.pug 51include views/heading.pug
50include views/rule.pug 52include views/divider.pug
51include views/colored-links.pug 53include views/colored-links.pug
52include views/badge.pug 54include views/badge.pug
53include views/button.pug 55include views/button.pug
@@ -80,9 +82,9 @@ html
80 script(src="script.js") 82 script(src="script.js")
81 83
82 body 84 body
83 .c-content 85 .c-content.l-overflow
84 +view-heading 86 +view-heading
85 +view-rule 87 +view-divider
86 +view-colored-links 88 +view-colored-links
87 +view-badge 89 +view-badge
88 +view-button 90 +view-button
@@ -104,7 +106,7 @@ html
104 +view-table 106 +view-table
105 +view-alert 107 +view-alert
106 108
107 .c-sidebar 109 +sidebar(class='c-sidebar')
108 +menu 110 +menu
109 each view in views 111 each view in views
110 +menu-item(tag='a' href='#' + view.id)= view.title 112 +menu-item(tag='a' href='#' + view.id)= view.title