-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
169 lines (158 loc) · 5.33 KB
/
index.html
File metadata and controls
169 lines (158 loc) · 5.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css"
/>
<link rel="stylesheet" href="styles.css" />
<title>TraCARS™</title>
</head>
<body>
<header>
<!-- navbar -->
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">TraCARS™</a>
<div style="float: right">
<span
><a class="navbar-links" href="reservations.html"
>Reservations</a
></span
>
<span><a class="navbar-links" href="newReso.html">New</a></span>
</div>
</div>
<!-- container -->
</nav>
</header>
<main class="d-flex align-items-center">
<!-- main section -->
<div class="container-md mt-5">
<div class="row">
<div class="col-md-6 offset-md-3">
<!-- add form section -->
<h4 class="mb-4">Add Your Reservation</h4>
<form>
<div class="row mb-3">
<label for="name" class="col-sm-2 col-form-label">Name:</label>
<div class="col-sm-10">
<input
type="text"
class="form-control"
id="name"
placeholder="John Matthews"
required
/>
</div>
<!-- end of col-sm-10 name -->
</div>
<!-- end of row-->
<div class="row mb-3">
<label for="date" class="col-sm-2 col-form-label">Date:</label>
<div class="col-sm-10">
<input type="date" class="form-control" id="date" required />
</div>
<!-- end of col-sm-10 date -->
</div>
<!-- end of row-->
<div class="row mb-3">
<label for="timeStart" class="col-sm-2 col-form-label"
>Start:</label
>
<div class="col-sm-10">
<input
type="time"
class="form-control"
id="timeStart"
required
/>
</div>
<!-- end of col-sm-10 timeStart -->
</div>
<!-- end of row-->
<div class="row mb-3">
<label for="timeEnd" class="col-sm-2 col-form-label"
>End:</label
>
<div class="col-sm-10">
<input
type="time"
class="form-control"
id="timeEnd"
required
/>
</div>
<!-- end of col-sm-10 timeEnd -->
</div>
<!-- end of row-->
<div class="row mb-3">
<label for="notes" class="col-sm-2 col-form-label"
>Notes:</label
>
<div class="col-sm-10">
<textarea
type="text"
class="form-control"
id="notes"
rows="3"
></textarea>
</div>
<!-- end of col-sm-10 name -->
</div>
<!-- end of row-->
</form>
<!-- end of form -->
<div class="col float-md-end mb-3">
<button type="submit" class="btn btn-primary" onclick="submit()">
Sumbit
</button>
<button
type="button"
class="btn btn-secondary"
onclick="cancel()"
>
Cancel
</button>
</div>
</div>
<!-- end of col-md-6 -->
</div>
<!-- end of row -->
<!--Start of reservations-->
<div class="row" style="margin-bottom: 5em">
<div class="col-md-6 offset-md-3" id="reservation-container">
<h4 class="mb-4">Reservations</h4>
<!--Cards go here-->
</div>
<!-- end of reservation container -->
</div>
</div>
<!-- end of container-md -->
</main>
<!-- Footer -->
<footer class="bg-light text-center text-lg-start fixed-bottom text-white">
<!-- Copyright -->
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2)">
© 2022 Copyright:
<a class="text-white" href="#">TraCars</a>
</div>
<!-- Copyright -->
</footer>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"
></script>
<script src="app.js"></script>
</body>
</html>