-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmanyDestinations.html
83 lines (64 loc) · 3.66 KB
/
manyDestinations.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
<!DOCTYPE html>
<html>
<head>
<style>
p.ex1 {
border: 1px solid yellow;
padding: 27px 70px;
}
</style>
<!-- imported css files -->
<title>Mars Rover Navigation</title>
<link rel="stylesheet" type="text/css" href="style2.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css2?family=Bangers&family=Cinzel+Decorative:wght@700&family=Modak&display=swap" rel="stylesheet">
</head>
<body onload="page_load()">
<nav class="navbar navbar-expand-sm navbar-dark bg-transparent top-nav" id="myNavbar">
<img src="images/microsoft logo.png" class="microsoft-logo">
<a class="navbar-brand" href="index.html" id="logo"> The Mars Colonization Program: Team FireStar </a>
</nav>
<nav class="navbar navbar-expand-sm navbar-dark bg-transparent">
<!-- this creates the buttons in the navigation bar-->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item dropdown" id="algorithms">
<a class="nav-link dropdown-toggle text-white" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Algorithms
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Dijkstra</a>
<a class="dropdown-item" href="#">Breadth-First Search (BFS) with diagonals</a>
<a class="dropdown-item" href="#">Breadth-First Search (BFS) without diagonals</a>
</div>
</li>
<li class="nav-item dropdown mx-5" id="new-features">
<a class="nav-link dropdown-toggle text-white" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Features
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#" id="single">Rover with Single Destination</a>
<a class="dropdown-item" href="#" id="checkpoint">Rover passing through Checkpoints</a>
</div>
</li>
</ul>
<button class="btn btn-outline-light btn-space" type="submit" id="start">Start Rover</button>
<button type="button" class="btn btn-outline-light btn-space" type="submit" id="clear">Clear Grid</button>
</div>
</nav>
<p class="ex1" style="color:white; text-align:left;"><b>Move the destination nodes and the source node about the grid, before you start the algorithm visualizer!</b></p>
<!-- this creates the table or grid-->
<div id="holder"> <!--gives alignments to the grid-->
<div id="tableHolder"></div> <!--conatins the actual grid-->
</div>
<!-- imported javascript files -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- javascript files we have to write-->
<script type="text/javascript" src="Javascript files/Multiple destinations/scriptManyDestinations.js"></script>
</body>
</html>