forked from brianjgeiger/o2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (70 loc) · 2.77 KB
/
index.html
File metadata and controls
80 lines (70 loc) · 2.77 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test</title>
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="photon-0.1.2-dist/css/photon.min.css">
<link rel="stylesheet" href="o2.css">
<script src="ui.js" charset="utf-8"></script>
</head>
<body>
<div class="window">
<!-- .toolbar-header sits at the top of your app -->
<header class="toolbar toolbar-header">
<h1 class="title">OSF Offline</h1>
<button class="btn btn-default" id="exitButton">
Quit OSF Offline
</button>
<button class="btn btn-primary pull-right" id="syncButton">
Sync Now
</button>
</header>
<!-- Your app's content goes inside .window-content -->
<div class="window-content">
<div class="content-pane center" id="nodeLocPane">
<h2>Sync which node?</h2>
<form id="nodeChooser">
<span id="nodeList"></span>
<div class="form-actions">
<div><select class='form-control' id="nodeOptions">
<option value=''>Loading data from OSF…</option>
</select>
</div>
<div>
<button id="setLocalFolderButton" onclick="chooseLocalFolder();">Choose local folder</button> <span id="localFolderSpan"></span>
</div>
<button type="submit" class="btn btn-form btn-primary">OK</button>
</div>
</form>
</div>
<div class="content-pane center" id="loginPane">
<h2>Login</h2>
<form id="loginForm">
<div class="form-group">
<label>Email address</label>
<input type="email" class="form-control" placeholder="Email" id="emailField">
</div>
<div class="form-group">
<label>Password</label>
<input type="password" class="form-control" placeholder="Password">
</div>
<div class="form-actions">
<button type="reset" class="btn btn-form btn-default">Cancel</button>
<button type="submit" class="btn btn-form btn-primary">OK</button>
</div>
</form>
</div>
<div class="content-pane center" id="statusPane">
<table class="table-striped" id="statusTable"></table>
</div>
</div>
<footer class="toolbar toolbar-footer">
<span class="alertMessage" id="messagePane"></span>
<button class="btn pull-right" id="settingsButton">
<i class="fa fa-cog"></i>
</button>
</footer>
</div>
</body>
</html>