-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (51 loc) · 2.03 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
<!DOCTYPE html>
<html>
<head>
<title>Stadion, Sprint.ly Activity Stream</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="scripts/underscore-min.js"></script>
<script src="scripts/knockout-2.0.0.js"></script>
<script src="scripts/knockout.mapping-latest.js"></script>
<!-- <script src="scripts/ko.jqm.bindings.min.js"></script> -->
<script src="scripts/util.js"></script>
<script src="scripts/diffmodel.js"></script>
<script src="scripts/bindings.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script>
</head>
<body>
<div id="channels" class="loggedin" data-role="page">
<div data-role="header">
<h1>Products</h1>
</div>
<div data-role="content" data-bind="foreach: products">
<a data-bind="text: name, buttonize: name, click: $parent.navigate"></a>
</div>
</div>
<div id="feed" class="loggedin" data-role="page">
<div data-role="header">
<a data-bind="click: backToChannels" data-role="button">Back to Channels</a>
<h1 data-bind="text: productName">Feed</h1>
</div>
<div data-role="content" data-bind="foreach: {data: feed, afterAdd: afterAdd}">
<div data-bind="html: $data"></div>
</div>
</div>
<div id="login" data-role="page">
<div data-role="header">
<h1>Welcome</h1>
</div>
<div data-role="content">
<form data-bind="submit: login">
<label for="email" class="ui-hidden-accessible">Email</label>
<input data-bind="value: email" type="email" name="email" placeholder="Email"/>
<label for="apikey" class="ui-hidden-accessible">Email</label>
<input data-bind="value: password" type="password" name="apikey" placeholder="API Key"/>
<input type="submit" value="Connect"/>
</form>
</div>
</div>
</body>
</html>