-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (61 loc) · 1.95 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<head>
<title> Ajmani Email Client </title>
<link rel="stylesheet" href="/normalize.min.css">
<link rel="stylesheet" href="/bootstrap.min.css">
<link rel="stylesheet" href="/bootstrap-responsive.min.css">
<script src="/jquery-2.0.0.min.js"></script>
<script src="/underscore-min.js"></script>
<script src="/database.js"></script>
<script src="/app.js"></script>
</head>
<script type="text/template" id="tableTemplate">
<div class="row-fluid" style="margin-top:10%">
<div class="span4 offset4">
ClientVersion: <%= database.version %>
ServerVersion: <%= database.serverVersion %>
</div>
</div>
<div class="row-fluid">
<div class="span4 offset4">
<table class="table table-striped table-hover table-bordered">
<thead>
<tr>
<th> Id </th>
<% _.each(table.headers, function(header) { %>
<th><%= header %></th>
<% }); %>
</tr>
</thead>
<tbody>
<% _.each(table.records, function(fields,id) { %>
<tr>
<td> <%= id %> </td>
<% _.each(fields, function(f) { %>
<td><%= f %></td>
<% }); %>
</tr>
<% }); %>
</tbody>
</table>
</div>
</div>
</script>
<script type="text/template" id="tableNameTemplate">
<div class="row-fluid">
<form class="form-inline span6 offset4" id="formTableName">
<input type="text" class="input-small" id="tableName" placeholder="Enter Table Name" autofocus>
<input type="text" class="input-mini" id="clientVersion" placeholder="0">
<button type="submit" class="btn btn-primary btn-small">Get</button>
</form>
</div>
</script>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div id="viewport2"> </div>
<div id="viewport"> </div>
</div>
</div>
</body>
</html>