-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
65 lines (63 loc) · 2.06 KB
/
index.html
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
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="bower_components/delite/themes/defaultapp.css">
<script src="bower_components/requirejs/require.js"></script>
<script>
require.config({
baseUrl: "bower_components",
paths: {
"js": "../js"
}
});
// Start the application.
require(["js/app"]);
</script>
</head>
<body style="display: none">
<!-- left menu side pane -->
<d-side-pane mode="push" position="start" id="leftPane">
<d-linear-layout class="height100">
<!-- left menu header -->
<d-linear-layout vertical="false" class="pageHeader">
<div class="fill titleStyle">Menu</div>
</d-linear-layout>
<!-- left menu content -->
<d-list id="list" on-selection-change="vs.show(event.newValue.id)" selectionMode="radio">
{"label": "First View", "id": "first" },
{"label": "Second View", "id": "second" },
{"label": "Third View", "id": "third" }
</d-list>
</d-linear-layout>
</d-side-pane>
<!-- page content -->
<d-linear-layout class="page width100 height100">
<!-- page content header -->
<d-linear-layout vertical="false" class="pageHeader">
<div><button is="d-button" iconClass="icon" class="toggle" onclick="leftPane.toggle()"></button></div>
<div class="fill titleStyle">deliteful app</div>
</d-linear-layout>
<!-- stacked content -->
<d-view-stack id="vs" class="fill">
<div id="first">
<!-- fill the first view with content -->
<p>1st view</p>
<d-star-rating value="0.5"></d-star-rating>
</div>
<div id="second">
<!-- fill the second view with content -->
<p>2nd view</p>
<d-progress-bar value=30 max="100" essage="Uploading..." style="width: 50%"></d-progress-bar>
</div>
<div id="third">
<!-- fill the third view with content -->
<span>3rd view</span>
</div>
</d-view-stack>
</d-linear-layout>
</body>
</html>