-
Notifications
You must be signed in to change notification settings - Fork 0
/
diseño2.html
328 lines (257 loc) · 10.9 KB
/
diseño2.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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<!-- Copiar desde aqui -->
<html lang="en">
<head>
<title>DesigNow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style>
.left,
.right {
width: 25%;
}
#div1 {
width: 300px;
height: 200px;
padding: 10px;
border: 1px solid #aaaaaa;
justify-content: center;
}
</style>
<script>
function allowDrop(ev) {
ev.preventDefault();
}
function drag(ev) {
ev.dataTransfer.setData("text", ev.target.id);
}
function drop(ev) {
ev.preventDefault();
var data = ev.dataTransfer.getData("text");
ev.target.appendChild(document.getElementById(data));
}
</script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,700,900">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
<!-- Carga el header segun si esta logueado o no-->
<script type="text/javascript">
window.onload = function () {
console.log(localStorage.getItem("name"));
console.log(localStorage.getItem("name") === null);
if (localStorage.getItem("name") == null) {
console.log("Entro al primer if")
document.getElementById("login").textContent = "Iniciar Sesion";
document.getElementById('proy').style.display = 'none';
document.getElementById('perf').style.display = 'none';
document.getElementById('out').style.display = 'none';
document.getElementById('arrow').style.display = 'none';
}
else {
document.getElementById('proy').style.display = true;
document.getElementById('perf').style.display = true;
document.getElementById('arrow').style.display = true;
document.getElementById("login").textContent = "Hola " + localStorage.getItem("name").split(" ")[0];
}
}
function cerrarSesion() {
console.log("True");
localStorage.removeItem('name');
}
;
</script>
</head>
<body>
<html lang="en">
<head>
<title>DesigNow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,700,900">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="site-wrap">
<div class="site-navbar-wrap">
<div class="site-navbar-top">
<div class="container py-3">
<div class="row align-items-center">
<div class="col-6">
<a href="#" class="p-2 pl-0"><span class="icon-twitter"></span></a>
<a href="#" class="p-2 pl-0"><span class="icon-facebook"></span></a>
<a href="#" class="p-2 pl-0"><span class="icon-linkedin"></span></a>
<a href="#" class="p-2 pl-0"><span class="icon-instagram"></span></a>
</div>
<div class="col-6">
<div class="d-flex ml-auto">
<a href="#" class="d-flex align-items-center ml-auto mr-4">
<span class="icon-phone mr-2"></span>
<span class="d-none d-md-inline-block">318 358 0369</span>
</a>
<a href="#" class="d-flex align-items-center">
<span class="icon-envelope mr-2"></span>
<span class="d-none d-md-inline-block">[email protected]</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="site-navbar">
<div class="container py-1">
<div class="row align-items-center">
<div class="col-2">
<h1 class="mb-0 site-logo"><a href="index.html">DesigNow</a></h1>
</div>
<div class="col-10">
<nav class="site-navigation text-right" role="navigation">
<div class="container">
<div class="d-inline-block d-lg-none ml-md-0 mr-auto py-3"><a href="#"
class="site-menu-toggle js-menu-toggle text-white"><span class="icon-menu h3"></span></a></div>
<ul class="site-menu js-clone-nav d-none d-lg-block">
<li class="has-children active">
<a href="login.html" id="login">Iniciar sesión</a>
<ul class="dropdown arrow-top" id="arrow">
<li><a href="projects.html" id="proy">Mis proyectos</a></li>
<li><a href="perfil.html" id="perf">Mi perfil</a></li>
<li><a href="index.html" onclick="cerrarSesion()" id="out">Cerrar sesion</a></li>
</ul>
</li>
<li><a href="#aboutus">¿Quienes somos?</a></li>
<li><a href="example/editor3D.html">Diseña</a></li>
<li><a href="diseñoinicio.html">Solicitar diseño</a></li>
<li><a href="services.html">Pedir cita</a></li>
<li><a href="contact.html">Contacto</a></li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
<!-- Copiar hasta aqui -->
<div class="site-blocks-cover overlay" style="background-image: url(images/hero_bg_1.jpg);" data-aos="fade"
data-stellar-background-ratio="0.5">
<div class="container">
<div class="row align-items-center text-center justify-content-center">
<div class="col-md-8">
<h1>Diseño inicial</h1>
<span class="sub-text">Crea y guarda bocetos descriptivos para adjuntarlos con tus solicitudes</span>
</div>
</div>
</div>
</div>
<div class="site-section">
<div class="site-section bg-light">
<div class="container">
<div class="row">
<div class="col-md-12 col-lg-12">
<h2 class="site-heading text-black mb-5">Elige <strong>un tipo de espacio</strong></h2>
<div class="row">
<div class="column">
<center>
<div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)"></div>
</center>
</div>
<div class="column right"> </div>
<div class="column"><br><br><br>
<h5 class="mb-5">Selecciona la imagen que represente mejor tu organización</h5>
</div>
</div>
<br>
<br>
<div class="row">
<div class="column left">
<img id="drag1" src="images/boutique.jpg" draggable="true" ondragstart="drag(event)" width="300"
height="200">
</div>
<div class="column middle">
<img id="drag2" src="images/oficina.jpg" draggable="true" ondragstart="drag(event)" width="300"
height="200">
</div>
<div class="column right">
<img id="drag3" src="images/restaurante.jpg" draggable="true" ondragstart="drag(event)" width="300"
height="200">
</div>
</div>
<br>
<br>
<div class="row">
<a href="diseño2a.html" class="btn btn-primary rounded-0 btn-lg">Siguiente</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Aqui empieza el footer -->
<footer class="site-footer border-top">
<div class="container">
<div class="row">
<div class="col-lg-4 mb-5 mb-lg-0">
<div class="row mb-5">
<div class="col-md-12">
<h3 class="footer-heading mb-4">Navega</h3>
</div>
<div class="col-md-6 col-lg-6">
<ul class="list-unstyled">
<li><a href="#">Inicio</a></li>
<li><a href="#">Proyectos</a></li>
<li><a href="#">Crear diseño</a></li>
<li><a href="#">Pedir cita</a></li>
</ul>
</div>
<div class="col-md-6 col-lg-6">
<ul class="list-unstyled">
<li><a href="#">Sobre nosotros</a></li>
<li><a href="#">Contacto</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row pt-5 mt-5 text-center">
<div class="col-md-12">
<p>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©
<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made
with <i class="icon-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com"
target="_blank">TeamRocket</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div>
</footer>
<!-- Hasta aqui va el footer -->
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/jquery.countdown.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/bootstrap-datepicker.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/main.js"></script>
</body>
</html>