Merge branch 'master' of https://git.1ka.si:/git/1ka
This commit is contained in:
commit
220550ef4c
@ -84,9 +84,10 @@ class SurveyCheck {
|
||||
|
||||
// Dobimo stevilo odgovorov na anketo
|
||||
$stevilo_odgovorov = SurveyInfo::getInstance()->getSurveyAnswersCount();
|
||||
$stevilo_odgovorov_limit = AppSettings::getInstance()->getSetting('app_limits-response_count_limit');
|
||||
|
||||
// Obvestilo (mail adminu) posljemo pri dosezeni stevilki
|
||||
if($stevilo_odgovorov == AppSettings::getInstance()->getSetting('app_limits-response_count_limit')){
|
||||
if($stevilo_odgovorov > 0 && $stevilo_odgovorov % $stevilo_odgovorov_limit === 0){
|
||||
$this->sendAlert($alert_type='limit_responses', $stevilo_odgovorov);
|
||||
|
||||
// Deaktiviramo anketo, ce je aktivna ?
|
||||
|
@ -97,7 +97,8 @@ return [
|
||||
dirname(__FILE__).'/../script/custom_column_label_respondent.js',
|
||||
dirname(__FILE__).'/../script/ImageHotSpot/imagemap_question_editor.js',
|
||||
dirname(__FILE__).'/../script/ImageHotSpot/imageHotspot.js',
|
||||
dirname(__FILE__).'/../script/Chartjs/Chart.js', //source za chartjs grafe
|
||||
|
||||
dirname(__FILE__).'/../script/Chartjs/chart.js', //source za chartjs grafe
|
||||
dirname(__FILE__).'/../script/Chartjs.js',
|
||||
|
||||
dirname(__FILE__).'/../script/jquery/jquery.imagemapster.js',
|
||||
|
@ -648,8 +648,6 @@ class DisplayController{
|
||||
|
||||
echo '<form name="register" id="register_form" class="register_form register_window" action="'.$site_url.'frontend/api/api.php?action=register" method="post">';
|
||||
|
||||
// echo ' <span class="subtitle">'.$lang['cms_register_user_text'].'</span>';
|
||||
|
||||
// Email
|
||||
echo ' <label for="email" '.(isset($error['email']) ? 'class="red"' : '').'>'.$lang['email'].':</label>';
|
||||
echo ' <input class="regfield '.(isset($error['email']) ? 'red' : '').'" id="email" name="email" value="'.$email.'" placeholder="" type="text">';
|
||||
@ -658,10 +656,6 @@ class DisplayController{
|
||||
echo ' <label for="ime" '.(isset($error['ime']) ? 'class="red"' : '').'>'.$lang['cms_register_user_nickname'].':</label>';
|
||||
echo ' <input class="regfield '.(isset($error['ime']) ? 'red' : '').'" id="ime" name="ime" value="'.$ime.'" placeholder="" type="text">';
|
||||
|
||||
// // RECAPTCHA
|
||||
// if(AppSettings::getInstance()->getSetting('google-secret_captcha') !== false && AppSettings::getInstance()->getSetting('google-recaptcha_sitekey') !== false)
|
||||
// echo ' <div class="g-recaptcha" data-sitekey="'.AppSettings::getInstance()->getSetting('google-recaptcha_sitekey').'" '.(isset($_GET['invalid_recaptcha']) ? ' style="border:1px red solid"' : '').'></div>';
|
||||
|
||||
// Geslo
|
||||
echo ' <label for="p1" '.(isset($error['password']) ? 'class="red"' : '').'>'.$lang['login_password'].':</label>';
|
||||
echo ' <input id="p1" class="text '.(isset($error['password']) ? 'red' : '').'" value="" name="geslo" placeholder="" type="password">';
|
||||
@ -671,12 +665,10 @@ class DisplayController{
|
||||
echo ' <input id="p2" class="text '.(isset($error['password']) ? 'red' : '').'" value="" name="geslo2" placeholder="" type="password">';
|
||||
|
||||
// Strinjam se s pogoji
|
||||
//echo ' <input id="IAgree" type="hidden" name="agree" value="1">';
|
||||
$terms_url = ($lang['id'] == '1') ? 'https://www.1ka.si/d/sl/o-1ka/pogoji-uporabe-storitve-1ka' : 'https://www.1ka.si/d/en/about/terms-of-use';
|
||||
echo ' <div class="form_row agreement '.(isset($_GET['missing_agree']) ? ' red' : '').'">';
|
||||
echo ' <input id="IAgree" type="checkbox" name="agree" value="1"><label for="IAgree">';
|
||||
echo '<div class="checkbox_text_holder"> '.str_replace('TERMS_URL', $terms_url, $lang['cms_register_user_terms_of_use2']).'</label>';
|
||||
// echo ' <br /><span class="red italic">*'.$lang['cms_register_mandatory_field'].'</span>';
|
||||
echo ' <input id="IAgree" type="checkbox" name="agree" value="1">';
|
||||
echo ' <label for="IAgree"><div class="checkbox_text_holder"> '.str_replace('TERMS_URL', $terms_url, $lang['cms_register_user_terms_of_use2']).'</div></label>';
|
||||
echo ' </div>';
|
||||
|
||||
// RECAPTCHA
|
||||
@ -684,8 +676,6 @@ class DisplayController{
|
||||
echo ' <div class="g-recaptcha" data-sitekey="'.AppSettings::getInstance()->getSetting('google-recaptcha_sitekey').'" '.(isset($_GET['invalid_recaptcha']) ? ' style="border:1px red solid"' : '').'></div>';
|
||||
|
||||
|
||||
echo ' </div>';
|
||||
|
||||
// Error text
|
||||
if(!empty($error)){
|
||||
echo ' <div class="error_holder">';
|
||||
|
@ -3,7 +3,8 @@
|
||||
Created on : 28.3.2020
|
||||
Author : Peter Hrvatin
|
||||
*/
|
||||
/* BARVE */ /* FONTI */
|
||||
/* BARVE */
|
||||
/* FONTI */
|
||||
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,600,700&subset=latin-ext");
|
||||
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap");
|
||||
.thin {
|
||||
@ -458,7 +459,7 @@ body.login_noEmail #main .landing_page_window .agreement {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
margin: 17px 0 5px 0;
|
||||
margin: 16px 0 0 0;
|
||||
}
|
||||
body.landing_page #main .landing_page_window .agreement input,
|
||||
body.register #main .landing_page_window .agreement input,
|
||||
@ -494,8 +495,7 @@ body.landing_page #main .landing_page_window .g-recaptcha,
|
||||
body.register #main .landing_page_window .g-recaptcha,
|
||||
body.login #main .landing_page_window .g-recaptcha,
|
||||
body.login_noEmail #main .landing_page_window .g-recaptcha {
|
||||
width: 304px;
|
||||
margin-top: 20px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
/*body.register{
|
||||
@ -730,13 +730,16 @@ body.reset_password_activate div.label {
|
||||
#main .main_content {
|
||||
min-height: unset;
|
||||
}
|
||||
|
||||
/* --------------HAMBURGER---------------------------------- */
|
||||
.nav-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#nav-icon3 {
|
||||
width: 38px;
|
||||
height: 20px;
|
||||
@ -780,35 +783,42 @@ body.reset_password_activate div.label {
|
||||
#nav-icon3 span:nth-child(4) {
|
||||
top: 18px;
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(1) {
|
||||
top: 9px;
|
||||
width: 0%;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(2) {
|
||||
-webkit-transform: rotate(45deg);
|
||||
-moz-transform: rotate(45deg);
|
||||
-o-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(3) {
|
||||
-webkit-transform: rotate(-45deg);
|
||||
-moz-transform: rotate(-45deg);
|
||||
-o-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
#nav-icon3.open span:nth-child(4) {
|
||||
top: 9px;
|
||||
width: 0%;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
#links {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* */
|
||||
.aai a {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
#links.open {
|
||||
position: absolute;
|
||||
top: 72px;
|
||||
@ -818,8 +828,9 @@ body.reset_password_activate div.label {
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: rgb(255, 255, 255);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#links .menu_item {
|
||||
font-size: 30px;
|
||||
margin-top: 30px;
|
||||
@ -831,6 +842,7 @@ body.reset_password_activate div.label {
|
||||
#links .menu_item a:hover {
|
||||
color: #1E88E5;
|
||||
}
|
||||
|
||||
body #main .main_content {
|
||||
padding: 10px 20px 40px 20px;
|
||||
}
|
||||
@ -872,6 +884,7 @@ body #main .main_content input[type=button] {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body.landing_page,
|
||||
body.login,
|
||||
body.register,
|
||||
@ -958,6 +971,7 @@ body.login_noEmail #content.aai #main .main_content .app_subtitle {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 0 20px;
|
||||
}
|
||||
@ -988,6 +1002,7 @@ body.login_noEmail #content.aai #main .main_content .app_subtitle {
|
||||
footer .footer_content .logo_holder img {
|
||||
margin: 20px auto 30px auto;
|
||||
}
|
||||
|
||||
.cookie_notice {
|
||||
flex-direction: column;
|
||||
}
|
||||
@ -995,6 +1010,7 @@ body.login_noEmail #content.aai #main .main_content .app_subtitle {
|
||||
margin: 0 0 20px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body #main .main_content .register_holder h1 {
|
||||
font-size: 50px;
|
||||
font-weight: 300;
|
||||
@ -1249,16 +1265,6 @@ footer .footer_content .col3 .social_logo_flex a:first-of-type {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
iframe {
|
||||
max-width: 304px;
|
||||
width: unset;
|
||||
}
|
||||
|
||||
.rc-anchor-normal .rc-anchor-checkbox-label {
|
||||
max-width: 152px;
|
||||
width: unset;
|
||||
}
|
||||
|
||||
body.login_noEmail #main {
|
||||
background-image: none;
|
||||
background-color: #F8F8F8;
|
||||
|
@ -280,20 +280,6 @@ footer .footer_content .col3 .social_logo_flex a:first-of-type{
|
||||
}
|
||||
|
||||
|
||||
|
||||
//CAPTCHA
|
||||
iframe {
|
||||
max-width: 304px;
|
||||
width: unset;
|
||||
}
|
||||
|
||||
.rc-anchor-normal .rc-anchor-checkbox-label{
|
||||
max-width: 152px;
|
||||
width: unset;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//------------- POPRAVKI ( napačno geslo, elektronski naslov etc.)--------------------------
|
||||
|
||||
|
||||
|
@ -155,7 +155,7 @@ body.login_noEmail{
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
|
||||
margin: 17px 0 5px 0;
|
||||
margin: 16px 0 0 0;
|
||||
|
||||
input{
|
||||
margin-right: 10px;
|
||||
@ -184,8 +184,7 @@ body.login_noEmail{
|
||||
}
|
||||
|
||||
.g-recaptcha{
|
||||
width: 304px;
|
||||
margin-top: 20px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user