-
Notifications
You must be signed in to change notification settings - Fork 0
/
graph_ui.html
48 lines (47 loc) · 2.29 KB
/
graph_ui.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
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="stylesheet" href="bootstrap.min.css">
<script src="jquery-3.5.1.slim.min.js"></script>
<script src="bootstrap.bundle.min.js"></script>
</head>
<body style="margin: 1rem">
<button class="btn btn-warning" data-toggle="modal" data-target="#exampleModal">Reset history</button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Confirm reset history</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
Are you sure you want to clear Histree's history? Your browser history will remain unchanged.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
<button type="button" id="reset" data-dismiss="modal" class="btn btn-warning">Reset history</button>
</div>
</div>
</div>
</div>
<h1>Double click an entry to open it</h1>
<form>
<label for="filter">Search:</label>
<div class="mb-3">
<input class="form-control" id="filter" type="text"></input>
</div>
<div>
<button class="btn btn-secondary" type="button" id="filterPrevious">Previous</button>
<button class="btn btn-primary" type="submit" id="filterNext">Next</button>
</div>
</form>
<div id="mynetwork"></div>
<script type="module" src="./datastore.js"></script>
<script type="module" src="./vis-network.min.js"></script>
<script type="module" src="./graphUi.js"></script>
</body>