update change login
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
/*
|
||||
* LOGIN PM3 STYLES
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Chivo";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: local("?"), url("/fonts/Chivo-Regular.ttf") format("truetype");
|
||||
}
|
||||
body.login {
|
||||
background: url("/images/backgroundpm3.jpg") repeat scroll 0 0 / cover rgba(0, 0, 0, 0);
|
||||
//background-position-y: -30px;
|
||||
font-family: "Chivo",sans-serif;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.vertical-offset-100 {
|
||||
@@ -48,6 +57,7 @@ img.img-responsive {
|
||||
|
||||
|
||||
.module_app_input___gray {
|
||||
font-family: "Chivo",sans-serif;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #ccc;
|
||||
@@ -71,9 +81,11 @@ img.img-responsive {
|
||||
color: #555;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
height: 45px;
|
||||
//height: 45px;
|
||||
box-sizing: border-box;
|
||||
//padding-top: 12px;
|
||||
line-height: 1.42857;
|
||||
padding: 9px 12px;
|
||||
//padding: 9px 12px;
|
||||
transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -82,6 +94,7 @@ img.img-responsive {
|
||||
box-sizing: border-box;
|
||||
color: #444;
|
||||
font-family: "Open Sans",Arial,Helvetica,sans-serif;
|
||||
//font-family: "Chivo",sans-serif;
|
||||
font-size: 16px;
|
||||
height: 45px;
|
||||
padding: 10px;
|
||||
@@ -211,13 +224,10 @@ p {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.footer-login .content{
|
||||
.footer-login span{
|
||||
color: white;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.footer-login{
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.login_result span{
|
||||
@@ -227,6 +237,7 @@ p {
|
||||
|
||||
|
||||
.login .module_app_inputFailed___gray{
|
||||
font-family: "Chivo",sans-serif;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #ccc;
|
||||
@@ -242,3 +253,28 @@ p {
|
||||
width: 100%;
|
||||
border:1px solid #e14333;
|
||||
}
|
||||
|
||||
.page-wrap{
|
||||
height: auto;
|
||||
margin: 0 auto -60px;
|
||||
min-height: 95%;
|
||||
padding: 0 0 60px;
|
||||
}
|
||||
|
||||
.page-wrap:after{
|
||||
width: 100%;
|
||||
display:block;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.footer-login{
|
||||
text-align: center;
|
||||
height: auto;
|
||||
margin: -0px auto 0;
|
||||
}
|
||||
|
||||
#form[FORGOT_PASWORD_LINK]{
|
||||
font-family: Chivo;
|
||||
font-size: 14px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
@@ -79,9 +79,7 @@
|
||||
</body>
|
||||
{else}
|
||||
<body id="page-top" class="login" data-spy="scroll" data-target=".navbar-custom">
|
||||
<div style="display: none;" id="preloader">
|
||||
<div style="display: none;" id="load"></div>
|
||||
</div>
|
||||
<div class="page-wrap">
|
||||
<div class="container">
|
||||
<div class="row vertical-offset-100">
|
||||
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
|
||||
@@ -102,8 +100,13 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-login">
|
||||
<div class="content">{$footer}</div>
|
||||
<div class="container">
|
||||
<span>
|
||||
{$footer}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
{/if}
|
||||
|
||||
@@ -377,8 +377,8 @@ class SkinEngine
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||
$freeOfChargeText = "";
|
||||
if (! defined('SKIP_FREE_OF_CHARGE_TEXT'))
|
||||
$freeOfChargeText = "Supplied free of charge with no support, certification, warranty, <br>maintenance nor indemnity by Colosa and its Certified Partners.";
|
||||
if(class_exists('pmLicenseManager')) $freeOfChargeText="";
|
||||
$freeOfChargeText = "Supplied free of charge with no support, certification, warranty, <br>maintenance nor indemnity by Processmaker and its Certified Partners.";
|
||||
if(file_exists(PATH_CLASSES."/class.pmLicenseManager.php")) $freeOfChargeText="";
|
||||
|
||||
$fileFooter = PATH_SKINS . SYS_SKIN . PATH_SEP . 'footer.html';
|
||||
if (file_exists($fileFooter)) {
|
||||
@@ -392,7 +392,7 @@ class SkinEngine
|
||||
if (file_exists($fileFooter)) {
|
||||
$footer .= file_get_contents($fileFooter);
|
||||
} else {
|
||||
$footer .= "<br />Copyright © 2000-" . date('Y') . " <a href=\"http://www.processmaker.com\" alt=\"ProcessMaker Inc.\" target=\"_blank\">ProcessMaker Inc.</a> All rights reserved.<br /> $freeOfChargeText " . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"></a>";
|
||||
$footer .= "$freeOfChargeText <br />Copyright © 2000-" . date('Y') . " <a href=\"http://www.processmaker.com\" alt=\"ProcessMaker Inc.\" target=\"_blank\">ProcessMaker </a>Inc. All rights reserved.<br />" . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"></a>";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -505,7 +505,7 @@ class SkinEngine
|
||||
if (file_exists($fileFooter)) {
|
||||
$footer .= file_get_contents($fileFooter);
|
||||
} else {
|
||||
$footer .= "<br />Copyright © 2000-" . date('Y') . " <a href=\"http://www.processmaker.com\" alt=\"ProcessMaker Inc.\" target=\"_blank\">ProcessMaker Inc.</a> All rights reserved.<br /> $freeOfChargeText " . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"></a>";
|
||||
$footer .= "$freeOfChargeText <br />Copyright © 2000-" . date('Y') . " <a href=\"http://www.processmaker.com\" alt=\"ProcessMaker Inc.\" target=\"_blank\">ProcessMaker </a>Inc. All rights reserved.<br /> " . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"></a>";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -698,8 +698,8 @@ class SkinEngine
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/login/login') !== false) {
|
||||
$freeOfChargeText = "";
|
||||
if (! defined('SKIP_FREE_OF_CHARGE_TEXT'))
|
||||
$freeOfChargeText = "Supplied free of charge with no support, certification, warranty, maintenance nor indemnity by Colosa and its Certified Partners.";
|
||||
if(class_exists('pmLicenseManager')) $freeOfChargeText="";
|
||||
$freeOfChargeText = "Supplied free of charge with no support, certification, warranty, maintenance nor indemnity by ProcessMaker and its Certified Partners.";
|
||||
if(file_exists(PATH_CLASSES."/class.pmLicenseManager.php")) $freeOfChargeText="";
|
||||
|
||||
$fileFooter = PATH_SKINS . SYS_SKIN . PATH_SEP . 'footer.html';
|
||||
if (file_exists($fileFooter)) {
|
||||
@@ -713,7 +713,7 @@ class SkinEngine
|
||||
if (file_exists($fileFooter)) {
|
||||
$footer .= file_get_contents($fileFooter);
|
||||
} else {
|
||||
$footer .= " $freeOfChargeText <br />Copyright © 2000-" . date('Y') . " <a href=\"http://www.processmaker.com\" alt=\"ProcessMaker Inc.\" target=\"_blank\">ProcessMaker Inc.</a> All rights reserved.<br />" . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"></a>";
|
||||
$footer .= "$freeOfChargeText <br />Copyright © 2000-" . date('Y') . " <a href=\"http://www.processmaker.com\" alt=\"ProcessMaker Inc.\" target=\"_blank\">ProcessMaker </a>Inc. All rights reserved.<br />" . "<br><br/><a href=\"http://www.processmaker.com\" alt=\"Powered by ProcessMaker - Open Source Workflow & Business Process Management (BPM) Management Software\" title=\"Powered by ProcessMaker\" target=\"_blank\"></a>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,8 @@ window.onload= function(){
|
||||
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');
|
||||
document.getElementById('form[BSUBMIT]').setAttribute("tabindex",-1);
|
||||
document.getElementById('form[BCANCEL]').setAttribute("tabindex",-1);
|
||||
};
|
||||
|
||||
var panel;
|
||||
|
||||
@@ -30,6 +30,7 @@ window.onload= function(){
|
||||
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');
|
||||
document.getElementById('form[BSUBMIT]').setAttribute("tabindex",-1);
|
||||
};
|
||||
|
||||
// enable/disable forgot password link
|
||||
|
||||
@@ -30,6 +30,7 @@ window.onload= function(){
|
||||
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');
|
||||
document.getElementById('form[BSUBMIT]').setAttribute("tabindex",-1);
|
||||
};
|
||||
|
||||
setFocus (getField ('USR_USERNAME'));
|
||||
|
||||
BIN
workflow/public_html/fonts/Chivo-Regular.ttf
Normal file
BIN
workflow/public_html/fonts/Chivo-Regular.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user