Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
kluniversity
KL Event Management
Commits
0761cd12
Commit
0761cd12
authored
Mar 01, 2019
by
Phani Surya Teja Mahankali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
c3cfed1b
Pipeline
#19850
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
flask/flaskblog/static/index.js
flask/flaskblog/static/index.js
+44
-0
No files found.
flask/flaskblog/static/index.js
0 → 100644
View file @
0761cd12
/* ------------------------------------ Click on login and Sign Up to changue and view the effect
---------------------------------------
*/
function
cambiar_login
()
{
document
.
querySelector
(
'
.cont_forms
'
).
className
=
"
cont_forms cont_forms_active_login
"
;
document
.
querySelector
(
'
.cont_form_login
'
).
style
.
display
=
"
block
"
;
document
.
querySelector
(
'
.cont_form_sign_up
'
).
style
.
opacity
=
"
0
"
;
setTimeout
(
function
(){
document
.
querySelector
(
'
.cont_form_login
'
).
style
.
opacity
=
"
1
"
;
},
400
);
setTimeout
(
function
(){
document
.
querySelector
(
'
.cont_form_sign_up
'
).
style
.
display
=
"
none
"
;
},
200
);
}
function
cambiar_sign_up
(
at
)
{
document
.
querySelector
(
'
.cont_forms
'
).
className
=
"
cont_forms cont_forms_active_sign_up
"
;
document
.
querySelector
(
'
.cont_form_sign_up
'
).
style
.
display
=
"
block
"
;
document
.
querySelector
(
'
.cont_form_login
'
).
style
.
opacity
=
"
0
"
;
setTimeout
(
function
(){
document
.
querySelector
(
'
.cont_form_sign_up
'
).
style
.
opacity
=
"
1
"
;
},
100
);
setTimeout
(
function
(){
document
.
querySelector
(
'
.cont_form_login
'
).
style
.
display
=
"
none
"
;
},
400
);
}
function
ocultar_login_sign_up
()
{
document
.
querySelector
(
'
.cont_forms
'
).
className
=
"
cont_forms
"
;
document
.
querySelector
(
'
.cont_form_sign_up
'
).
style
.
opacity
=
"
0
"
;
document
.
querySelector
(
'
.cont_form_login
'
).
style
.
opacity
=
"
0
"
;
setTimeout
(
function
(){
document
.
querySelector
(
'
.cont_form_sign_up
'
).
style
.
display
=
"
none
"
;
document
.
querySelector
(
'
.cont_form_login
'
).
style
.
display
=
"
none
"
;
},
500
);
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment