Changeset 1926


Ignore:
Timestamp:
06/09/10 18:07:07 (3 years ago)
Author:
shibuya246
Message:

[Branch 1.4] style changes for admin login

Location:
branches/1.4/content/admin_themes/admin_default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/content/admin_themes/admin_default/admin_login.php

    r1916 r1926  
    3131<?php $h->showMessage(); ?> 
    3232 
    33 <?php echo $h->lang["admin_theme_login_instructions"]; ?> 
     33<?php //echo $h->lang["admin_theme_login_instructions"]; ?> 
    3434 
    35 <form name='login_form' action='<?php echo SITEURL; ?>admin_index.php' method='post'>     
    36 <table> 
    37         <tr> 
    38         <td><?php echo $h->lang["admin_theme_login_username"]; ?>:&nbsp; </td> 
    39         <td><input type='text' size=30 name='username' value='<?php echo $username_check; ?>' /></td> 
    40         </tr> 
    41         <tr> 
    42         <td><?php echo $h->lang["admin_theme_login_password"]; ?>:&nbsp; </td> 
    43         <td><input type='password' size=30 name='password' value='<?php echo $password_check; ?>' /></td> 
    44         </tr> 
    45         <tr> 
    46         <td>&nbsp; </td> 
    47         <td style='text-align:right;'><input type='submit' value='<?php echo $h->lang['admin_theme_login_form_submit']; ?>' /></td> 
    48         </tr> 
    49 </table> 
    50 <input type='hidden' name='login_attempted' value='true'> 
    51 <input type='hidden' name='page' value='admin_login'> 
    52 <input type='hidden' name='csrf' value='<?php echo $h->csrfToken; ?>' /> 
    53 </form> 
     35<div id ="login_form"> 
     36    <form name='login_form' action='<?php echo SITEURL; ?>admin_index.php' method='post'> 
    5437 
    55 <a href="#" class="forgot_password"><?php echo $h->lang["admin_theme_login_forgot_password"]; ?></a> 
     38         
     39 
     40        <table align="center"> 
     41                <tr> 
     42                <td><?php echo $h->lang["admin_theme_login_username"]; ?>&nbsp; </td> 
     43                <td><input id='admin_login_name' type='text' size=20 name='username' value='<?php echo $username_check; ?>' /></td> 
     44                </tr> 
     45                <tr> 
     46                <td><?php echo $h->lang["admin_theme_login_password"]; ?>&nbsp; </td> 
     47                <td><input id='admin_login_password' type='password' size=20 name='password' value='<?php echo $password_check; ?>' /></td> 
     48                </tr> 
     49                <tr> 
     50                <td>&nbsp; </td> 
     51                <td style='text-align:right;'><input id='admin_login_button' type='submit' value='<?php echo $h->lang['admin_theme_login_form_submit']; ?>'  /></td> 
     52                </tr> 
     53        </table> 
     54 
     55        <input type='hidden' name='login_attempted' value='true'> 
     56        <input type='hidden' name='page' value='admin_login'> 
     57        <input type='hidden' name='csrf' value='<?php echo $h->csrfToken; ?>' /> 
     58    </form> 
     59 
     60    <a href="#" class="forgot_password"><?php echo $h->lang["admin_theme_login_forgot_password"]; ?></a> 
     61 </div> 
    5662 
    5763<form style="display: none;" name='forgot_password_form' action='<?php echo SITEURL; ?>admin_index.php' method='post'>     
  • branches/1.4/content/admin_themes/admin_default/css/style.css

    r1900 r1926  
    435435#settings a {color:#000;} 
    436436#settings a:hover {color:blue;} 
     437 
     438#login_form {-moz-border-radius:14px; background:none repeat scroll 0 0 #D4F07F; margin:30px auto; padding:20px; text-align:center; width:500px; -moz-box-shadow:0 4px 18px #C8C8C8; } 
     439#login_form input {-moz-border-radius:4px; border: 1pt solid #d0d0d0;} 
     440#login_form #admin_login_button {padding:4px; font-weight:bold; color:#777; background-color:#ccc;} 
     441#login_form #admin_login_button:hover {color:navy; cursor:pointer;} 
     442#login_form #admin_login_name {padding:4px; font-size:24px;} 
     443#login_form #admin_login_password {padding:4px; font-size:24px;} 
     444#login_form .forgot_password {color:#777;} 
     445#login_form .forgot_password:hover {text-decoration:none; color:navy;} 
     446 
     447#login_form td {font:14px "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;} 
Note: See TracChangeset for help on using the changeset viewer.