diff options
author | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
commit | 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 (patch) | |
tree | e3b22a889bd4f8a6679d76dbe85c3152173947a6 /tpl/views/table.pug | |
parent | Fixed vertical rule (diff) | |
download | iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.gz iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.bz2 iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.zip |
Split demo in :target views
Diffstat (limited to 'tpl/views/table.pug')
-rw-r--r-- | tpl/views/table.pug | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/tpl/views/table.pug b/tpl/views/table.pug new file mode 100644 index 0000000..a5f62a7 --- /dev/null +++ b/tpl/views/table.pug | |||
@@ -0,0 +1,101 @@ | |||
1 | mixin view-table | ||
2 | +view('table', 'Table') | ||
3 | .c-box | ||
4 | +table(interactive=true) | ||
5 | +table-head | ||
6 | +table-row | ||
7 | +table-head-cell= 'Title' | ||
8 | +table-head-cell= 'Title' | ||
9 | +table-head-cell= 'Title' | ||
10 | +table-body | ||
11 | +table-row | ||
12 | +table-cell= 'Row 1,1' | ||
13 | +table-cell= 'Row 1,2' | ||
14 | +table-cell= 'Row 1,3' | ||
15 | +table-row | ||
16 | +table-cell= 'Row 2,1' | ||
17 | +table-cell= 'Row 2,2' | ||
18 | +table-cell= 'Row 2,3' | ||
19 | +table-row | ||
20 | +table-cell= 'Row 3,1' | ||
21 | +table-cell= 'Row 3,2' | ||
22 | +table-cell= 'Row 3,3' | ||
23 | +table-row | ||
24 | +table-cell= 'Row 4,1' | ||
25 | +table-cell= 'Row 4,2' | ||
26 | +table-cell= 'Row 4,3' | ||
27 | |||
28 | .c-box | ||
29 | +table(flush=true) | ||
30 | +table-head | ||
31 | +table-row | ||
32 | +table-head-cell= 'Title' | ||
33 | +table-head-cell= 'Title' | ||
34 | +table-head-cell= 'Title' | ||
35 | +table-body | ||
36 | +table-row | ||
37 | +table-cell= 'Row 1,1' | ||
38 | +table-cell= 'Row 1,2' | ||
39 | +table-cell= 'Row 1,3' | ||
40 | +table-row | ||
41 | +table-cell= 'Row 2,1' | ||
42 | +table-cell= 'Row 2,2' | ||
43 | +table-cell= 'Row 2,3' | ||
44 | +table-row | ||
45 | +table-cell= 'Row 3,1' | ||
46 | +table-cell= 'Row 3,2' | ||
47 | +table-cell= 'Row 3,3' | ||
48 | +table-row | ||
49 | +table-cell= 'Row 4,1' | ||
50 | +table-cell= 'Row 4,2' | ||
51 | +table-cell= 'Row 4,3' | ||
52 | |||
53 | .c-box | ||
54 | +table(box=true) | ||
55 | +table-head | ||
56 | +table-row | ||
57 | +table-head-cell= 'Title' | ||
58 | +table-head-cell= 'Title' | ||
59 | +table-head-cell= 'Title' | ||
60 | +table-body | ||
61 | +table-row | ||
62 | +table-cell(divider=true)= 'Row 1,1' | ||
63 | +table-cell= 'Row 1,2' | ||
64 | +table-cell= 'Row 1,3' | ||
65 | +table-row | ||
66 | +table-cell(divider=true)= 'Row 2,1' | ||
67 | +table-cell= 'Row 2,2' | ||
68 | +table-cell= 'Row 2,3' | ||
69 | +table-row | ||
70 | +table-cell(divider=true)= 'Row 3,1' | ||
71 | +table-cell= 'Row 3,2' | ||
72 | +table-cell= 'Row 3,3' | ||
73 | +table-row | ||
74 | +table-cell(divider=true)= 'Row 4,1' | ||
75 | +table-cell= 'Row 4,2' | ||
76 | +table-cell= 'Row 4,3' | ||
77 | |||
78 | .c-box | ||
79 | +table(box=true, size50=true) | ||
80 | +table-head | ||
81 | +table-row | ||
82 | +table-head-cell= 'Title' | ||
83 | +table-head-cell= 'Title' | ||
84 | +table-head-cell= 'Title' | ||
85 | +table-body | ||
86 | +table-row | ||
87 | +table-cell= 'Row 1,1' | ||
88 | +table-cell= 'Row 1,2' | ||
89 | +table-cell= 'Row 1,3' | ||
90 | +table-row | ||
91 | +table-cell= 'Row 2,1' | ||
92 | +table-cell= 'Row 2,2' | ||
93 | +table-cell= 'Row 2,3' | ||
94 | +table-row | ||
95 | +table-cell= 'Row 3,1' | ||
96 | +table-cell= 'Row 3,2' | ||
97 | +table-cell= 'Row 3,3' | ||
98 | +table-row | ||
99 | +table-cell= 'Row 4,1' | ||
100 | +table-cell= 'Row 4,2' | ||
101 | +table-cell= 'Row 4,3' | ||