Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 69 lines (69 sloc) 2.682 kb
7d93176 Joel Dart basic shell created
authored
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link href="jquery.mobile-1.0a4.1.css" rel="Stylesheet" type="text/css"/>
5 <script src="jquery-1.5.2.js" ></script>
6 <script src="jquery.mobile-1.0a4.1.js"></script>
7 <script src="jquery.tmpl.js"></script>
8 <script src="knockout.debug.joel.js"></script>
9 <script src="conferenceApp.js"></script>
10 </head>
11 <body>
12 <div id="mainPage" data-role="page">
13 <div data-role="header">
14 <h1>Conference App</h1>
15 <a href="#mySchedule" data-role="button" data-icon="star" class="ui-btn-right">My Schedule</a>
16 </div>
17 <div data-role="content">
18 <ul data-role="listview">
19 <li><a href="#fullSchedule">Full Schedule</a></li>
20 <li><a href="#mySchedule">My Schedule</a></li>
21 <li><a href="#map">Map</a></li>
22 </ul>
23 </div>
24 </div>
25 <div id="fullSchedule" data-role="page">
26 <div data-role="header">
27 <h1>Full Schedule</h1>
28 <a href="#mySchedule" data-role="button" data-icon="star" class="ui-btn-right">My Schedule</a>
29 </div>
30 <div data-role="content">
f69b219 Joel Dart added templates and intial viewmodel
authored
31 <ul data-role="listview" data-inset="true">
32 <li data-role="list-divider"
33 data-bind="template: {name: 'sessionTmpl', foreach: mondaySessions, insertAfter: true, afterRenderAll: refreshListView}"
34 >Monday</li>
35 <li data-role="list-divider">Tuesday</li>
36 </ul>
7d93176 Joel Dart basic shell created
authored
37 </div>
f69b219 Joel Dart added templates and intial viewmodel
authored
38 <script id="sessionTmpl" type="text/html">
39 <li data-bind="attr: { 'data-icon': favoriteIcon}, click: toggleSelected" class="item">
40 <a>
41 <h3 data-bind="text: title"></h3>
42 <p data-bind="text: name"></p>
100adbf Joel Dart added my schedule
authored
43 <p data-bind="text: begin"></p>
f69b219 Joel Dart added templates and intial viewmodel
authored
44 </a>
45 </li>
46 </script>
7d93176 Joel Dart basic shell created
authored
47 </div>
48 <div id="mySchedule" data-role="page">
49 <div data-role="header">
50 <h1>My Schedule</h1>
51 </div>
52 <div data-role="content">
100adbf Joel Dart added my schedule
authored
53 <ul data-role="listview" data-inset="true">
54 <li data-role="list-divider"
55 data-bind="template: {name: 'sessionTmpl', foreach: myMondaySessions, insertAfter: true, afterRenderAll: refreshListView}"
56 >Monday</li>
57 </ul>
7d93176 Joel Dart basic shell created
authored
58 </div>
59 </div>
60 <div id="map" data-role="page">
61 <div data-role="header">
62 <h1>Map</h1>
63 </div>
64 <div data-role="content">
65 <p>Map goes here</p>
66 </div>
67 </div>
68 </body>
69 </html>
Something went wrong with that request. Please try again.