- Pantalla de registro
- Pantalla de login git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@28 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
9245101354
commit
8f40be1649
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 12 KiB |
@ -521,4 +521,17 @@ if (is_admin() && isset($_GET['activated']) && $pagenow == "themes.php") {
|
|||||||
add_action('admin_head', 'ct_option_setup');
|
add_action('admin_head', 'ct_option_setup');
|
||||||
header('Location: ' . admin_url() . 'themes.php?page=theme-options.php');
|
header('Location: ' . admin_url() . 'themes.php?page=theme-options.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* * ************************* Custom login ************************** */
|
||||||
|
|
||||||
|
function custom_login() {
|
||||||
|
echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo('template_directory') . '/lib/css/login.css" />';
|
||||||
|
}
|
||||||
|
add_action('login_head', 'custom_login');
|
||||||
|
|
||||||
|
function the_url( $url ) {
|
||||||
|
return get_bloginfo( 'siteurl' );
|
||||||
|
}
|
||||||
|
add_filter( 'login_headerurl', 'the_url' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@ -98,7 +98,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!--End Header-->
|
<!--End Header-->
|
||||||
|
|
||||||
<?php if(is_home() || is_front_page()) { ?>
|
<?php if( (is_user_logged_in()) && (is_home() || is_front_page())) { ?>
|
||||||
<?php require('video-slider.php'); ?>
|
<?php require('video-slider.php'); ?>
|
||||||
<div id="precontent-wrapper">
|
<div id="precontent-wrapper">
|
||||||
<div id="dedicationComments_container" class="columns two first text-left"> </div>
|
<div id="dedicationComments_container" class="columns two first text-left"> </div>
|
||||||
|
|||||||
104
wp-content/themes/score/lib/css/login.css
Normal file
104
wp-content/themes/score/lib/css/login.css
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
/*
|
||||||
|
*/
|
||||||
|
|
||||||
|
body.login {
|
||||||
|
background: url(../images/bg-login.jpg) no-repeat center center fixed;
|
||||||
|
-webkit-background-size: cover;
|
||||||
|
-moz-background-size: cover;
|
||||||
|
-o-background-size: cover;
|
||||||
|
background-size: cover;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login h1 a {
|
||||||
|
background-image: url(../images/logo-w.png);
|
||||||
|
background-size: 312px 84px;
|
||||||
|
height: 84px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.login form {
|
||||||
|
background: none repeat scroll 0 0 #FFF;
|
||||||
|
border: 1px solid #E5E5E5;
|
||||||
|
border-bottom: 0px;
|
||||||
|
border-radius: 5px 5px 0px 0px;
|
||||||
|
box-shadow: 0 4px 18px #fff;
|
||||||
|
font-weight: normal;
|
||||||
|
margin-left: 8px;
|
||||||
|
padding: 16px 16px 40px;
|
||||||
|
}
|
||||||
|
form .forgetmenot {
|
||||||
|
}
|
||||||
|
#login form .submit input {
|
||||||
|
}
|
||||||
|
#login form p {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
color: #777777;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
form .forgetmenot label {
|
||||||
|
font-size: 11px;
|
||||||
|
line-height: 19px;
|
||||||
|
}
|
||||||
|
form .submit {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
form p {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
#nav, #backtoblog {
|
||||||
|
background: none repeat scroll 0 0 #FFFFFF;
|
||||||
|
border: 1px solid #E5E5E5;
|
||||||
|
border-top: none;
|
||||||
|
border-bottom: none;
|
||||||
|
border-radius: 0px;
|
||||||
|
box-shadow: none;
|
||||||
|
font-weight: normal;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 16px 16px 40px;
|
||||||
|
box-shadow: 0 4px 18px #fff;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.login #nav, .login #backtoblog {
|
||||||
|
margin-left: 8px;
|
||||||
|
padding-bottom: 16px;
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backtoblog {
|
||||||
|
border-top: none;
|
||||||
|
border-radius: 0px 0px 5px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backtoblog a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
#login {
|
||||||
|
}
|
||||||
|
#login_error, .message {
|
||||||
|
border-radius: 3px 3px 3px 3px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
margin: 0 0 16px 8px;
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
#nav {
|
||||||
|
}
|
||||||
|
#user_pass, #user_login, #user_email {
|
||||||
|
}
|
||||||
|
.clear {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login #nav a, .login #backtoblog a {
|
||||||
|
color: #576a7b !important;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login #nav, .login #backtoblog {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
BIN
wp-content/themes/score/lib/images/bg-login.jpg
Normal file
BIN
wp-content/themes/score/lib/images/bg-login.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 598 KiB |
BIN
wp-content/themes/score/lib/images/logo-w.png
Normal file
BIN
wp-content/themes/score/lib/images/logo-w.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@ -32,7 +32,7 @@
|
|||||||
width:140px;
|
width:140px;
|
||||||
height:100%;
|
height:100%;
|
||||||
top:0px;
|
top:0px;
|
||||||
left:840px;
|
left:800px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user