-
Notifications
You must be signed in to change notification settings - Fork 0
/
conferenceApp.html
69 lines (69 loc) · 2.62 KB
/
conferenceApp.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
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<link href="jquery.mobile-1.0a4.1.css" rel="Stylesheet" type="text/css"/>
<script src="jquery-1.5.2.js" ></script>
<script src="jquery.mobile-1.0a4.1.js"></script>
<script src="jquery.tmpl.js"></script>
<script src="knockout.debug.joel.js"></script>
<script src="conferenceApp.js"></script>
</head>
<body>
<div id="mainPage" data-role="page">
<div data-role="header">
<h1>Conference App</h1>
<a href="#mySchedule" data-role="button" data-icon="star" class="ui-btn-right">My Schedule</a>
</div>
<div data-role="content">
<ul data-role="listview">
<li><a href="#fullSchedule">Full Schedule</a></li>
<li><a href="#mySchedule">My Schedule</a></li>
<li><a href="#map">Map</a></li>
</ul>
</div>
</div>
<div id="fullSchedule" data-role="page">
<div data-role="header">
<h1>Full Schedule</h1>
<a href="#mySchedule" data-role="button" data-icon="star" class="ui-btn-right">My Schedule</a>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider"
data-bind="template: {name: 'sessionTmpl', foreach: mondaySessions, insertAfter: true, afterRenderAll: refreshListView}"
>Monday</li>
<li data-role="list-divider">Tuesday</li>
</ul>
</div>
<script id="sessionTmpl" type="text/html">
<li data-bind="attr: { 'data-icon': favoriteIcon}, click: toggleSelected" class="item">
<a>
<h3 data-bind="text: title"></h3>
<p data-bind="text: name"></p>
<p data-bind="text: begin"></p>
</a>
</li>
</script>
</div>
<div id="mySchedule" data-role="page">
<div data-role="header">
<h1>My Schedule</h1>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider"
data-bind="template: {name: 'sessionTmpl', foreach: myMondaySessions, insertAfter: true, afterRenderAll: refreshListView}"
>Monday</li>
</ul>
</div>
</div>
<div id="map" data-role="page">
<div data-role="header">
<h1>Map</h1>
</div>
<div data-role="content">
<p>Map goes here</p>
</div>
</div>
</body>
</html>