-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.html
187 lines (186 loc) · 9.92 KB
/
profile.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
184
185
186
187
<!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="./css/style.css">
<link rel="stylesheet" href="./css/profile.css">
<title>UsedCars | Profil korisnika</title>
<link rel="icon" type="image/x-icon" href="./images/icons/car-icon.png">
<script src="./js/index.js" defer></script>
<script src="./js/profile.js" defer></script>
</head>
<body>
<header>
<div class="menu">
<div class="logo">
<img src="./images/icons/car-icon.png" alt="Yellow car icon that is part of the logo">
<span class="yellow">Used</span>
<span class="white">Cars</span>
</div>
<img src="./images/icons/hamburger-icon.png" alt="Hamburger icon" id="hamburger">
</div>
<nav id="nav">
<ul>
<li><a href="index.html">Početna</a></li>
<li><a href="#">Pretraga</a></li>
<li><a href="#">Vesti</a></li>
<div class="buttons">
<li><button class="modal-btn">Prijavi se</button></li>
<li><a href="register.html" class="login-btn">Registruj se</a></li>
</div>
</ul>
</nav>
<div id="overlay">
<div class="login-form">
<div class="login-data">
<div class="login-item">
<label for="uname">Korisničko ime</label>
<input type="text" placeholder="Korisničko ime" name="uname" required>
</div>
<div class="login-item">
<label for="psw">Šifra</label>
<input type="password" placeholder="Šifra" name="psw" required>
</div>
<button type="submit" class="login-btn">Uloguj se</button>
</div>
<div class="close-login">
<button type="button" class="cancel-btn">Zatvori</button>
<a href="register.html">Nemate svoj nalog? Napravite novi!</a>
</div>
</div>
</div>
</header>
<main>
<section class="profile">
<h1 class="profile-username">Dobrodošli, cvrlee10!</h1>
<div class="profile-info">
<img src="./images/cvrle.jpg" alt="Profile image of user" class="profile-image">
<h2 class="profile-name">Cvrle Auto</h2>
</div>
<div class="profile-options">
<ul>
<li><a href="./adding-ad.html" class="new-ad">Novi oglas</a></li>
<li><a href="#ads" onclick="showAds()" class="link-to-section">Moji oglasi</a></li>
<li><a href="#searches" onclick="showSearches()" class="link-to-section">Sačuvane pretrage</a></li>
<li><a href="#data" onclick="showProfileData()" class="link-to-section">Podaci o profilu</a></li>
<li><a href="./index.html" class="profile-btn">Odjavite se</a></li>
</ul>
</div>
</section>
<section class="profile-section car-ads" id="ads">
<h1>Moji oglasi</h1>
<div class="car-ads-grid">
<div class="car-ad">
<img src="./images/car_images/car1.jpg" alt="A car">
<div class="car-desc">
<div class="car-name-price">
<h2 class="car-name">Lorem, ipsum dolor.</h2>
<p class="car-price">1,400.00$</p>
</div>
<p class="car-details">Benzin (2007) | Futog</p>
</div>
</div>
<div class="car-ad">
<img src="./images/car_images/car2.jpg" alt="A car">
<div class="car-desc">
<div class="car-name-price">
<h2 class="car-name">Lorem, ipsum dolor.</h2>
<p class="car-price">1,400.00$</p>
</div>
<p class="car-details">Benzin (2007) | Futog</p>
</div>
</div>
<div class="car-ad">
<img src="./images/car_images/car3.jpg" alt="A car">
<div class="car-desc">
<div class="car-name-price">
<h2 class="car-name">Lorem, ipsum dolor.</h2>
<p class="car-price">1,400.00$</p>
</div>
<p class="car-details">Benzin (2007) | Futog</p>
</div>
</div>
</div>
</section>
<section class="profile-section saved-searches" id="searches">
<h1>Sačuvane pretrage</h1>
<ul>
<li class="search">
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: msFilter;"><path d="M13.707 2.293A.996.996 0 0 0 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9a.996.996 0 0 0-.293-.707l-6-6zM6 4h6.586L18 9.414l.002 9.174-2.568-2.568c.35-.595.566-1.281.566-2.02 0-2.206-1.794-4-4-4s-4 1.794-4 4 1.794 4 4 4c.739 0 1.425-.216 2.02-.566L16.586 20H6V4zm6 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2z"></path></svg>
<p>audi</p>
</li>
<li class="search">
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: msFilter;"><path d="M13.707 2.293A.996.996 0 0 0 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9a.996.996 0 0 0-.293-.707l-6-6zM6 4h6.586L18 9.414l.002 9.174-2.568-2.568c.35-.595.566-1.281.566-2.02 0-2.206-1.794-4-4-4s-4 1.794-4 4 1.794 4 4 4c.739 0 1.425-.216 2.02-.566L16.586 20H6V4zm6 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2z"></path></svg>
<p>dizel</p>
</li>
<li class="search">
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: msFilter;"><path d="M13.707 2.293A.996.996 0 0 0 13 2H6c-1.103 0-2 .897-2 2v16c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9a.996.996 0 0 0-.293-.707l-6-6zM6 4h6.586L18 9.414l.002 9.174-2.568-2.568c.35-.595.566-1.281.566-2.02 0-2.206-1.794-4-4-4s-4 1.794-4 4 1.794 4 4 4c.739 0 1.425-.216 2.02-.566L16.586 20H6V4zm6 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2z"></path></svg>
<p>2/3</p>
</li>
</ul>
</section>
<section class="profile-section profile-data" id="data">
<h1>Podaci o profilu</h1>
<div>
<p>Ime</p>
<p class="bold">Cvrle</p>
</div>
<div>
<p>Prezime</p>
<p class="bold">Auto</p>
</div>
<div>
<p>Korisničko ime</p>
<p class="bold">cvrlee10</p>
</div>
<div>
<p>Broj telefona</p>
<p class="bold">061/423-34-12</p>
</div>
<div>
<p>Email adresa</p>
<p class="bold">cvrle123@gmail.com</p>
</div>
<button class="profile-btn">Promeni lozinku</button>
<button class="profile-btn">Obriši nalog</button>
</section>
<section class="guide">
<div class="guide-desc">
<h1 class="guide-title">Kako izabrati najbolji automobil za Vas?</h1>
<p>Na šta sve treba obratiti pažnju pri kupovini automobila, koji detalji su najvažniji? Pročitajte naš <a href="https://www.polovniautomobili.com/pomoc-pri-kupovini-automobila">vodič</a> pre Vaše prve kupovine!</p>
</div>
<img src="./images/icons/shopping_cart.png" alt="Shopping cart icon">
</section>
</main>
<footer>
<div class="logo">
<img src="./images/icons/car-icon.png" alt="Yellow car icon that is part of the logo">
<span class="yellow">Used</span>
<span class="white">Cars</span>
</div>
<div class="contact">
<div class="contact-info">
<a href="#">Oglasi</a>
<a href="#">Cene</a>
<a href="register.html" class="login-btn">Registruj se</a>
</div>
<div class="contact-sections">
<div class="contact-section">
<h2>Kompanija</h2>
<a href="#">Iskustva korisnika</a>
<a href="#">O nama</a>
<a href="#">Kontakt</a>
</div>
<div class="contact-section">
<h2>Pomoć</h2>
<a href="#">Podrška</a>
<a href="#">Blog</a>
</div>
</div>
</div>
<p>©2022 UsedCars.com, sva prava zadržana.</p>
</footer>
</body>
</html>