-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (77 loc) · 2.44 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Le Wagon Garage</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
/>
<link rel="stylesheet" href="stylesheets/style.css" />
</head>
<body>
<div class="garage" data-controller="garage">
<div class="sidebar">
<div
class="garage-image"
style="
background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.4)),
url('images/garage.jpg');
"
>
<div class="garage-logo">
<img src="images/white_logo_red_circle.png" alt="" />
</div>
</div>
<div class="garage-info">
<h3 class="text-center">Le Wagon</h3>
<div class="garage-description">
Our garage is the best. Reasonable price, always on time, we are the awesome (and
fictional).
</div>
<div class="text-center">
<form class="d-flex flex-column p-3 gap-3" data-action="submit->garage#addCar">
<input
name="brand"
type="text"
class="form-control"
placeholder="Ferrari"
data-garage-target="brand"
/>
<input
name="model"
type="text"
class="form-control"
placeholder="308 GTS"
data-garage-target="model"
/>
<input
name="plate"
type="text"
class="form-control"
placeholder="56E-478"
data-garage-target="plate"
/>
<input
name="owner"
type="text"
class="form-control"
placeholder="Thomas Magnum"
data-garage-target="owner"
/>
<input type="submit" class="btn btn-primary" value="Add a Car" />
</form>
</div>
</div>
</div>
<div class="cars-list" data-garage-target="carsList"></div>
</div>
<script src="main.js"></script>
</body>
</html>