-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathgsds.html
More file actions
67 lines (66 loc) · 3.46 KB
/
Copy pathgsds.html
File metadata and controls
67 lines (66 loc) · 3.46 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
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<title>GSUI testing</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
<meta name="description" content="GridSound's UI components"/>
<link rel="shortcut icon" href="assets/ico.svg"/>
<link rel="stylesheet" href="assets/fonts/fonts.css"/>
<link rel="stylesheet" href="gsui.css"/>
<link rel="stylesheet" href="gsui-flex.css"/>
<link rel="stylesheet" href="gsui-form.css"/>
<link rel="stylesheet" href="gsui-gray.css"/>
<link rel="stylesheet" href="gsui-white.css"/>
<link rel="stylesheet" href="test-assets/test.css"/>
<!-- ....................................................................... -->
<link rel="stylesheet" href="gsuiIcon/gsuiIcon.css"/>
<link rel="stylesheet" href="gsuiCursor/gsuiCursor.css"/>
<link rel="stylesheet" href="gsuiRipple/gsuiRipple.css"/>
<link rel="stylesheet" href="gsuiComButton/gsuiComButton.css"/>
<!-- ....................................................................... -->
</head>
<body>
<script src="gs-utils/gs-utils.js"></script>
<script src="gs-utils/gs-utils-json.js"></script>
<script src="gs-utils/gs-utils-jquery.js"></script>
<script src="gs-utils/gs-utils-func.js"></script>
<script src="gsui0ne/gsui0ne.js"></script>
<!-- ....................................................................... -->
<script src="gsuiRipple/gsuiRipple.js"></script>
<script src="gsuiComButton/gsuiComButton.js"></script>
<!-- ....................................................................... -->
<script>
"use strict";
$body.$setAttr( "data-skin", localStorage.getItem( "skin" ) || "gray" )
.$append(
$.$flex( { y: true, g10: true, style: "padding:16px" },
$.$elem( "gs-label", null, "gsui-com-button" ),
$.$flex( { x: true, g10: true },
$.$elem( "gsui-com-button", { text: "hello" } ),
$.$elem( "gsui-com-button", { text: "world", type: "submit", icon: "public" } ),
$.$elem( "gsui-com-button", { type: "danger", icon: "render" } ),
),
$.$elem( "gs-label", null, "input[ type=radio ]" ),
$.$elem( "gs-label", null, "input[ type=checkbox ]" ),
$.$flex( { x: true, g10: true },
$.$label( null, $.$flex( { x: true, ycenter: true, g4: true }, $.$input( { type: "radio", name: "radtest", checked: true } ), $.$span( null, "abc" ) ) ),
$.$label( null, $.$flex( { x: true, ycenter: true, g4: true }, $.$input( { type: "radio", name: "radtest" } ), $.$span( null, "def" ) ) ),
$.$label( null, $.$flex( { x: true, ycenter: true, g4: true }, $.$input( { type: "radio", name: "radtest", disabled: true } ), $.$span( null, "ghi" ) ) ),
),
$.$flex( { x: true, g10: true },
$.$label( null, $.$flex( { x: true, ycenter: true, g4: true }, $.$input( { type: "checkbox", name: "chbtest", checked: true } ), $.$span( null, "abc" ) ) ),
$.$label( null, $.$flex( { x: true, ycenter: true, g4: true }, $.$input( { type: "checkbox", name: "chbtest" } ), $.$span( null, "def" ) ) ),
$.$label( null, $.$flex( { x: true, ycenter: true, g4: true }, $.$input( { type: "checkbox", name: "chbtest", disabled: true } ), $.$span( null, "ghi" ) ) ),
$.$label( null, $.$flex( { x: true, ycenter: true, g4: true }, $.$input( { type: "checkbox", name: "chbtest", disabled: true, checked: true } ), $.$span( null, "jkl" ) ) ),
),
$.$elem( "gs-label", null, "fieldset" ),
$.$elem( "fieldset", null,
$.$elem( "legend", null, "legend" ),
$.$div( null, "Hello" ),
),
),
);
</script>
</body>
</html>