src/org/openbravo/erpCommon/security/Login.html
author plu_ob <plu@openbravo.com>
Tue, 18 Aug 2020 12:42:19 +0200
changeset 37512 082aa8168013
parent 37409 d69fd8d341f1
permissions -rw-r--r--
Fixes BUG-44838: Updates the list of supported/recommended browsers
asier@8910
     1
<!--
asier@8910
     2
 *************************************************************************
asier@8910
     3
 * The contents of this file are subject to the Openbravo  Public  License
priya@9072
     4
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
asier@8910
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
asier@8910
     6
 * file except in compliance with the License. You  may  obtain  a copy of
asier@8910
     7
 * the License at http://www.openbravo.com/legal/license.html 
asier@8910
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
asier@8910
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
asier@8910
    10
 * License for the specific  language  governing  rights  and  limitations
asier@8910
    11
 * under the License. 
asier@8910
    12
 * The Original Code is Openbravo ERP. 
asier@8910
    13
 * The Initial Developer of the Original Code is Openbravo SLU 
augusto@36933
    14
 * All portions are Copyright (C) 2010-2020 Openbravo SLU 
asier@8910
    15
 * All Rights Reserved. 
asier@8910
    16
 * Contributor(s):  ______________________________________.
asier@8910
    17
 ************************************************************************
asier@8910
    18
-->
asier@8910
    19
carlos@31834
    20
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
david@8918
    21
<head>
asier@8910
    22
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
asier@8910
    23
<title>Openbravo</title>
asier@8910
    24
<link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" id="favicon" />
carlos@31815
    25
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/loginStyles.css" id="paramCSS" />
carlos@31823
    26
<script type="text/javascript" src="../../../../../web/js/login.js" type="text/javascript"></script>
carlos@31823
    27
<script type="text/javascript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
carlos@31823
    28
<script type="text/javascript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@31823
    29
<script type="text/javascript" src="../utility/CheckCleanCache.js?cache=true" type="text/javascript"></script>
carlos@31823
    30
<script type="text/javascript" src="../utility/CheckCleanCache.js?cache=false" type="text/javascript"></script>
carlos@31823
    31
<script type="text/javascript" id="visualPrefs">var showCompanyLogo = true, showSupportLogo = true, showForgeLogo = true, urlCompany = 'http://www.openbravo.com/', urlSupport = 'http://support.openbravo.com/';/* Parameters retreived from Login.java */</script>
carlos@31823
    32
<script type="text/javascript">var urlForge = 'http://forge.openbravo.com/';</script>
carlos@31823
    33
<script type="text/javascript" id="expirationMessage"></script>
carlos@31823
    34
<script type="text/javascript" id="cacheMsg">var cacheMsg = 'xx';</script>
carlos@31823
    35
<script type="text/javascript" id="validBrowserMsg">var validBrowserMsg = 'xx';</script>
carlos@31823
    36
<script type="text/javascript" id="validBrowserMsgOrHigher">var validBrowserMsgOrHigher = 'xx';</script>
carlos@31823
    37
<script type="text/javascript" id="recBrowserMsgTitle">var recBrowserMsgTitle = 'xx';</script>
carlos@31823
    38
<script type="text/javascript" id="recBrowserMsgText">var recBrowserMsgText = 'xx';</script>
carlos@31823
    39
<script type="text/javascript" id="identificationFailureTitle">var identificationFailureTitle = 'xx';</script>
carlos@31823
    40
<script type="text/javascript" id="errorEmptyContent">var errorEmptyContent = 'xx';</script>
carlos@31823
    41
<script type="text/javascript" id="errorSamePassword">var errorSamePassword = 'xx';</script>
carlos@31823
    42
<script type="text/javascript" id="errorDifferentPasswordInFields">var errorDifferentPasswordInFields = 'xx';</script>
asier@8923
    43
carlos@31823
    44
<script type="text/javascript">
david@10269
    45
staff@36463
    46
var validBrowserVersions = {
staff@37208
    47
		firefox: '60.0.0.0', 
plu@37512
    48
		chrome: '84.0.0.0',
staff@37208
    49
		explorer: '11.0.0.0',
plu@37512
    50
		edge: '84.0.0.0',      // Starting Jan-2020: Chromium version
staff@37208
    51
		safari: '10.0.0.0',
staff@36463
    52
};
staff@36463
    53
staff@36463
    54
var recBrowserVersions = {
staff@37208
    55
		firefox: '68.0.0.0',
plu@37512
    56
		chrome: '85.0.0.0',
staff@37208
    57
		//explorer: '11.0.0.0', // IE browser unsupported
plu@37512
    58
		edge: '85.0.0.0',      // Starting Jan-2020: Chromium version
staff@37208
    59
		safari: '12.0.0.0',
staff@36463
    60
};
carlos@31833
    61
carlos@31833
    62
// currentRevision must be the same value as the one returned by getCurrentRevision() (see utils.js)
carlos@35323
    63
var currentRevision = '35323';
david@10269
    64
carlos@31849
    65
beforeLoadDo();
david@8918
    66
</script>
asier@8919
    67
asier@8910
    68
</head>
david@8918
    69
<body onload="onLoadDo();">
david@9005
    70
  <div style="display: none; width: 100%; height: 100%; position: absolute; vertical-align: middle; padding: 0px; text-align: center;" id="blocker"></div>
david@8918
    71
  <div class="Login_Main" id="client">
david@8937
    72
    <div class="Login_Container">
david@8937
    73
      <div class="Login_LogForm">
david@8918
    74
        <form method="post" action="../secureApp/LoginHandler.html" name="frmIdentificacion" id="frmFormulario" autocomplete="off">
david@14041
    75
          <input type="hidden" name="Command" value="" />
jonathan@28641
    76
          <input type="hidden" name="resetPassword" id="resetPassword" value="" />
david@14041
    77
          <div class="Login_LogForm_CompanyLogo_Container">
david@14041
    78
            <div class="Login_LogForm_CompanyLogo" id="CompanyLogo_Container" style="display: none;"><img class="Login_Logo_Company" src="../../../../../web/images/blank.gif" /></div>
david@14041
    79
          </div>
david@14041
    80
          <div class="Login_LogForm_Input_Container">
david@14041
    81
            <dl>
david@14041
    82
              <dt>
jonathan@28641
    83
                <label for="user" class="LabelText Login_LabelText" id="userlabel" >User Name</label>
david@28160
    84
              </dt>
jonathan@28672
    85
              <dt>
jonathan@28672
    86
                <label for="user" class="LabelText Login_LabelText" id="newpasswordlabel" style="display:none;">New Password</label>
david@14041
    87
              </dt>
david@14041
    88
              <dd>
david@14041
    89
                <input class="dojoValidateValid Login_TextBox" type="text" maxlength="60" name="user" id="user" />
david@14041
    90
              </dd>
david@14041
    91
              <dt>
jonathan@28641
    92
                <label for="password" class="LabelText Login_LabelText" id="passwordlabel" >Password</label>
david@28160
    93
              </dt>
jonathan@28672
    94
              <dt>
jonathan@28672
    95
                <label for="password" class="LabelText Login_LabelText" id="confirmpasswordlabel" style="display:none;">Confirm Password</label>
david@14041
    96
              </dt>
david@14041
    97
              <dd>
david@14041
    98
                <input class="dojoValidateValid Login_TextBox" type="password" maxlength="40" name="password" id="password" />
david@14041
    99
              </dd>
david@14041
   100
            </dl>
david@14041
   101
            <div id="errorMsg" class="LabelText Login_ErrorMsg_Container" style="display:none;">
david@14041
   102
              <span id="errorMsgTitle_Container"><span id="errorMsgTitle" class="Login_ErrorMsg_Title">xx</span><br></span><span id="errorMsgContent" class="Login_ErrorMsg_Content">xx</span>
david@8918
   103
            </div>
david@14041
   104
          </div>
david@14041
   105
        </form>
david@14041
   106
        <div class="Login_LogForm_Button_Container">
david@14041
   107
          <div class="Login_LogForm_Button">
david@14041
   108
            <button type="button" 
david@14041
   109
              id="buttonOK" 
david@14041
   110
              class="ButtonLink" 
carlos@31816
   111
              onclick="doLogin();" 
david@14041
   112
              onfocus="buttonEvent('onfocus', this); window.status='Login'; return true;" 
david@14041
   113
              onblur="buttonEvent('onblur', this);" 
david@14041
   114
              onkeyup="buttonEvent('onkeyup', this);" 
david@14041
   115
              onkeydown="buttonEvent('onkeydown', this);" 
david@14041
   116
              onkeypress="buttonEvent('onkeypress', this);" 
david@14041
   117
              onmouseup="buttonEvent('onmouseup', this);" 
david@14041
   118
              onmousedown="buttonEvent('onmousedown', this);" 
david@14041
   119
              onmouseover="buttonEvent('onmouseover', this); window.status='Login'; return true;" 
david@14041
   120
              onmouseout="buttonEvent('onmouseout', this);">
david@14041
   121
              <table class="Button" id="fieldTable">
david@14041
   122
                <tr>
david@14041
   123
                  <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Login" title="Login" src="../../../../../web/images/blank.gif" border="0" id="fieldButton" /></td>
david@14041
   124
                  <td class="Button_text Button_width">Log in</td>
david@14041
   125
                  <td class="Button_right"></td>
david@14041
   126
                </tr>
david@14041
   127
              </table>
david@14041
   128
            </button>
david@14041
   129
          </div>
david@14041
   130
          <div id="sign-in" style="margin-top:12px;">xxxSignIn</div>
david@14041
   131
        </div>
david@8918
   132
      </div>
david@10723
   133
      <div class="Login_TopLogos_Container_Support_Forge" id="TopLogos_Container" style="display: none;">
david@10723
   134
        <div style="height: 1px; width: 1px; font-size: 1"></div>
david@10723
   135
        <div class="Login_TopLogos_ForgeLogo_Container">
david@10723
   136
          <div class="LabelText Login_LabelText Login_TopLogos_ForgeLogo_Text">Project hosted at:</div>
david@10723
   137
          <div class="Login_TopLogos_ForgeLogo_Logo_Container" id="ForgeLogo_Container"><img class="Login_Logo_Forge" src="../../../../../web/images/blank.gif" /></div>
asier@8910
   138
        </div>
david@10723
   139
        <div class="Login_TopLogos_SupportLogo_Container">
david@10723
   140
          <div class="LabelText Login_LabelText Login_TopLogos_SupportLogo_Text">For support, contact:</div>
david@10723
   141
          <div class="Login_TopLogos_SupportLogo_Logo_Container" id="SupportLogo_Container"><img class="Login_Logo_Support" src="../../../../../web/images/blank.gif" /></div>
david@10723
   142
        </div>
david@8918
   143
      </div>
david@10723
   144
      <div class="Login_BottomLogos_Container" id="BottomLogos_Container" style="display: none;">
david@10723
   145
        <div class="Login_BottomLogos_Openbravo_Logo_Container" id="OpenbravoLogo_Container"><img class="Login_Logo_Openbravo" src="../../../../../web/images/blank.gif" /></div>
augusto@36933
   146
        <div class="Login_BottomLogos_CopyrightText_Container"><span class="Login_BottomLogos_CopyrightText">&copy; Copyright Openbravo <br/> 2001-2020</span>
javier@35265
   147
        </div>
david@8918
   148
      </div>
david@8918
   149
    </div>
david@8918
   150
  </div>
david@8918
   151
</body>
david@8918
   152
</html>