-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (71 loc) · 3.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TravelPlan</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/5548f5ed00.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<nav class="navbar navbar-light " style="font-size: 25px; font-family: sans-serif; background-color: whitesmoke;">
Travel Plan Visualizer
</nav>
<div id="container">
<div id="mynetwork">
</div>
<div id="container2">
<span id="temptext2" style="width: 100%; text-align: center; font-size: x-large">
</span>
<span id="temptext" style="width: 100%; text-align: center; font-size: x-large">
Red represents bus travel time : <i class="fa fa-bus" aria-hidden="true" style="color: orange"></i><br>
Green represents flight travel time : <i class="fa fa-plane" aria-hidden="true" style="color: green"></i><br>
Click solve to get Solution !!
</span>
<div id="mynetwork2" style="display: none"></div>
</div>
</div>
<div>
<br>
<button type="button" class="btn btn-danger" id="generate-graph">Get New Map</button>
<br>
<span id="srce">
<a>Enter Source</a>
<select id="source">
<option value="" disabled selected="selected" hidden>Choose Source</option>
<option value="1">Jamshedpur</option>
<option value="2">Mumbai</option>
<option value="3">Chennai</option>
<option value="4">Goa</option>
<option value="5">Kanpur</option>
<option value="6">Pune</option>
<option value="7">Hyderabad</option>
<option value="8">Bangalore</option>
<option value="9">Delhi</option>
<option value="10">Kolkata</option>
</select>
</span>
<span id="dest">
<a>Enter Destination</a>
<select id="destination">
<option value="" disabled selected="selected" hidden>Choose Destination</option>
<option value="1">Jamshedpur</option>
<option value="2">Mumbai</option>
<option value="3">Chennai</option>
<option value="4">Goa</option>
<option value="5">Kanpur</option>
<option value="6">Pune</option>
<option value="7">Hyderabad</option>
<option value="8" default>Bangalore</option>
<option value="9">Delhi</option>
<option value="10">Kolkata</option>
</select>
</span>
<button type="button" class="btn btn-success" id="solve">Solve</button>
</div>
</body>
</html>