-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
183 lines (139 loc) · 7.72 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
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
179
180
181
182
183
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Autopia</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="css/master.css">
<link rel="stylesheet" href="css/prealoader.css">
<link rel="shortcut icon" href="src/logo.png" type="image/x-icon">
</head>
<body>
<!-- preloader -->
<div id="preloader">
<div class="progress-container">
<div class="progress-bar" id="progress-bar"></div>
</div>
</div>
<!-- preloader end -->
<!-- navbar -->
<nav class="navbar navbar-light bg-light">
<a class="navbar-brand noborder" href="javascript:void(0);" style="cursor: default;">
<img src="src/logo.png" width="30" height="30" class="d-inline-block align-top logo animate__animated" style="animation: pulse 2s ease-in-out infinite;">
<span class="animate__animated text-glow" style="animation: pulse 2s ease-in-out infinite;">Autopia</span>
</a>
<button id="filterButton" onclick="toggleFilters()" class="btn btn-dark animate__animated animate__fadeInDown filter-animation">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#1A1C20" class="bi bi-funnel-fill" viewBox="0 0 16 16">
<path d="M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5z"/>
</svg>
</button>
</nav>
<!-- navbar end-->
<!--filter menu-->
<div class="filterMenu">
<form>
<div class="row align-items-center">
<div class="col-12 col-lg-4 d-flex flex-column justify-content-center align-items-center">
<div class="mb-3">
<label for="carBrand">Brands</label>
<select class="form-select" aria-label="Brand" id="carBrand">
<option selected>Any</option>
</select>
</div>
<div class="mb-3">
<label for="carModel" class="form-label">Model</label>
<input type="text" class="form-control" id="carModel" placeholder="E.g. Golf">
</div>
<div class="mb-3">
<label for="carType">Type</label>
<select class="form-select" aria-label="Type" id="carType">
<option selected>Any</option>
</select>
</div>
</div>
<div class="col-12 col-lg-4 d-flex flex-column justify-content-center align-items-center">
<div class="mb-3">
<label for="kmFrom">Mileage from</label>
<label for="kmTo" style="float: right;">Mileage to</label>
<div class="inputs">
<input type="text" class="form-control" id="kmFrom" placeholder="E.g. 200km">
<input type="text" class="form-control" id="kmTo" placeholder="E.g. 155 000km">
</div>
</div>
<div class="mb-3">
<label for="priceFrom">Price from</label>
<label for="priceTo" style="float: right;">Price to</label>
<div class="inputs">
<input type="text" class="form-control" id="priceFrom" placeholder="E.g. 200.000Ft">
<input type="text" class="form-control" id="priceTo" placeholder="E.g. 950.000Ft">
</div>
</div>
<div class="mb-3">
<label for="yearFrom">Year from</label>
<label for="yearTo" style="float: right;">Year to</label>
<div class="inputs">
<input type="text" class="form-control" id="yearFrom" placeholder="E.g. 2008">
<input type="text" class="form-control" id="yearTo" placeholder="E.g. 2013">
</div>
</div>
</div>
<div class="col-12 col-lg-4 d-flex flex-column justify-content-center align-items-center">
<div class="mb-3">
<label for="carTransmission">Transmission</label>
<select class="form-select" aria-label="Transmission" id="carTransmission">
<option selected>Any</option>
<option value="manual">Manual</option>
<option value="automatic">Automatic</option>
</select>
</div>
<div class="mb-3">
<label for="carFuel">Fuel type</label>
<select class="form-select" aria-label="Fuel type" id="carFuel">
<option selected>Any</option>
<option value="petrol">Petrol</option>
<option value="diesel">Diesel</option>
<option value="electric">Electric</option>
</select>
</div>
<div class="mb-3">
<label id="hpLabel" for="performanceFrom">HP from</label>
<label id="hpLabel" for="performanceTo" style="float: right;">HP to</label>
<div class="inputs2">
<input type="text" class="form-control" id="performanceFrom" placeholder="E.g. 75 HP">
<input type="text" class="form-control" id="performanceTo" placeholder="E.g. 115 HP">
</div>
</div>
</div>
<div class="col-12 d-flex justify-content-center">
<button type="button" class="btn btn-dark hover-effect" id="sortPriceButton">Sort by price</button>
<button type="button" class="btn btn-dark hover-effect" id="resetFilters">Reset filters</button>
</div>
</div>
</form>
</div>
<!-- filter menu end -->
<!-- hover button -->
<div id="floatButton" class="float-button">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="#ffde98" class="bi bi-arrow-up-circle-fill" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 0 0 8a8 8 0 0 0 16 0m-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707z"/>
</svg>
</div>
<!-- hover button end -->
<!-- content -->
<div class="container-fluid">
</div>
<!-- content end -->
<!-- pagination -->
<div class="pagination-container d-flex justify-content-center">
<ul class="pagination"></ul>
</div>
<!-- pagination end -->
<!-- script -->
<script src="js/script.js"></script>
<script src="js/filter.js"></script>
<script src="js/preloader.js"></script>
<!-- script end -->
</body>
</html>