-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (97 loc) · 3.36 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Main Menu</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="script.js"></script>
<script>
$(document).ready(function() {
var user = localStorage.getItem("User");
if(user === null) {
$("#viewhistory").hide();
$("#logout").hide();
} else {
$("#login").hide();
$("#signup").hide();
}
});
</script>
</head>
<body>
<!--Main menu navbar-->
<script src="nav-bar.js"></script>
<div id="nav-bar"></div>
<br>
<!--Start of main menu-->
<div class="container main-menu">
<div class="row">
<div class="col-sm-12">
<a class = "mmLink" href="flight-info.html">
<img src="https://iili.io/hDm69R.th.png" alt="i image" width="60" height="60">
Flight Info
<img src="https://iili.io/hDpuoP.th.png" alt="plane image" width="60" height="60">
</a>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<a class = "mmLink" href="food-menu.html">
Food & Drinks <br>
<img src="https://iili.io/hDyv2a.png" alt="food image" width="60" height="60">
</a>
<br>
</div>
<div class="col-sm-4">
<a class = "mmLink" href="movie-menu.html">
Movies <br>
<img src="https://iili.io/hDpFV9.th.png" alt="movie image" width="60" height="60">
</a>
<br>
</div>
<div class="col-sm-4">
<a class = "mmLink" href="game-menu.html">
Games <br>
<img src="https://iili.io/hDpYla.th.png" alt="game image" width="60" height="60">
<br>
</a>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<a id="viewhistory" class ="mmLink" href="purchase-history.html">
<!-- image -->
View Purchase History
<!-- image -->
<br>
</a>
<a id="logout" class ="mmLink" href="logout.html">
<!-- image -->
Log-Out
<!-- image -->
</a>
<a id="login" class = "mmLink" href="login.html">
<img src="https://iili.io/jdBhAv.md.png" alt="login" width=60 height=60>
Log-in
<img src="https://iili.io/jdB0MP.md.png" alt="login" width=60 height=60>
<br>
</a>
<a id="signup" class = "mmLink" href="signup.html">
<img id="flipped" src="https://iili.io/jdBSln.md.png" alt="login" width=60 height=60>
Signup
<img src="https://iili.io/jdBSln.md.png" alt="login" width=60 height=60>
</a>
</div>
</div>
</div>
<!--
This script places a badge on your repl's full-browser view back to your repl's cover page. Try various colors for the theme: dark, light, red, orange, yellow, lime, green, teal, blue, blurple, magenta, pink!
-->
<script src="https://replit.com/public/js/replit-badge.js" theme="blue" defer></script>
</body>
</html>