forked from nolanlawson/hello-electron-with-pouchdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (48 loc) · 1.65 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./style/base.css">
<title>PouchDB ♥ Electron</title>
</head>
<body>
<script src="./node_modules/pouchdb/dist/pouchdb.js"></script>
<h1>PouchDB ♥ Electron</h1>
We are using
<ul>
<li>Node.js <script>document.write(process.version)</script></li>
<li>Electron <script>document.write(process.versions.electron)</script></li>
<li>PouchDB <script>document.write(PouchDB.version)</script></li>
</ul>
<div id="leveldb"></div>
<section id="todoapp">
<header id="header">
<h1>todos</h1>
<input type="text" id="new-todo" placeholder="What needs to be done?" autofocus>
</header>
<section id="main">
<ul id="todo-list"></ul>
</section>
<footer id="footer">
<span id="todo-count"></span>
<div id="sync-wrapper">
<div id="sync-success">Currently syncing</div>
<div id="sync-error">There was a problem syncing</div>
</div>
</footer>
</section>
<footer id="info">
<p>Double-click to edit a todo</p>
<p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Created by <a href="http://twitter.com/ffesseler">Florian Fesseler</a></p>
<p>Cleanup, edits by <a href="http://github.com/boushley">Aaron Boushley</a></p>
</footer>
<div id="reportRunnerDiv">
<button id="btnRunReport">Run Report</button>
</div>
<div id="manifestReportRunnerDiv">
<button id="btnRunManifestReport">Mock Manifest</button>
</div>
<script src="script.js"></script>
</body>
</html>