forked from jchris/GrocerySync-CouchApp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
38 lines (35 loc) · 1.29 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
<!DOCTYPE html>
<html>
<head>
<title>Grocery List</title>
<link rel="stylesheet" href="style/main.css" type="text/css">
</head>
<body>
<div id="account"></div>
<h1 id="site_header"><img src="images/icon.png" />Grocery List</h1>
<div id="profile">
<form id="create-message">
<input type="text" name="text" size="60" />
</form>
<div style="clear:left;"></div>
</div>
<div id="content"></div>
</body>
<script src="script/json2.js"></script>
<script src="script/jquery.js"></script>
<script src="script/jquery.couch.js"></script>
<script src="vendor/couchapp/jquery.couchForm.js"></script>
<script src="vendor/couchapp/jquery.mustache.js"></script>
<script id="recent-messages" type="text/x-mustache" charset="utf-8">
<ul id="items">
{{#items}}
<li {{#check}}class="checked"{{/check}} id="{{id}}">
<p> <input type = "checkbox" {{#check}}checked{{/check}}>{{text}}</p>
<div style="clear:left;"></div>
</li>
{{/items}}
</ul>
<p><em>Protip:</em> If you setup continuous replication between this database and a remote one, this list will reflect remote changes in near real-time.</p>
</script>
<script src="script/app.js"></script>
</html>