-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit.html
98 lines (98 loc) · 3.61 KB
/
edit.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="Edit the products of your dreams, change price, title and image" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Edit product</title>
<link href="css/style.css" rel="stylesheet" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous" />
<link rel="stylesheet" href="https://use.typekit.net/rdc7pwf.css">
<link rel="icon" href="data:;base64,=" />
</head>
<body>
<section class="top__header">
</section>
<nav class="nav">
<div class="nav__left">
<button aria-label="open navigation" class="nav--open"><i class="fas fa-bars"></i></button>
<div class="nav__content">
<button aria-label="close navigation" class="nav--close"><i class="fas fa-times"></i></button>
<ul class="nav__menu"></ul>
</div>
</div>
<a href="index.html"><img class="logo" src="images/logo.png"/></a>
<div class="nav__icons"></div>
</section>
</nav>
</header>
<ul class="breadcrumbs">
<li><a href="index.html">Home</a></li>
<li><a href="account.html">Account</a></li>
<li><a href="admin.html">Admin</a></li>
<li><a href="edit.html">Edit</a></li>
</ul>
<main class="flex">
<h1 class="main--header">Edit products</h1>
<form class="edit-form">
<div class="message-container"></div>
<div class="loader"></div>
<div>
<label for="title">Title</label>
<input id="title" />
</div>
<div>
<label for="price">Price</label>
<input id="price" />
</div>
<div>
<label for="description">Description</label>
<textarea id="description"></textarea>
</div>
<div class="form-submit">
<label for="image" class="form-item__label">Update image</label>
<div class="image-upload">
<button class="btn--accent" id="image-upload__btn">Press to add image url</button>
<input type="text" id="imageURL" class="form-control" placeholder="Your updated url" />
<div>
<button id="update" class="btn--accent">Update product</button>
</div>
<div class="delete-container"></div>
</div>
</div>
</div>
<input id="id" type="hidden" />
<div class="message-container"></div>
</form>
</div>
</main>
<footer>
<section class="footer">
<div>
<ul class="footer__main">
<li class="footer--link"><a href="#">About</a></li>
<li class="footer--link"><a href="#">Contact</a></li>
<li class="footer--link"><a href="#">Shipping</a></li>
</ul>
</div>
<div>
<ul class="footer__social">
<li class="footer__social--link">
<a href="#"><i class="fab fa-facebook-square"></i></a>
</li>
<li class="footer__social--link">
<a href="#"><i class="fab fa-pinterest"></i></a>
</li>
<li class="footer__social--link">
<a href="#"><i class="fab fa-instagram"></i></a>
</li>
</ul>
</div>
</section>
<p class="copyright">© Copyright 2021. All rights reserved. Website by Ine AW.</p>
</footer>
<script src="https://widget.cloudinary.com/v2.0/global/all.js" type="text/javascript"></script>
<script src="js/edit.js" type="module"></script>
</body>
</html>