update login
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
window.onload= function(){
|
||||
document.getElementById('form[USR_USERNAME]').placeholder = _('ID_USER');
|
||||
document.getElementById('form[USR_EMAIL]').placeholder = _('ID_EMAIL');
|
||||
document.getElementById('form[BSUBMIT]').classList.remove('module_app_button___gray');
|
||||
document.getElementById('form[BSUBMIT]').classList.add('button-login-success');
|
||||
document.getElementById('form[BCANCEL]').classList.remove('module_app_button___gray');
|
||||
document.getElementById('form[BCANCEL]').classList.add('button-login-cancel');
|
||||
};
|
||||
|
||||
var panel;
|
||||
|
||||
30
workflow/engine/xmlform/login/licenseExpired.html
Normal file
30
workflow/engine/xmlform/login/licenseExpired.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
|
||||
<div class="boxTop"><div class="a"> </div><div class="b"> </div><div class="c"> </div></div>
|
||||
<div class="content" style="height:{$form_height};" >
|
||||
<table width="99%">
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||
<input type="hidden" name="__DynaformName__" id="__DynaformName__" value="{$form_name}" />
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td class='FormTitle' colspan="2" align="">{$form.thetitle}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='FormLabel' width="{$form_labelWidth}"><font color="red">* </font>{$licenseFile}</td>
|
||||
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.licenseFile}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='FormButton' colspan="2" align="">{$form.updateButton}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="FormRequiredTextMessage"><font color="red">* </font>Required Field</div> </div>
|
||||
<div class="boxBottom"><div class="a"> </div><div class="b"> </div><div class="c"> </div></div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
29
workflow/engine/xmlform/login/licenseExpiredpm3.html
Normal file
29
workflow/engine/xmlform/login/licenseExpiredpm3.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<form accept-charset="UTF-8" role="form" class="form-signin" id="{$form_id}" name="{$form_name}" action="{$form_action}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit="return validateForm('{$form_objectRequiredFields}');">
|
||||
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
||||
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
||||
<input type="hidden" name="__DynaformName__" id="__DynaformName__" value="{$form_name}" />
|
||||
<fieldset>
|
||||
<label class="panel-login">
|
||||
<div class="login_result">{$form.thetitle}</div>
|
||||
</label>
|
||||
{$form.licenseFile}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label class="panel-login">
|
||||
<div class="login_result"></div>
|
||||
</label>
|
||||
<br>
|
||||
{$form.updateButton}
|
||||
</fieldset>
|
||||
|
||||
<div class="FormRequiredTextMessage"><font color="red">* </font>Required Field</div> </div>
|
||||
<div class="boxBottom"><div class="a"> </div><div class="b"> </div><div class="c"> </div></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
{$form.JS}
|
||||
</script>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
18
workflow/engine/xmlform/login/licenseExpiredpm3.xml
Executable file
18
workflow/engine/xmlform/login/licenseExpiredpm3.xml
Executable file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dynaForm type="xmlform" name="login/licenseExpired" width="450" enabletemplate="1">
|
||||
<thetitle type="title" required="0" readonly="0" optgroup="0">
|
||||
<en><![CDATA[Your license has expired or the System does not have a license. To use the ProcessMaker Enterprise Edition upload a valid license]]></en>
|
||||
</thetitle>
|
||||
<licenseFile type="file" required="1" readonly="0" optgroup="0">
|
||||
<en>License File</en>
|
||||
</licenseFile>
|
||||
<updateButton type="submit" required="0" readonly="0" optgroup="0">
|
||||
<en>Update License</en>
|
||||
</updateButton>
|
||||
<JS type="javascript"><![CDATA[
|
||||
window.onload= function(){
|
||||
document.getElementById('form[updateButton]').classList.remove('module_app_button___gray');
|
||||
document.getElementById('form[updateButton]').classList.add('button-login-success');
|
||||
};
|
||||
]]></JS>
|
||||
</dynaForm>
|
||||
@@ -29,6 +29,8 @@ SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||
window.onload= function(){
|
||||
document.getElementById('form[USR_USERNAME]').placeholder = _('ID_USER');
|
||||
document.getElementById('form[USR_PASSWORD_MASK]').placeholder = _('ID_PASSWORD');
|
||||
document.getElementById('form[BSUBMIT]').classList.remove('module_app_button___gray');
|
||||
document.getElementById('form[BSUBMIT]').classList.add('button-login-success');
|
||||
};
|
||||
|
||||
// enable/disable forgot password link
|
||||
|
||||
@@ -27,7 +27,9 @@ SELECT LANG_ID, LANG_NAME FROM langOptions
|
||||
window.onload= function(){
|
||||
document.getElementById('form[USR_USERNAME]').placeholder = _('ID_USER');
|
||||
document.getElementById('form[USR_PASSWORD_MASK]').placeholder = _('ID_PASSWORD');
|
||||
document.getElementById('form[USER_ENV]').placeholder = _('ID_WORKSPACE');
|
||||
document.getElementById('form[USER_ENV]').placeholder = _('ID_WORKSPACE');
|
||||
document.getElementById('form[BSUBMIT]').classList.remove('module_app_button___gray');
|
||||
document.getElementById('form[BSUBMIT]').classList.add('button-login-success');
|
||||
};
|
||||
|
||||
setFocus (getField ('USR_USERNAME'));
|
||||
|
||||
Reference in New Issue
Block a user