-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaddTime.html
More file actions
179 lines (165 loc) · 8.95 KB
/
addTime.html
File metadata and controls
179 lines (165 loc) · 8.95 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html>
<head>
<title>Dashboard</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="img/favicon.png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link rel="stylesheet" type="text/css" href="app.css">
<link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="mobile-style.css" />
<script src="https://www.gstatic.com/firebasejs/4.9.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.9.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.9.1/firebase-database.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="js/firebase_init_index.js"></script>
<script src="js/dropdownmenu.js"></script>
<script src="js/mobile_sidebar.js"></script>
<script src="js/dashboard.js"></script>
<script type="text/javascript" src="js/home.js"></script>
<script type="text/javascript" src='https://cdn.firebase.com/js/client/1.0.15/firebase.js'></script>
</head>
<body>
<div id="header" class="header">
<div class="logo">
<img src="img/siu-parking-logo.png" alt="SIU Logo">
</div>
<div onclick="myFunction()" class="accountbar">
<div class="profilepicture">
<img src="img/defaultprofilepicture.png" alt="profilepicture">
</div>
<div class="firstname">
<div class="firstnametext">
<p class="fname" id="firstname"></p>
</div>
<div class="firstnamedropdown">
<img id="menudrop" src="img/menudropclosed.png">
</div>
</div>
<div id="myDropdown" class="dropdown-content">
<a href="#myacc">My Account</a>
<a href="#help">Help</a>
<a onClick="doSignOut()" href="#signout">Sign Out</a>
</div>
</div>
</div>
<div id="textcenter" class="text-center">
<div class="mobile-menu">
<div class="mobile-button" onclick="openMenu()">
<span class="glyphicon glyphicon-menu-hamburger" style="color: #f0f3f5;"></span>
</div>
</div>
<div id="sidebarMenu" class="sidebar" style="font-family: 'Roboto', sans-serif;">
<div class="sidebar" id="sidebar" style="font-family: 'Roboto', sans-serif;">
<div class="menu-account">
<div class="menuprofilepicture"><img src="img/defaultprofilepicture.png" alt="profilepicture"></div>
<div class="menufirstname">
<div class="menufirstnametext">
<p class="fname" id="firstnamemenu"></p>
</div>
<div class="menu-credits">
<div id="menucredits" class="credits-text">
<p>Credits:</p>
</div>
</div>
</div>
</div>
<a href="index.html">
<span class="glyphicon glyphicon-home"></span> Home</a>
<a href="purchase.html"><span class="glyphicon glyphicon-time"></span> Purchase Spot</a>
<a href="credits.html"><span class="glyphicon glyphicon-usd"></span> Add Credits</a>
<a href="#signout" onClick="doSignOut()" class="menulogout">
<span class="glyphicon glyphicon-log-out"></span> Logout</a>
</div>
</div>
<div class="main container-fluid" id="content">
<div class="purchase">
<div class="currentspot">
<div class="cardTitle">
<div class="cardIcon">
<p>
<span class="glyphicon glyphicon-dashboard"></span>
</p>
</div>
<div class="cardText">
<p id="currentSpot"> Add Time to Spot</p>
</div>
</div>
<div id="cardBody" class="cardBodyPurchase">
<form id="regForm">
<div class="tab">
<p>Your current lot and spot</p>
<div class="pickspot">
<select id="lot" disabled="disabled">
<option selected="true" >SIU Lot A</option>
<option value="SIU Lot B">SIU Lot B</option>
</select>
<input type="text" id="spotNumber" placeholder="Your spot" disabled/>
</div>
<p>Choose amout of time</p>
<div class="amountoftime" style="padding:10px">
<ul class="amt-time">
<li>
<input type="radio" id="a25" name="hours" value="2" checked="checked" />
<label for="a25">
<span class="glyphicon glyphicon-time"></span><br> 2 Hours</label>
</li>
<li>
<input type="radio" id="a50" name="hours" value="4" />
<label for="a50">
<span class="glyphicon glyphicon-time"></span><br> 4 Hours</label>
</li>
<li>
<input type="radio" id="a75" name="hours" value="6" />
<label for="a75">
<span class="glyphicon glyphicon-time"></span><br> 6 Hours</label>
</li>
<li>
<input type="radio" id="a100" name="hours" value="8" />
<label class="right" for="a100">
<span class="glyphicon glyphicon-time"></span><br> 8 Hours</label>
</li>
</ul>
</div>
</div>
<div class="tab">
<div id="pay">
<form id="credit-card" style="height:475px">
<div id="form-head">
<h4>Pay with Credits</h4>
</div>
<div id="form-body">
<h5>Lot:</h5>
</div>
<div>
<div class="text-center" style="width: 50%; font-family: 'Roboto Condensed', sans-serif; margin-top: -140px">
</div>
</div>
</div>
</form>
</div>
</div>
<div class="paymentbtns">
<div id="formbtns" class="formbtns" style="float:right;">
<button type="button" id="prevBtn" onclick="nextPrev(-1)" style="font-family: 'Roboto Condensed', sans-serif;">Previous</button>
<button type="button" id="nextBtn" class="continue" onclick="nextPrev(1)" style="font-family: 'Roboto Condensed', sans-serif;">Next</button>
</div>
</div>
<!-- Circles which indicates the steps of the form: -->
<div id="circles" style="text-align:center;margin-top:40px;">
<span class="step"></span>
<span class="step"></span>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<script type="text/javascript" src="js/addTime.js"></script>
<script type="text/javascript" src="js/purchase.js"></script>