-
Notifications
You must be signed in to change notification settings - Fork 0
/
product-info.html
173 lines (152 loc) · 8.34 KB
/
product-info.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
<!DOCTYPE html>
<html lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>eMercado - Todo lo que busques está aquí</title>
<link href="https://fonts.googleapis.com/css?family=Raleway:300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/modal.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
</head>
<body>
<main>
<div class="container mt-2">
<div class="row justify-content-center">
<div class="d-flex flex-row justify-content-between align-items-center pe-5 py-3">
<p id="name" class="fs-1 mb-0"></p>
<div>
<span id="added-to-cart-success" class="text-success pe-4 d-none">El producto se agrego al carrito!</span>
<button id="buy-btn" type="button" class="btn btn-success me-5" style="width:100px; height:45px;">Comprar</button>
</div>
</div>
<hr>
<div class="row">
<div class="mb-3">
<div class="d-flex flex-row justify-content-between">
<p class="fs-5 fw-bold">Precio</p>
<div class="me-5">
<a href="products.html" class="text-dark text-decoration-none">
<i class="fas fa-arrow-left my-auto"></i>
Volver al listado
</a>
</div>
</div>
<p id="price"></p>
</div>
</div>
<div class="row">
<div class="mb-3">
<p class="fs-5 fw-bold">Descripción</p>
<p id="description"></p>
</div>
</div>
<div class="row">
<div class="mb-3">
<p class="fs-5 fw-bold">Categoría</p>
<p id="category"></p>
</div>
</div>
<div class="row">
<div class="mb-3">
<p class="fs-5 fw-bold">Cantidad de vendidos</p>
<p id="soldCount"></p>
</div>
</div>
<div class="row justify-content-center">
<p class="fs-5 fw-bold">Imágenes Ilustrativas</p>
<div class="row mb-3 bg-light bg-gradient shadow-lg rounded justify-content-center">
<div class="row my-3 justify-content-center ">
<div id="carousel" class="justify-content-center carousel carousel-dark slide"
data-bs-ride="carousel">
<div id="carousel-buttons" class="carousel-indicators">
<!-- agregar botones de imagenes relacionadas -->
</div>
<div id="illustrative-images-container" class="carousel-inner">
<!-- agregar listado de imagenes relacionadas -->
<div id="modal" class="modal">
<span class="close">×</span>
<img class="modal-content" id="modal-img">
<div id="modal-caption"></div>
</div>
</div>
<button class="carousel-control-prev" id="prevBtn" type="button"
data-bs-target="#carousel" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" id="nextBtn" type="button"
data-bs-target="#carousel" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="mb-3">
<p class="fs-5 fw-bold">Comentarios</p>
<div class="row">
<div class="list-group" id="comment-list-container">
<!-- agregar listado de comentarios y calificaciones -->
</div>
</div>
</div>
</div>
<div class="row">
<p class="fs-5 fw-bold">Deja un Comentario!</p>
<div class="mb-3">
<p>Tu opinión:</p>
<textarea class="form-control" id="user-comment"></textarea>
</div>
<div class="form-group mb-3">
<label class="me-sm-2" for="userScore">Tu puntuación:</label>
<select class="form-select" id="user-score">
<option selected>Púntua</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
<button type="submit" class="btn btn-primary btn-lg col-3 mx-auto mb-3" id="send-review">Enviar</button>
</div>
<hr>
<div class="row justify-content-center">
<p class="fs-5 fw-bold">Produtos Relacionados</p>
<div class="row mb-3 bg-light bg-gradient shadow-lg rounded justify-content-center">
<div class="row mb-3 mt-3 justify-content-center ">
<div id="carousel-related-products" class="justify-content-center carousel carousel-dark slide"
data-bs-ride="carousel">
<div id="carousel-related-products-buttons" class="carousel-indicators">
<!-- agregar botones de productos relacionados -->
</div>
<div id="illustrative-images-related-products-container" class="carousel-inner">
<!-- agregar listado de imagenes productos relacionados -->
</div>
<button class="carousel-control-prev" type="button"
data-bs-target="#carousel-related-products" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button"
data-bs-target="#carousel-related-products" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/init.js"></script>
<script src="js/structural/navbar-footer.js"></script>
<script src="js/product-info.js"></script>
</body>
</html>