From f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 21:20:34 +0100 Subject: további rendrakás --- .../www/skin/classic/module-auth/css/forgotten.css | 66 ------------- .../www/skin/classic/module-auth/css/login.css | 108 --------------------- .../skin/classic/module-auth/html/forgotten.phtml | 103 -------------------- .../www/skin/classic/module-auth/html/login.phtml | 77 --------------- .../www/skin/classic/module-auth/img/login.gif | Bin 1807 -> 0 bytes .../module-auth/javascript/forgotten.jquery.min.js | 19 ---- .../module-auth/javascript/login.jquery.min.js | 24 ----- 7 files changed, 397 deletions(-) delete mode 100644 mayor-orig/www/skin/classic/module-auth/css/forgotten.css delete mode 100644 mayor-orig/www/skin/classic/module-auth/css/login.css delete mode 100644 mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml delete mode 100644 mayor-orig/www/skin/classic/module-auth/html/login.phtml delete mode 100644 mayor-orig/www/skin/classic/module-auth/img/login.gif delete mode 100644 mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js delete mode 100644 mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js (limited to 'mayor-orig/www/skin/classic/module-auth') diff --git a/mayor-orig/www/skin/classic/module-auth/css/forgotten.css b/mayor-orig/www/skin/classic/module-auth/css/forgotten.css deleted file mode 100644 index a3e63ada..00000000 --- a/mayor-orig/www/skin/classic/module-auth/css/forgotten.css +++ /dev/null @@ -1,66 +0,0 @@ - - div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; } - div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; } - - form.forgot { width: 450px; margin: 40px auto; text-align: center; - box-shadow: 0px 0px 2px 0px #ccc; - padding: 20px; - } - form.forgot h1 { font-size: 16px; } -/* - form.forgot input[type=submit] { background: #1f6fd9; color: white; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); font-size: 12px; border: 1px solid #1d66c8; padding: 2px 10px; } - form.forgot input[type=submit]:hover { background-color: #2f7fe9;} -*/ - div.forgot { width: 400px; margin: 20px auto; text-align: center; box-shadow: 0px 0px 2px 0px #ccc; padding:0px; } -/* -régi - div.forgot a { color:#aaaaaa; display: block; padding:20px;} - div.forgot:hover a { background-color: cornflowerblue; color:white; } -*/ -form.forgot input, form.forgot select, -form.preforgot input, form.preforgot select{ - border: 1px solid rgba(0, 0, 0, .20); - border-radius: 4px; - color: rgba(0, 0, 0, 1); - display: block; - font-size: 17px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; -} -form.forgot input.error {border-color:red;} - -form.forgot select, form.forgot input[type="submit"], -form.preforgot select, form.preforgot input[type="submit"]{ - width: 320px; -} -form.forgot input[type="submit"],form.preforgot input[type="submit"]{ border-color: white; background-color:white;} -form.forgot input[type="submit"]:hover,form.preforgot input[type="submit"]:hover { background-color:white; cursor: pointer; color: cornflowerblue; border-color: cornflowerblue;} - -div.loginlogo {margin-left: auto; margin-right:auto; text-align:center; margin-bottom: 2em; margin-top:50px;} -div.loginlogo img { padding:20px; height:50px; background-color: cornflowerblue; } - -p.forgotDone { text-align:center; } - - - - p.forgotDone a { - border: 1px solid rgba(0, 0, 0, .10); - border-radius: 4px; - color: rgba(0, 0, 0, .1); - display: block; - font-size: 16px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; - line-height:42px; - } - p.forgotDone a:hover { background-color: cornflowerblue; } - p.forgotDone a:hover { color:white; } - diff --git a/mayor-orig/www/skin/classic/module-auth/css/login.css b/mayor-orig/www/skin/classic/module-auth/css/login.css deleted file mode 100644 index da948475..00000000 --- a/mayor-orig/www/skin/classic/module-auth/css/login.css +++ /dev/null @@ -1,108 +0,0 @@ -div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; } -div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; } - -form.nagylogin input, form.nagylogin select{ - border: 1px solid rgba(0, 0, 0, .20); - border-radius: 4px; - color: rgba(0, 0, 0, 1); - display: block; - font-size: 17px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; -} -form.nagylogin input.error {border-color:red;} - -form.nagylogin select, form.nagylogin input[type="submit"]{ - width: 320px; -} -form.nagylogin input[type="submit"]{ border-color: white; background-color:white;} -form.nagylogin input[type="submit"]:hover { background-color:white; cursor: pointer; color: cornflowerblue; border-color: cornflowerblue;} -form.nagylogin div.loginlogo {margin-left: auto; margin-right:auto; text-align:center; margin-bottom: 2em;} -form.nagylogin div.loginlogo img { padding:20px; height:50px; background-color: cornflowerblue; } - -form.nagylogin div.loaderContainer { position: relative; - top: -45px; - left:-90px; - margin-left: auto; - margin-right: auto; - height:2px; - width:2px; - margin-bottom:0px; - padding-bottom:0px; -} -form.nagylogin div.loaderContainer div.loader { display: inline-block; } - -#warning { height: 40px; } -#capsLockWarning { - background: #ffffaa; color: #ffaaaa; - text-align: center; font-size: 20px; font-weight: bold; - padding: 20px; margin: 10px auto; width: 300px; -} - - form.forgot { margin: 0px auto; text-align: center; padding: 0px 0px; } - form.forgot h1 { } - form.forgot input[type=submit] { - background: #1f6fd9; color: white; text-shadow: 0 -1px 0 rgba(0,0,0,0.3); border: 1px solid #1d66c8; padding: 2px 10px; - } - form.forgot a { - border: 1px solid rgba(0, 0, 0, .10); - border-radius: 4px; - color: rgba(0, 0, 0, .1); - display: block; - font-size: 16px; - height: 42px; - margin-bottom: 12px; - margin-left: auto; - margin-right: auto; - padding: 0 16px; - width: 286px; - line-height:42px; - } - form.forgot a:hover { background-color: cornflowerblue; } - form.forgot a:hover { color:white; } - -.loader { - margin: 0px auto; - font-size: 2px; - position: relative; - text-indent: -9999em; - border-top: 1.1em solid rgba(255,42,99, 0.2); - border-right: 1.1em solid rgba(255,42,99, 0.2); - border-bottom: 1.1em solid rgba(255,42,99, 0.2); - border-left: 1.1em solid #ff2a63; - -webkit-transform: translateZ(0); - -ms-transform: translateZ(0); - transform: translateZ(0); - -webkit-animation: load8 1.1s infinite linear; - animation: load8 1.1s infinite linear; -} -.loader, -.loader:after { - border-radius: 50%; - width: 10em; - height: 10em; -} -@-webkit-keyframes load8 { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -@keyframes load8 { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} diff --git a/mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml b/mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml deleted file mode 100644 index 464f4f64..00000000 --- a/mayor-orig/www/skin/classic/module-auth/html/forgotten.phtml +++ /dev/null @@ -1,103 +0,0 @@ -'._SITE.''."\n"; - echo '

'._GREETING.'

'."\n"; - - formBegin(array('class'=>'forgot')); - - echo '

'._FORGOT_PASSWORD.'

'; - - echo '

'._ENTER_USERACCOUNT.'

'; - echo ''; - echo ''; - echo ''; - echo ''; - echo '

'._FORGOT_PASSWORD_HELP.'

'; - - formEnd(); - - } - - function putForgotUserAccountForm($ADAT) { - - formBegin(array('class'=>'forgot')); - - echo '

'._FORGOT_USERACCOUNT.'

'; - - echo '

'._ENTER_EMAIL.'

'; - echo ''; - echo ''; - echo ''; - echo ''; - echo '

'._FORGOT_USERACCOUNT_HELP.'

'; - - formEnd(); - - } - - function putForgotThankYou() { - - echo '

'._SITE.'

'."\n"; - echo '

'._GREETING.'

'."\n"; - - formBegin(array('class'=>'preforgot')); - echo ''; - _mayorLogo(); - echo ''; - echo '

'._FORGOT_INFO.'

'; - formEnd(); - - } - - function putForgotDisabled() { - global $POLICIES,$AUTH; - - echo '

'._SITE.'

'."\n"; - echo '

'._GREETING.'

'."\n"; - echo ''; - _mayorLogo(); - echo ''; - - formBegin(array('class'=>'preforgot')); - - echo ''."\n"; - echo ''; - formEnd(); - - } - - function putBackToLogin($ADAT) { - - //echo '
'; - echo '

'._BACK_TO_LOGIN.'

'; - //echo '
'; - - } - - function _mayorLogo() { - echo ''; - } - - -?> \ No newline at end of file diff --git a/mayor-orig/www/skin/classic/module-auth/html/login.phtml b/mayor-orig/www/skin/classic/module-auth/html/login.phtml deleted file mode 100644 index cac82b7e..00000000 --- a/mayor-orig/www/skin/classic/module-auth/html/login.phtml +++ /dev/null @@ -1,77 +0,0 @@ -'._SITE.''."\n"; - echo '

'._GREETING.'

'."\n"; - - if (is_array($AUTH[$toPolicy]['allowOnly']) && !in_array($userAccount,$AUTH[$toPolicy]['allowOnly'])) { - echo '
Korlátozott belépés!
'; - } - - // Caps-Lock - echo '
'; - - formBegin(array('method'=>'post', - 'class'=>'nagylogin', - 'action'=>'index.php?policy=public&page=auth&f=login&toPolicy='.$toPolicy.'&sessionID='.$sessionID , - 'name'=>"loginablak")); - -// echo ''; - echo ''; - echo ''; - - echo ''; - - echo ''."\n"; - echo ''."\n"; - - - if (intval(_MAYORAUTHRESULT)>0 || (defined('_FORCE_LOGIN_POLICY_SELECT') && _FORCE_LOGIN_POLICY_SELECT===true)) { - echo ''."\n"; - } - - echo ''."\n"; - echo '
'; - - formEnd(); - //if ($AUTH[$toPolicy]['enablePasswordReset']===true) { - formBegin(array('class'=>'forgot')); - echo '
'._FORGOTTEN.'
'; - formEnd(); - //} - } - - function putAlreadyLoggedIn() { - echo '
'; - echo ''; - echo _BELEPVE; - echo '
'; - } - - function _putsvg() { - mayorLogoSvg(); - } - -?> diff --git a/mayor-orig/www/skin/classic/module-auth/img/login.gif b/mayor-orig/www/skin/classic/module-auth/img/login.gif deleted file mode 100644 index 82faef04..00000000 Binary files a/mayor-orig/www/skin/classic/module-auth/img/login.gif and /dev/null differ diff --git a/mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js b/mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js deleted file mode 100644 index 46b8c27f..00000000 --- a/mayor-orig/www/skin/classic/module-auth/javascript/forgotten.jquery.min.js +++ /dev/null @@ -1,19 +0,0 @@ -$(function() { - - $("input.email").focus(function() { - }).blur(function() { - if (validateEmail($(this).val()) === false) - alert('Nem megfelelő email cím!'); - }); - - $("input[type=submit]").click(function() { - // ellenőrzés - // return false; - }); - -}); - -function validateEmail(email) { - var re = /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i; - return re.test(email); -} diff --git a/mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js b/mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js deleted file mode 100644 index 0299746d..00000000 --- a/mayor-orig/www/skin/classic/module-auth/javascript/login.jquery.min.js +++ /dev/null @@ -1,24 +0,0 @@ -$(function() { - - $("input[type=submit]").click(function() { - - //$(this).toggle(); - //$(this).addClass('loader'); - // ellenőrzés - if ($('#focus').val() =="") { - $('#focus').addClass('error'); - return false; - } - if ($('#userPassword').val() =="") { - $('#userPassword').addClass('error'); - return false; - } - document.loginablak.button.disabled=true; - $('.loader').show(); - $(this).closest('form').submit(); - }); - $('form input').focus(function(event) { - $(event.target).prev().removeClass('error'); - }); -}); - -- cgit v1.2.3