-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
76 lines (71 loc) · 3.19 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
66
67
68
69
70
71
72
73
74
75
76
<html>
<head>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="./css/default.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/bootstrap-table.min.css">
</head>
<body>
<div class="container">
<div class="header clearfix">
<h3 class="text-muted">DynamoDB Viewer</h3>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Connection Settings</h3>
</div>
<div class="panel-body">
<form class="form inline">
<div class="form-group">
<label for="endpoint">AWS Access Key ID</label>
<input type="text" class="form-control" id="keyId" value="blah">
</div>
<div class="form-group">
<label for="endpoint">AWS Secret Access Key</label>
<input type="text" class="form-control" id="secret" value="blah">
</div>
<div class="form-group">
<label for="endpoint">DynamoDB Endpoint</label>
<input type="text" class="form-control" id="endpoint" placeholder="DynamoDB Endpoint" value="http://localhost:8000">
</div>
<div class="form-group">
<label for="region">DynamoDB Region</label>
<select class="form-control" id="region">
<option value="us-west-2">us-west-2</option>
</select>
</div>
<button id="connect" type="button" class="btn btn-primary">Connect</button>
</form>
</div>
</div>
<div id="sectionTables">
<hr />
<h3>Tables</h3>
<ul id="tables" class="list-group">
<li class="list-group-item">Please Connect</li>
<!-- auto populated -->
</ul>
</div>
<div id="sectionData">
<hr />
<h3>Data</h3>
<div class="form-group">
<label for="tableSelect">Table</label>
<select id="tableSelect" class="form-control">
</select>
</div>
<table id="table" class="table">
<thead id="tableHeader">
</thead>
</table>
</div>
</div> <!-- /container -->
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="js/dynamo.js"></script>
<!-- Bootstrap Tables -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/bootstrap-table.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/locale/bootstrap-table-en-US.js"></script>
<script src="https://cdn.jsdelivr.net/lodash/4.13.1/lodash.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.4.6.min.js"></script>
</body>
</html>