src/org/openbravo/erpCommon/security/Login_F1.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 1039 14099eda9d8c
child 1112 d03fbeef5be0
permissions -rw-r--r--
Removed old frame parameter of windowTableId
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2008 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<HTML>
<HEAD>
<TITLE>Log in</TITLE>
<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></LINK> 
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Login/Login.css" id="paramCSS"/>
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript">

function depurar(action)
{
	var frm = document.forms[0];
	//Se controla que haya rellenado todos los campos
	if (frm.user.value==null || frm.password.value==null || frm.user.value=="" || frm.password.value=="") {
		mensaje(1);
		return false;
	}
	return true;
}
function onloadFunctions() {
}
function buttonOK_click() {
    submitCommandForm('DEFAULT', false, null, '../secureApp/LoginHandler.html', '_top', true);
    return false;
}

</SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript">
  function onLoadDo() {
    this.windowTables = new Array(
      new windowTableId('client', 'buttonOK')
    );
    setWindowTableParentElement();
    enableShortcuts('edition');
    resizeArea();
    try {
      onloadFunctions();
      limpiar();
    } catch (e) {}
    setWindowElementFocus('firstElement');
    if (!revisionControl('4588')) alert("Your browser's cache has outdated files. Please clean it and reload the page.");
  }

  function onResizeDo() {
    resizeArea();
  }
</SCRIPT>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">



<FORM method="POST" action="../secureApp/LoginHandler.html" name="frmIdentificacion" id="frmFormulario">
  <INPUT type="hidden" name="Command"></INPUT>


  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
    <tr>
      <td valign="top">
        <div class="Main_ContentPane_NavBar" id="tdtopButtons">
          <TABLE cellpadding="0" cellspacing="0" class="Main_ContentPane_NavBar" id="tdtopNavButtons">
            <TR class="Main_NavBar_bg">
              <TD width="100%"></TD>
              <TD><div class="Main_NavBar_bg_logo_left" /></TD>
              <TD class="Main_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><div class="Main_NavBar_logo" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" /></TD>
              <TD><div class="Main_NavBar_bg_logo_right" /></TD>
            </TR>
          </TABLE>
        </div>
        <div class="Login_ContentPane_ToolBar" id="paramToolBar">
        
          <table class="Login_ContentPane_ToolBar Login_ToolBar_bg" id="tdToolBar">
            <tr>
              <td width="100%"></td>
            </tr>
          </table>
        
        </div>

      <div class="Login_ContentPane" style="overflow: auto;" id="client">

        <table>

          <tr class="Login_Block_Separator_Top"><td></td></tr>

          <tr>

            <td class="Login_ContentCell">

              <table cellspacing="0" cellpadding="0" class="Login_TableEdition">

                <tr>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                </tr>

                <tr>
                  <td rowspan="2"><div class="Login_UserPicture"></div>
                  </td>
                  <td colspan="2" class="Login_Logo_Company_Container_Cell">
                    <div class="Login_Logo_Company_Container"><img class="Login_Logo_Company" src="../../../../../web/images/blank.gif"></img></div>
                  </td>
                </tr>


                <tr><td height="25px"></td></tr>

                <tr>
                  <td class="TitleCell"><SPAN class="LabelText">Username</SPAN></td>
                  <td class="TextBox_ContentCell" colspan="2">
                    <input class="dojoValidateValid TextBox_TwoCells_width" type="text" size="40" maxlength="60" name="user"></input> 
                  </td>
                </tr>

                <tr>
                  <td class="TitleCell"><SPAN class="LabelText">Password</SPAN></td>
                  <td class="TextBox_ContentCell" colspan="2">
                    <input class="dojoValidateValid TextBox_TwoCells_width" type="password" size="40" maxlength="40" name="password"></input> 
                  </td>
                </tr>

                <tr><td height="20px"></td></tr>

                <tr>
                  <td></td>
                  <td class="Button_CenterAlign_ContentCell">
                    <div>
                      <a class="ButtonLink" href="#"
                        onfocus="setWindowElementFocus(this); window.status='xx'; return true;"
                        onblur="window.status=''; return true;"
                        onkeypress="this.className='ButtonLink_active'; return true;"
                        onkeyup="this.className='ButtonLink_focus'; return true;"
                        onclick="buttonOK_click();"
                        id="buttonOK">
                        <table class="Button"
                          onmousedown="this.className='Button_active'; return true;"
                          onmouseup="this.className='Button'; return true;"
                          onmouseover="this.className='Button_hover'; window.status='Login'; return true;"
                          onmouseout="this.className='Button'; window.status=''; return true;"
                          id="fieldTable">
                          <tr>
                            <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Logn" title="Login" src="../../../../../web/images/blank.gif" border=0 id="fieldButton"/></td>
                            <td class="Button_text Button_width">Login</td>
                            <td class="Button_right"></td>
                          </tr>
                        </table>
                      </a>
                    </div>
                  </td>
                  <td>
                  </td>
                </tr>

              </table>
            </div>

            </td>
            <td></td>

          </tr>

          <tr class="Login_Block_Separator_Middle"><td></td></tr>

          <tr class="Login_Logo_Support_Field">

            <td class="Login_ContentCell">

              <table cellspacing="0" cellpadding="0" class="Login_TableEdition">

                <tr>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">For Support Contact:</span></td>

                  <td colspan="2" rowspan="2" class="Login_Logo_Support_Container_Cell">
                    <div class="Login_Logo_Support_Container"><img class="Login_Logo_Support" src="../../../../../web/images/blank.gif"></img></div>
                  </td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">www.your-it-service.com</span></td>
                </tr>

              </table>

            </td>

          </tr>

          <tr class="Login_Block_Separator_Middle"><td></td></tr>

          <tr class="Login_Logo_SourceForge_Field">

            <td class="Login_ContentCell" >

              
              <table cellspacing="0" cellpadding="0" class="Login_TableEdition">

                <tr>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                  <td class="TableEdition_OneCell_width"></td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">Project hosted at</span></td>

                  <td colspan="2" rowspan="2" class="Login_Logo_SourceForge_Container_Cell">
                    <a href="http://sourceforge.net/projects/openbravo/" target="_blank" title="Openbravo&#39;s SourceForge"><img src="../../../../../web/images/blank.gif" border="0" alt="SourceForge.net Logo" class="Login_Logo_SourceForge"/></a>
                  </td>
                </tr>

                <tr>
                  <td class="TitleCell"style="vertical-align: middle;"><span class="LabelText">www.sourceforge.net</span></td>
                </tr>

              </table>


            </td>

          </tr>


          <tr class="Login_Block_Separator_Middle"><td></td></tr>
          <tr><td class="Login_Copyright_Container_Cell"><span class="Login_Copyright_text">Copyright Openbravo 2001-2008</span></td></tr>

        </table>

      </div>

        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Bottom" id="tdbottomSeparator">
          <TR>
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></TD>
          </TR>
        </TABLE></td>
      <td valign="top">
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
          <TR><TD class="Main_Client_bg_right"></TD></TR>
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
        </TABLE>
      </td>
    </tr>
  </table>

</FORM>
</BODY>
</HTML>