[Vtigercrm-commits] [vtiger-commits] r10213 - in /vtigercrm/branches/5.0.3: include/style.css index.php modules/Users/Login.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 20 10:15:49 EST 2007
Author: saraj
Date: Tue Feb 20 08:15:43 2007
New Revision: 10213
Log:
new UI for login page integrated --Minnie
Modified:
vtigercrm/branches/5.0.3/include/style.css
vtigercrm/branches/5.0.3/index.php
vtigercrm/branches/5.0.3/modules/Users/Login.php
Modified: vtigercrm/branches/5.0.3/include/style.css
==============================================================================
--- vtigercrm/branches/5.0.3/include/style.css (original)
+++ vtigercrm/branches/5.0.3/include/style.css Tue Feb 20 08:15:43 2007
@@ -1,60 +1,55 @@
+#positioningdiv {
+ left:5%;
+ right:5%;
+ width:600px;
+ position:absolute;
+ border:1px solid violet;
+}
+
.small {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color:#000000;
-
- }
+ line-height:18px;
+}
- .loginTopBg {
- background:url(images/loginTopBg.gif) repeat-x;
- }
+input {
+ border:1px solid #999999;
+}
- .loginTopShade {
- background:url(images/loginTopShade.gif) repeat-x;
- }
+select {
+ border:1px solid #999999;
+}
- .loginBg{
- background:#818181 url(images/loginBg.gif) repeat-x;
- }
+input[src] {
+ border:0px solid #999999;
+}
- .textbox {
- border:1px solid #999999;
- background-color:#ffffff;
- font-family: Arial, Helvetica, sans-serif;
- font-size: 11px;
- width:120px;
- padding:2px;
- }
- .loginBottomBg {
- background:url(images/loginBottomBg.gif) repeat-x;
- }
- .loginSignin {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 18px;
- color: #818181;
- font-weight:bold;
- }
+.bg {
+ background-image:url(images/topBg.gif);
+ background-repeat:repeat-x;
+ background-position:bottom;
+}
- .loginBillBoard {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 11px;
- color:#ffffff;
- }
-
-a {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 11px;
- text-decoration:none;
-color:#333366;
+#loginTable {
+ border-left:1px solid #C0C0FF;
+ border-right:1px solid #C0C0FF;
+ border-bottom:1px solid #C0C0FF;
}
-a:hover {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 11px;
- text-decoration:underline;
-color:#333333;
+.z1 {
+ border-left:2px solid #c0c0ff;
+ border-bottom:2px solid #c0c0ff;
+}
+.z2 {
+ border-right:2px solid #c0c0ff;
+ border-bottom:2px solid #c0c0ff;
+}
- }
+.signinHdr {
+ border-bottom:2px dotted #c0c0ff;
+ padding:5px;
+}
Modified: vtigercrm/branches/5.0.3/index.php
==============================================================================
--- vtigercrm/branches/5.0.3/index.php (original)
+++ vtigercrm/branches/5.0.3/index.php Tue Feb 20 08:15:43 2007
@@ -647,8 +647,8 @@
echo "<script language = 'JavaScript' type='text/javascript' src = 'include/js/popup.js'></script>";
echo '<style type="text/css">@import url("themes/'.$theme.'/style.css"); </style>';
echo "<br><br><br><table border=0 cellspacing=0 cellpadding=5 width=100% class=settingsSelectedUI >";
- echo "<tr><td class=small align=left>vtiger CRM 5.0.3 | Visit <a href='http://www.vtiger.com'>www.vtiger.com</a> for more information </td>";
- echo "<td class=small align=right> © <a href='javascript:mypopup()'>Copyright Details</a></td></tr></table>";
+ echo "<tr><td class=small align=left><span style='color: rgb(153, 153, 153);'>vtiger CRM 5.0.3</span></td>";
+ echo "<td class=small align=right><span style='color: rgb(153, 153, 153);'>© 2005-2007 <a href='http://www.vtiger.com'>vtiger.com</a> | <a href='javascript:mypopup()'>Read License</a></span></td></tr></table>";
// echo "<table align='center'><tr><td align='center'>";
// Under the Sugar Public License referenced above, you are required to leave in all copyright statements
Modified: vtigercrm/branches/5.0.3/modules/Users/Login.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Users/Login.php (original)
+++ vtigercrm/branches/5.0.3/modules/Users/Login.php Tue Feb 20 08:15:43 2007
@@ -86,95 +86,80 @@
</script>
+<br><br>
+<div align="center">
+ <table border="0" cellpadding="0" cellspacing="0" width="700">
+ <tr>
+ <td align="right"><img src="themes/images/honestCRMTop.gif"></td>
+ </tr>
+ </table>
+ <!-- Login Starts -->
+ <table border="0" cellspacing="0" cellpadding="0" width=700>
+ <tr>
+ <td class="bg" width="50%"><img src="themes/images/vtigerName.gif" alt="vtiger CRM" title="vtiger CRM"></td>
+ <td class="bg" align="right" width="50%"><img src="themes/images/honestCRM.gif" alt="The honest Open Source CRM" title="The honest Open Source CRM"></td>
+ </tr>
+ <tr>
+ <td class="small z1" align="center">
-<table border="0" cellspacing="0" cellpadding="0" width=100%>
-<tr>
- <td align=center><br><br><br><br>
-
- <!-- Login Starts -->
- <table border="0" cellspacing="0" cellpadding="0" width=700 style="border:2px solid rgb(119,119,119)">
- <tr>
- <td align=left>
-
-
- <table border="0" cellspacing="0" cellpadding='0' width='100%' background="themes/images/loginTopHeaderBg.gif">
- <tr>
- <td align=left><img src="themes/images/loginTopHeaderName.gif"></td>
- <td align=right><!--img src="themes/images/loginTopVersion.gif"--></td>
- </tr>
- </table>
- <table border="0" cellspacing="0" cellpadding='10' width='100%'>
- <tr>
- <td align=left valign=top width=50% class=small style="padding:10px">
- <!-- Promo Text and Image -->
- <table border=0>
+ <img src="themes/images/bullets.gif">
+ <br>
+ <div align="center">
+ <a href="http://forums.vtiger.com">Visit vtiger Forums</a> | Call us : +1 877 788 4437
+ </div>
+ </td>
+ <td class="small z2" align="center">
+ <?php
+ if (isset($_REQUEST['ck_login_language_vtiger'])) {
+ $display_language = $_REQUEST['ck_login_language_vtiger'];
+ }
+ else {
+ $display_language = $default_language;
+ }
+
+ if (isset($_REQUEST['ck_login_theme_vtiger'])) {
+ $display_theme = $_REQUEST['ck_login_theme_vtiger'];
+ }
+ else {
+ $display_theme = $default_theme;
+ }
+ ?>
+ <!-- Sign in form -->
+ <br>
+ <form action="index.php" method="post" name="DetailView" id="form">
+ <input type="hidden" name="module" value="Users">
+ <input type="hidden" name="action" value="Authenticate">
+ <input type="hidden" name="return_module" value="Users">
+ <input type="hidden" name="return_action" value="Login">
+ <table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
- <td>
- <img src="themes/images/loginPromoText.gif" alt="vtiger CRM 5 - 100% Open Source CRM" title="vtiger CRM 5 - 100% Open Source CRM">
- </td>
+ <td class="signinHdr"><img src="themes/images/signin.gif" alt="Sign in" title="Sign in"></td>
</tr>
<tr>
- <td class=small style="padding-left:10px; color:#737373">
-- AJAX-based user interface<br>
-- Complete customer life cycle management<br>
-- Collaboration through e-mail, portal, and live chat<br>
-- Customization & fine-grained security management<br>
-- Ready to use reports & dashboards<br>
- </td>
- </tr>
- </table>
-
- </td>
- <td align=center valign=top width=50%>
- <?php
- if (isset($_REQUEST['ck_login_language_vtiger'])) {
- $display_language = $_REQUEST['ck_login_language_vtiger'];
- }
- else {
- $display_language = $default_language;
- }
-
- if (isset($_REQUEST['ck_login_theme_vtiger'])) {
- $display_theme = $_REQUEST['ck_login_theme_vtiger'];
- }
- else {
- $display_theme = $default_theme;
- }
- ?>
- <!-- Sign in box -->
- <form action="index.php" method="post" name="DetailView" id="form">
- <input type="hidden" name="module" value="Users">
- <input type="hidden" name="action" value="Authenticate">
- <input type="hidden" name="return_module" value="Users">
- <input type="hidden" name="return_action" value="Login">
- <table border="0" cellspacing="0" cellpadding="0" width=100%>
- <tr><td align=left><img src="themes/images/loginSignIn.gif" alt="Sign In" title="Sign In" border="0"></td></tr>
- <tr>
- <td background="themes/images/loginSignInShade.gif" style="background-repeat: repeat-x;" align=center valign=top class=small>
- <br>
- <table border=0 cellspacing=0 cellpadding=5 width=80% class="small">
- <tr><td width=30% class=small align=right><?php echo $current_module_strings['LBL_USER_NAME'] ?></td><td width=70% class=small><input class="small" style="width:100%" type="text" name="user_name" value="<?php echo $login_user_name ?>" tabindex="1"></td></tr>
- <tr><td class=small align=right><?php echo $current_module_strings['LBL_PASSWORD'] ?></td><td class=small><input class="small" style="width:100%" type="password" size='20' name="user_password" value="<?php echo $login_password ?>" tabindex="2"></td></tr>
+ <td class="small">
+ <!-- form elements -->
+ <br>
+ <table border="0" cellpadding="5" cellspacing="0" width="100%">
<tr>
- <td colspan=2 style="padding:0px">
- <table border=0 cellspacing=0 cellpadding=5 width=100%>
- <tr>
- <td width=30% style="background-color:#efefef;" class=small align=right> <?php echo $current_module_strings['LBL_THEME'] ?></td>
- <td width=70% style="background-color:#efefef;" class=small>
- <select class='small' name='login_theme' style="width:100%" tabindex="3">
- <?php echo get_select_options_with_id(get_themes(), $display_theme) ?> </select>
- </tr>
- <tr>
- <td style="background-color:#efefef;" class=small align=right><?php echo $current_module_strings['LBL_LANGUAGE'] ?></td>
- <td style="background-color:#efefef;" class=small>
- <select class='small' name='login_language' style="width:100%" vtiger_tabindex="4">
- <?php echo get_select_options_with_id(get_languages(), $display_language) ?>
- </select>
- </tr>
- </table>
- </td>
+ <td class="small" align="right" width="30%"><?php echo $current_module_strings['LBL_USER_NAME'] ?></td>
+ <td class="small" align="left" width="70%"><input class="small" type="text" name="user_name" value="<?php echo $login_user_name ?>" tabindex="1"></td>
</tr>
- <tr><td colspan=2> </td></tr>
+ <tr>
+ <td class="small" align="right" width="30%"><?php echo $current_module_strings['LBL_PASSWORD'] ?></td>
+ <td class="small" align="left" width="70%"><input class="small" type="password" size='20' name="user_password" value="<?php echo $login_password ?>" tabindex="2"></td>
+ </tr>
+ <tr bgcolor="#f5f5f5">
+ <td class="small" align="right" width="30%"><?php echo $current_module_strings['LBL_THEME'] ?></td>
+ <td class="small" align="left" width="70%"><select class="small" name='login_theme' style="width:100%" tabindex="3">
+ <?php echo get_select_options_with_id(get_themes(), $display_theme) ?>
+ </select></td>
+ </tr>
+ <tr bgcolor="#f5f5f5">
+ <td class="small" align="right" width="30%"><?php echo $current_module_strings['LBL_LANGUAGE'] ?></td>
+ <td class="small" align="left" width="70%"><select class="small" name='login_language' style="width:100%" tabindex="4">
+ <?php echo get_select_options_with_id(get_languages(), $display_language) ?>
+ </select></td>
+ </tr>
<?php
if( isset($_SESSION['validation'])){
?>
@@ -188,44 +173,23 @@
?>
<tr>
<td colspan="2"><b class="small"><font color="Brown">
- <?php echo $login_error ?>
- </font>
- </b>
- </td>
+ <?php echo $login_error ?>
+ </font></b></td>
</tr>
<?php
}
?>
<tr>
- <td colspan=2 style="padding:0px" align=center>
- <input class=small title="<?php echo $current_module_strings['LBL_LOGIN_BUTTON_TITLE'] ?>" accesskey="<?php echo $current_module_strings['LBL_LOGIN_BUTTON_TITLE'] ?>" type="image" src="themes/images/loginBtnSignIn.gif" name="Login" value=" <?php echo $current_module_strings['LBL_LOGIN_BUTTON_LABEL'] ?> " tabindex="5">
- </td>
+ <td class="small"> </td>
+ <td class="small"><input title="<?php echo $current_module_strings['LBL_LOGIN_BUTTON_TITLE'] ?>" accesskey="<?php echo $current_module_strings['LBL_LOGIN_BUTTON_TITLE'] ?>" src="themes/images/btnSignIn.gif" type="image" name="Login" value=" <?php echo $current_module_strings['LBL_LOGIN_BUTTON_LABEL'] ?> " tabindex="5"></td>
</tr>
</table>
- <br>
+ <br><br>
</td>
</tr>
</table>
-
- </td>
- </tr>
- </table>
-
+ </form>
</td>
</tr>
- </table>
-
- <!-- Shadow -->
- <table border=0 cellspacing=0 cellpadding=0 width=700>
- <tr>
- <td><img src="themes/images/loginBottomShadowLeft.gif"></td>
- <td width=100% background="themes/images/loginBottomShadowBg.gif"><img src="themes/images/loginBottomShadowBg.gif"></td>
- <td><img src="themes/images/loginBottomShadowRight.gif"></td>
- </tr>
- </table>
-
-
-
- </td>
-</tr>
-</table>
+ </table>
+</div>
More information about the vtigercrm-commits
mailing list