dashboard.anubis
1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* Created by PyramIDE.
* User: フランスのトトロ
* Date: 10/04/2015
* Time: 22:22
* © David RENÉ
*/
read tools/basis.anubis
read xlib/web/common.anubis
read xlib/web/making_a_web_site.anubis
transmit css_helper.anubis
public type Dashboard_content:
none,
content(List(ChangeListItem) content, String title).
public define HTML_Off_Form
dash_board
(
Dashboard_content left,
Dashboard_content right
)=
table([class("container")],
[ row( [ cell([class("module_col left_col")],
if left is
{
none then literal(""),
content(list, title) then partial(html_wave_box_wide(title, changelist_table(list)))
}
),
cell([class("module_col right_col")],
if right is
{
none then literal(""),
content(list, title) then partial(html_wave_box_wide(title, changelist_table(list)))
}
)
])
]).
public define HTML_Off_Form
dash_board
(
Dashboard_content content
)=
table([class("container")],
[ row( [ cell([class("module_col")],
if content is
{
none then literal(""),
content(list, title) then partial(html_wave_box_wide(title, changelist_table(list)))
}
)])]).