2
2
< html lang ="en ">
3
3
4
4
< head >
5
- < meta charset ="utf-8 ">
6
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
- < title > Example</ title >
8
- < script type ="module " src ="index.js " defer > </ script >
9
- < link href ="index.css " rel ="stylesheet ">
5
+ < meta charset ="utf-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < title > Example</ title >
8
+ < script type ="module " src ="index.js " defer > </ script >
9
+ < link href ="index.css " rel ="stylesheet ">
10
10
</ head >
11
11
12
12
< body >
13
-
14
- <!-- toast which persists on the screen for 10 seconds -->
15
- < js-toast id ="toast " duration ="10 "> </ js-toast >
16
-
17
- < js-container >
13
+ < js-canvas >
14
+ < js-nav vertical >
15
+ < js-navitem disabled > < js-image id ="icon "> </ js-image > </ js-navitem >
16
+ < js-navitem texttransform ="uppercase "> Home</ js-navitem >
17
+ < js-navspacer > </ js-navspacer >
18
+ < js-navitem texttransform ="capitalize ">
19
+ Login
20
+ < js-icon size ="large "> person-circle</ js-icon >
21
+ </ js-navitem >
22
+ </ js-nav >
23
+
24
+ < js-content >
25
+ < h1 > Buttons</ h1 >
26
+ < div >
18
27
BUTTON COLOR
19
28
< js-button color ="primary " texttransform ="uppercase "> Primary</ js-button >
20
29
< js-button color ="secondary " texttransform ="uppercase "> Secondary</ js-button >
25
34
< js-button color ="dark " texttransform ="uppercase "> Dark</ js-button >
26
35
< js-button color ="white " texttransform ="uppercase "> White</ js-button >
27
36
< js-button color ="black " texttransform ="uppercase "> Black</ js-button >
37
+ </ div >
28
38
39
+ < div >
29
40
BUTTON SIZE
30
41
< js-button size ="small " texttransform ="lowercase "> Small</ js-button >
31
42
< js-button size ="medium " texttransform ="lowercase "> Medium</ js-button >
32
43
< js-button size ="large " texttransform ="lowercase "> Large</ js-button >
33
44
< js-button size ="xlarge " texttransform ="lowercase "> XLarge</ js-button >
45
+ </ div >
34
46
47
+ < div >
35
48
DISABLED
36
49
< js-button color ="primary " texttransform ="uppercase " disabled > Disabled</ js-button >
50
+ </ div >
51
+ </ js-content >
37
52
38
- </ js-container >
39
-
40
- <!-- header -->
41
- < js-container >
42
- <!-- where the data comes from -->
43
- < js-provider id ="provider " origin ="http://localhost:8080/ " path ="aktek/area?format=geojson " interval ="5 "> </ js-provider >
44
-
45
- <!-- model, areas come from the body element -->
46
- < js-array id ="array " provider ="#provider " select ="body "> </ js-array >
47
-
48
- <!-- view -->
49
- < js-tablebody id ="body " data ="#array ">
50
- < js-tablehead body ="#body "> </ js-tablehead >
51
- </ js-tablebody >
52
- </ js-container >
53
-
54
- < js-container >
55
- < js-tag texttransform ="uppercase "> < js-icon size ="small "> compass</ js-icon > Map</ js-tag >
56
- < div style ="height: 500px; ">
57
- < js-map id ="map "
58
- accessToken ="pk.eyJ1IjoiZGp0aG9ycGUiLCJhIjoiY2x5ZnJhZjAzMDJsYTJqcjd6eWQ3cjRvcSJ9.LvoT_wihG5VQtv008P-MPw ">
59
- <!-- add a source from the array (must currently be an array of GeoJSON features) -->
60
- < js-mapsource id ="area " type ="geojson " data ="#array "> </ js-mapsource >
61
-
62
- <!-- display the source on the map as polygons -->
63
- < js-maplayer id ="points " source ="#area " type ="fill "
64
- paint ='{ "fill-opacity": 0.2, "fill-color": "#aa0000" } '> </ js-maplayer >
65
- </ js-map >
66
- </ div >
67
- </ js-container >
68
-
69
- < js-container >
53
+ < js-content >
54
+ < h1 > Tags</ h1 >
55
+ < div >
70
56
TAG COLOR
71
57
< js-tag color ="primary " texttransform ="uppercase "> Primary</ js-tag >
72
58
< js-tag color ="secondary " texttransform ="uppercase "> Secondary</ js-tag >
77
63
< js-tag color ="dark " texttransform ="uppercase "> Dark</ js-tag >
78
64
< js-tag color ="white " texttransform ="uppercase "> White</ js-tag >
79
65
< js-tag color ="black " texttransform ="uppercase "> Black</ js-tag >
66
+ </ div >
80
67
68
+ < div >
81
69
TAG SIZE
82
70
< js-tag color ="light " size ="small " texttransform ="lowercase "> Small</ js-tag >
83
71
< js-tag color ="light " size ="medium " texttransform ="lowercase "> Medium</ js-tag >
84
72
< js-tag color ="light " size ="large " texttransform ="lowercase "> Large</ js-tag >
85
73
< js-tag color ="light " size ="xlarge " texttransform ="lowercase "> XLarge</ js-tag >
86
- </ js-container >
74
+ </ div >
87
75
88
- < js-container >
89
- ICON COLOR
76
+ </ js-content >
77
+
78
+ < js-content >
79
+ < h1 > Icons</ h1 >
80
+
81
+ < div >
82
+ ICON COLOR (in a tag)
90
83
< js-tag color ="primary " texttransform ="uppercase "> < js-icon > </ js-icon > </ js-tag >
91
84
< js-tag color ="secondary " texttransform ="uppercase "> < js-icon > </ js-icon > </ js-tag >
92
85
< js-tag color ="success " texttransform ="uppercase "> < js-icon > </ js-icon > </ js-tag >
96
89
< js-tag color ="dark " texttransform ="uppercase "> < js-icon > </ js-icon > </ js-tag >
97
90
< js-tag color ="white " texttransform ="uppercase "> < js-icon > </ js-icon > </ js-tag >
98
91
< js-tag color ="black " texttransform ="uppercase "> < js-icon > </ js-icon > </ js-tag >
92
+ </ div >
99
93
94
+ < div >
100
95
ICON SIZE
101
- < js-tag color =" light " size ="small "> < js-icon > bootstrap < /js-icon > small </ js-tag >
102
- < js-tag color =" light " size ="medium "> < js-icon > < /js-icon > medium </ js-tag >
103
- < js-tag color =" light " size ="large "> < js-icon > < /js-icon > large </ js-tag >
104
- < js-tag color =" light " size ="xlarge "> < js-icon > < /js-icon > xlarge </ js-tag >
105
- </ js-container >
96
+ < js-icon size ="small "> youtube < /js-icon >
97
+ < js-icon size ="medium "> youtube < /js-icon >
98
+ < js-icon size ="large "> youtube < /js-icon >
99
+ < js-icon size ="xlarge "> youtube < /js-icon >
100
+ </ div >
106
101
102
+ </ js-content >
103
+ <!-- header -->
104
+ < js-content >
105
+ <!-- where the data comes from -->
106
+ < js-provider id ="provider " origin ="http://localhost:8080/ " path ="aktek/area?format=geojson "
107
+ interval ="5 "> </ js-provider >
108
+
109
+ <!-- model, areas come from the body element -->
110
+ < js-array id ="array " provider ="#provider " select ="body "> </ js-array >
111
+
112
+ <!-- view -->
113
+ < js-tablebody id ="body " data ="#array ">
114
+ < js-tablehead body ="#body "> </ js-tablehead >
115
+ </ js-tablebody >
116
+ </ js-content >
117
+
118
+ < js-content >
119
+ < js-tag texttransform ="uppercase "> < js-icon size ="small "> compass</ js-icon > Map</ js-tag >
120
+ < div style ="height: 500px; ">
121
+ < js-map id ="map "
122
+ accessToken ="pk.eyJ1IjoiZGp0aG9ycGUiLCJhIjoiY2x5ZnJhZjAzMDJsYTJqcjd6eWQ3cjRvcSJ9.LvoT_wihG5VQtv008P-MPw ">
123
+ <!-- add a source from the array (must currently be an array of GeoJSON features) -->
124
+ < js-mapsource id ="area " type ="geojson " data ="#array "> </ js-mapsource >
125
+
126
+ <!-- display the source on the map as polygons -->
127
+ < js-maplayer id ="points " source ="#area " type ="fill "
128
+ paint ='{ "fill-opacity": 0.2, "fill-color": "#aa0000" } '> </ js-maplayer >
129
+ </ js-map >
130
+ </ div >
131
+ </ js-content >
132
+
133
+
134
+ </ js-canvas >
135
+
136
+ <!-- toast which persists on the screen for 10 seconds -->
137
+ < js-toast id ="toast " duration ="10 "> </ js-toast >
107
138
</ body >
108
139
109
140
</ html >
0 commit comments