forked from bernhardh/furnitureFactory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (42 loc) · 1.34 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
<html>
<head>
<title>costco - bulk edit couchdb docs</title>
<link rel="stylesheet" href="costco.css" type="text/css">
<script src="vendor/couchapp/loader.js" type="text/javascript"></script>
<script src="costco.js" type="text/javascript"></script>
<script src="underscore-min.js" type="text/javascript"></script>
</head>
<body>
<div id="header">
<span id="costco-banner">
costco bulk edit
</span>
db: <select id="db-select">
<optgroup id="existing-dbs">
</optgroup>
<optgroup id="new-db">
<option id="new-db-option" value="new-db">*new*</option>
</optgroup>
</select>
<span id="create-box">
name:<input id="new-db-name"></input>
<input id="create-db" type="button" value="create"/>
</span>
</div>
<div id="container">
<div id="map-container">
<div id="map-message">Edit function
<span id="add-message">or JSON docs to add</span>:<a id="examples" href="http://harthur.github.com/costco/#examples" target=_blank>examples</a></div>
<textarea id="map-function"></textarea>
<span id="update-button" class="button">Update Docs</span>
</div>
<div id="status"></div>
<div id="update-container">
<div>
<span id="continue-button" class="button">Continue</span>
<span id="cancel-button" class="button">Cancel</span>
</div>
</div>
</div>
</body>
</html>