-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (87 loc) · 3.38 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pathfinding visualisation</title>
<script>
const exports = { __esModule: true }
</script>
<link href="https://stackpath.bootstrapcdn.com/bootswatch/4.5.0/slate/bootstrap.min.css" rel="stylesheet" />
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script src="build/main.js" defer></script>
</head>
<body style="margin: 20px;">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-bottom">
<div class="container">
<div class="row mx-auto">
<div class="col-md-12">
<div class="collapse navbar-collapse" id="navbarColor01">
<ul class="navbar-nav mr-auto">
<li class="nav-item dropup">
<a
class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
select an algorithm
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#" id="btn-select-dijkstrat">Dijkstrat</a>
<a class="dropdown-item" href="#" id="btn-select-bfs">Breath First Search</a>
<a class="dropdown-item" href="#" id="btn-select-dfs">Depth First Search</a>
<a class="dropdown-item" href="#" id="btn-select-bellman-ford">Bellman Ford</a>
<!-- <div class="dropdown-divider"></div> -->
</div>
</li>
<li class="nav-item">
<!-- <p class="pl-4 pr-4 text-info">select strat</p> -->
<a class="nav-link pl-4 pr-4 text-info" href="#" id="btn-select-start">select start</a>
</li>
<li class="nav-item">
<a class="nav-link pl-4 pr-4 text-success" href="#" id="btn-select-end">select end</a>
</li>
<li class="nav-item">
<a class="nav-link pl-4 pr-4 text-danger" href="#" id="btn-select-blocked">select blocked</a>
</li>
<li class="nav-item">
<a class="nav-link pl-4 pr-4" href="#" id="btn-clear-grid">clear grid</a>
</li>
<li class="nav-item">
<a class="nav-link pl-4 pr-4 text-warning" href="#" id="btn-see-path-only">path only</a>
</li>
<li class="nav-item">
<a class="nav-link pl-4 pr-4" href="#" id="btn-visualize" style="background-color: #092847; color: white;"
>visualize <span id="chosen-algorithm"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
<div class="container-fluid">
<table class="table table-bordered" style="width: 100%;"></table>
</div>
<!-- Modal -->
<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-body">
<span id="warning-message"></span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>