forked from 5apps/unhosted-tutorial
/
index.html
41 lines (33 loc) · 1.25 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Unhosted remoteStorage Tutorial</title>
<link href="css/screen.css" media="screen" rel="stylesheet" type="text/css" />
<script src="js/require.js" type="text/javascript"></script>
<script src="js/unhosted.js" type="text/javascript"></script>
</head>
<body>
<h1>remoteStorage.js Tutorial</h1>
<form id="userAddressForm" action="">
<label for="userAddress">Your user address:</label>
<input type="text" id="userAddress" size="50" value="jimmy@express-storage.nodejitsu.com" />
<input type="submit" value="Connect to remoteStorage" />
</form>
<p>
<label for="publicKey">Key:</label>
<input type="text" id="publicKey" size="20" value="foo" />
<input type="submit" id="fetch" value="Fetch data" />
</p>
<p>
<p>
<input type="submit" id="authorize" value="Authorize access" />
</p>
<label for="documentsKey">Key:</label>
<input type="text" id="documentsKey" size="20" value="bar" />
<label for="docuementsValue">Value:</label>
<input type="text" id="documentsValue" size="50" value="baz" />
<input type="submit" id="publish" value="Push data" />
</p>
</body>
</html>