This repository was archived by the owner on Nov 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +28
-15
lines changed Expand file tree Collapse file tree 4 files changed +28
-15
lines changed Original file line number Diff line number Diff line change 40
40
</ script >
41
41
< iframe style ="display: none; position: absolute; z-index: 2; " id ="frame-preload " src ="../preload/preload.html "
42
42
frameborder ="0 " width ="100% " height ="100% "> </ iframe >
43
-
43
+
44
44
< div style ="z-index: 1; display: none; background-color: #69696970; " id ="container-frame-cambio-password "
45
45
class ="col s12 frames ">
46
46
< iframe rel ="preload " id ="frame-password " src ="../cambioPassword/cambioPassword.html " frameborder ="0 "
47
47
width ="90% " height ="60% "> </ iframe >
48
48
</ div >
49
49
50
+ < iframe style ="position: absolute; z-index: 2; " frameborder ="0 " id ="frameHome " width ="100% " height ="100% " src ="../menu/menu.html ">
51
+ </ iframe >
50
52
<!--IFrame de Noticias o Home-->
51
53
< div id ="container-frame-home " class ="col s12 frames ">
52
54
< iframe frameborder ="0 " id ="frameHome " width ="100% " height ="87% " src ="./noticias/noticias.html ">
Original file line number Diff line number Diff line change 1
1
function primerInicioSesion ( user ) {
2
2
$ . ajax ( {
3
- type : "GET" ,
4
- url : `https://api-ico.herokuapp.com/api/${ user } /primer-inicio-sesion` ,
5
- crossDomain : true ,
6
- dataType : "json"
7
- } )
8
- . done ( function ( res ) {
3
+ type : "GET" ,
4
+ url : `https://api-ico.herokuapp.com/api/${ user } /primer-inicio-sesion` ,
5
+ crossDomain : true ,
6
+ dataType : "json"
7
+ } )
8
+ . done ( function ( res ) {
9
9
if ( res ) {
10
10
delayPopUp ( )
11
11
}
12
12
} )
13
- . fail ( function ( ) {
14
- alert ( "No se pudo establecer conexión con el servidor" )
13
+ . fail ( function ( ) {
14
+ activateToast ( "No se pudo establecer conexión con el servidor" )
15
15
} )
16
16
}
17
17
18
18
function delayPopUp ( ) {
19
19
// Comprobar si es el primer inicio sesion
20
- window . onload = function ( ) {
20
+ window . onload = function ( ) {
21
21
setTimeout ( loadPopUp , 3000 ) // Esperar 3 segundos
22
22
}
23
23
}
@@ -33,9 +33,9 @@ function getParameterByName(name) {
33
33
name = name . replace ( / [ \[ ] / , "\\[" ) . replace ( / [ \] ] / , "\\]" )
34
34
var regex = new RegExp ( "[\\?&]" + name + "=([^&#]*)" ) ,
35
35
results = regex . exec ( location . search )
36
- return results === null
37
- ? ""
38
- : decodeURIComponent ( results [ 1 ] . replace ( / \+ / g, " " ) )
36
+ return results === null ?
37
+ "" :
38
+ decodeURIComponent ( results [ 1 ] . replace ( / \+ / g, " " ) )
39
39
}
40
40
41
41
function activateToast ( mensaje ) {
Original file line number Diff line number Diff line change 45
45
z-index : 2000 ;
46
46
}
47
47
48
+ # titulo {
49
+ color : white;
50
+ font-weight : bold;
51
+ margin-top : 25% ;
52
+ text-shadow : 0 0 3px black;
53
+ }
54
+
48
55
.navbar-page ul {
49
- margin-top : 40% ;
50
56
text-align : center;
51
57
display : flex;
52
58
flex-direction : column;
76
82
font-size : 20px ;
77
83
text-decoration : none;
78
84
text-transform : none;
85
+ text-shadow : 0 0 2px black;
79
86
}
80
87
81
88
.navbar-page ul li .social-media-list li {
Original file line number Diff line number Diff line change 42
42
</ script >
43
43
</ head >
44
44
45
- < body >
45
+ < body style =" background-color: unset; " >
46
46
< div class ="principal-header ">
47
47
< div class ="container "> < svg onclick ="mostrarMenu() " xmlns ="http://www.w3.org/2000/svg " viewBox ="0 0 386 386 "
48
48
id ="hamburger " data-asu ="0 ">
57
57
</ svg >
58
58
</ div >
59
59
< div id ="menu " class ="navbar-page open-page-navbar ">
60
+ < h1 id ="titulo "> ICO</ h1 >
60
61
< ul >
62
+ < li >
63
+ < div class ="linea-divisoria "> </ div >
64
+ </ li >
61
65
< li > < a href ="/ "> Home</ a > </ li >
62
66
< li > < a href ="/ong "> Guía</ a > </ li >
63
67
< li > < a href ="/about "> Perfil</ a > </ li >
You can’t perform that action at this time.
0 commit comments