-
Notifications
You must be signed in to change notification settings - Fork 0
/
addProducts.html
114 lines (110 loc) · 7.06 KB
/
addProducts.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
<!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">
<title>AluraGeek | Admin</title>
<link rel="icon" href="assets/img/Vector.svg" type="image/icon type">
<link href="https://fonts.googleapis.com/css2?family=Raleway&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/alert.css">
<link rel="stylesheet" href="assets/css/normalize.css">
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/AddProduct/style.css">
<link rel="stylesheet" href="assets/css/AddProduct/header.css">
<link rel="stylesheet" href="assets/css/AddProduct/form.css">
<link rel="stylesheet" href="assets/css/footer.css">
<link rel="stylesheet" href="assets/css/uploader.css">
</head>
<body>
<header class="theHead">
<div class="theLogo">
<div class="logo__section">
<a class="logo__section" href="index.html">
<img src="assets/img/Vector.svg" alt="AluraGeek_logo" class="header__logo__main">
<img src="assets/img/AluraGeek-1.svg" alt="AluraGeek_logo" class="header__logo">
<img src="assets/img/AluraGeek.svg" alt="AluraGeek_logo" class="header__logo">
</a>
</div>
<div class="header__btns">
<input type="text" class="search__bar" placeholder="¿Qué deseas buscar?">
<a href="products.html" class="login__btn">Menú Administrador</a>
</div>
</div>
</header>
<main>
<section class="addProduct__section">
<form action="" class="formulario-addproducts flex flex--column" data-formularioProduct>
<fieldset>
<legend class="add__form__label">Agregar nuevo producto</legend>
<div class="input-container">
<label class="label__addproduct" for="url">URL de imagen</label>
<input name="url" id="url" class="input__addproduct" type="text" placeholder="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAA.png" required data-tipo="url">
<span class="input-message-error">| Este campo no es requerido</span>
<div class="uploader__icon"></div>
</div>
<div class="input-container">
<label class="label__addproduct" for="Categoria">Categoria del Producto</label>
<input name="categoria" id="category" class="input__addproduct" type="text" placeholder="Consolas" required data-tipo="categoria" data-url>
<span class="input-message-error">| Este campo no es requerido</span>
</div>
<div class="input-container">
<label class="label__addproduct" for="producto">Nombre del producto</label>
<input name="producto" id="product" class="input__addproduct" type="text" placeholder="Producto XYZ" required data-tipo="producto" data-nombreProducto>
<span class="input-message-error">| Este campo no es requerido</span>
</div>
<div class="input-container">
<label class="label__addproduct" for="precio_producto">Precio del producto</label>
<input name="precio_producto" id="price" class="input__addproduct" type="text" placeholder="$ 60.00" required data-tipo="precio_producto" data-precioProducto>
<span class="input-message-error">| Este campo no es requerido</span>
</div>
<div class="input-container">
<label class="label__addproduct" for="descripcion_producto">Descripción del producto</label>
<input name="descripcion_producto" id="description" class="input__addproduct input-description" type="text" placeholder="Descripción del producto" required data-tipo="precio_producto" data-descProducto>
<span class="input-message-error">| Este campo no es requerido</span>
</div>
</fieldset>
<button class="button__login" data-addProduct>Agregar producto</a>
</form>
</section>
<section class="footer__form__section">
<div class="footer__container__form">
<div class="footer__logo__form">
<img src="assets/img/Vector.svg" alt="AluraGeek_logo" class="footer__header__logo__main">
<img src="assets/img/AluraGeek-1.svg" alt="AluraGeek_logo" class="footer__header__logo">
<img src="assets/img/AluraGeek.svg" alt="AluraGeek_logo" class="footer__header__logo">
</div>
<ul class="footer__form__links">
<li>Quienes somos</li>
<li>Política de privacidad</li>
</ul>
</div>
<form action="./registro_concluido.html" class="footer__formulario">
<fieldset>
<legend class="footer__form__label">Hable con nosotros</legend>
<div class="footer__input-container">
<input name="name" id="name" class="footer__input" type="text" placeholder="Nombre" minlegth="10" maxlength="40" required>
<label class="footer__input-label" for="name">Nombre</label>
<span class="footer__input-message-error">Este campo no es valido</span>
</div>
<div class="footer__input-container">
<input name="message" id="message" class="footer__input" type="text" placeholder="Escribe tu mensaje" required data-tipo="email" minlegth="10" maxlength="120">
<label class="footer__input-label" for="email">Email</label>
<span class="footer__input-message-error">Este campo no es valido</span>
</div>
</fieldset>
<button class="footer__button">Enviar mensaje</a>
</form>
</section>
</main>
<footer class="thefooter">
<p>Copyright Paula Acosta</p>
<div class="footer_icons">
<a href="https://www.linkedin.com/in/paula-a-86802511a/" target="_blank"class="social__links"><img src="assets/img/linkIn_icon.png" alt="" class="social_img">
<a href="https://github.com/acosta604" target="_blank" class="social__links"><img src="assets/img/github.png" alt="" class="social_img"></a>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uuid/8.3.2/uuid.min.js" integrity="sha512-UNM1njAgOFUa74Z0bADwAq8gbTcqZC8Ej4xPSzpnh0l6KMevwvkBvbldF9uR++qKeJ+MOZHRjV1HZjoRvjDfNQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="module" src="js/SaveProducts.js"></script>
<script type="module" src="js/uploader.js"></script>
</body>
</html>