diff --git a/admin/survey/SurveyAdminSettings.php b/admin/survey/SurveyAdminSettings.php
index aa516c034..0a6965779 100644
--- a/admin/survey/SurveyAdminSettings.php
+++ b/admin/survey/SurveyAdminSettings.php
@@ -930,18 +930,10 @@ class SurveyAdminSettings {
echo ''.$lang['back'] . '';
}
}
- echo '';
- echo $lang['edit1337'] . '';
-
- /*
- $http_referer = parse_url($_SERVER['HTTP_REFERER']); //If yes, parse referrer
- $referer_url = $http_referer['query'];
- if (preg_match('/anketa='.$this->anketa.'&a'.A_VABILA.'/', $referer_url)) {
- echo '
';
- echo '';
- }
- */
+ echo '';
+ echo '';
+ echo '';
+ echo '
';
}
/*Respondenti*/
@@ -8453,31 +8445,42 @@ class SurveyAdminSettings {
$_expire = explode('-',$row['expire']);
$expire = $_expire[2].'.'.$_expire[1].'.'.$_expire[0];
- echo '';
+ echo '';
echo '
';
}
@@ -8492,30 +8495,41 @@ class SurveyAdminSettings {
$row = SurveyInfo::getInstance()->getSurveyRow();
//Nastavitev max stevila glasov
- echo '
';
echo '';
}
diff --git a/admin/survey/script/script.js b/admin/survey/script/script.js
index 62fe287be..766b2493b 100644
--- a/admin/survey/script/script.js
+++ b/admin/survey/script/script.js
@@ -3681,10 +3681,10 @@ function recalc_alert_expire(days) {
function voteCountStatus(status) {
if (status == 1 || status == 2) {
$('#vote_count').removeAttr('disabled');
- $('.vote_limit_warning').show();
+ $('#vote_limit_warning').removeClass('displayNone');
} else {
$('#vote_count').attr('disabled', true);
- $('.vote_limit_warning').hide();
+ $('#vote_limit_warning').addClass('displayNone');
}
}
function voteCountToggle(status) {
diff --git a/lang/1.php b/lang/1.php
index 43363920e..c686e9720 100644
--- a/lang/1.php
+++ b/lang/1.php
@@ -4326,8 +4326,8 @@ $lang = array (
"srv_activate_duration_auto_to" => " do: ",
"srv_activate_duration_manual" => " Ročno od: ",
"srv_activate_duration_manual_1" => " Ročno ",
- "srv_activate_duration_manual_from" => " od: ",
- "srv_activate_duration_manual_to" => " do: ",
+ "srv_activate_duration_manual_from" => "Od:",
+ "srv_activate_duration_manual_to" => "Do:",
"srv_activate_duration_autostart" => "Avtomatska aktivacija čez ",
"srv_activate_duration_button" => "Aktiviraj",
"srv_processing" => "Obdelava",
diff --git a/lang/2.php b/lang/2.php
index 24361a278..0d03a87b0 100644
--- a/lang/2.php
+++ b/lang/2.php
@@ -4306,8 +4306,8 @@ $lang = array (
"srv_activate_duration_auto_to" => " to: ",
"srv_activate_duration_manual" => " Manual from: ",
"srv_activate_duration_manual_1" => " Manual ",
- "srv_activate_duration_manual_from" => " from: ",
- "srv_activate_duration_manual_to" => " to: ",
+ "srv_activate_duration_manual_from" => "From:",
+ "srv_activate_duration_manual_to" => "To:",
"srv_activate_duration_autostart" => "Automatic activation in ",
"srv_activate_duration_button" => "Activate",
"srv_processing" => "Processing",
diff --git a/public/css/admin_new.css b/public/css/admin_new.css
index 67c778df9..36e1b51d8 100644
--- a/public/css/admin_new.css
+++ b/public/css/admin_new.css
@@ -5053,10 +5053,15 @@ body {
*/
p, span {
font-size: 16px;
+ margin-block-start: 0;
+ margin-block-end: 0;
}
p.warning, p.red, span.warning, span.red {
color: #FF0000;
}
+p.italic, span.italic {
+ font-style: italic;
+}
/*
Only layout styles - position, display, max-width...
@@ -5134,6 +5139,10 @@ span.faicon.yellow,
a.faicon.yellow {
color: #FFC700;
}
+span.faicon.blue,
+a.faicon.blue {
+ color: #1E88E5;
+}
span.faicon.fa-stack,
a.faicon.fa-stack {
height: 1em;
@@ -5181,6 +5190,21 @@ span.faicon.minus_circle::before {
content: "\f056";
}
+span.faicon.calendar_icon::before {
+ content: "\f073";
+}
+
+div.icon_holder {
+ display: flex;
+ flex-direction: row;
+ box-sizing: border-box;
+ align-items: center;
+}
+div.icon_holder span.faicon,
+div.icon_holder a.faicon {
+ margin-left: 12px;
+}
+
a {
cursor: pointer;
color: #1E88E5;
@@ -5420,6 +5444,9 @@ input[type=text]:focus {
border-color: transparent;
border-color: #1E88E5;
}
+input[type=text][readonly=true] {
+ cursor: pointer;
+}
input[type=radio], input[type=checkbox] {
border: 0;
clip: rect(0 0 0 0);
diff --git a/resources/sass/admin_new/basic/icons.scss b/resources/sass/admin_new/basic/icons.scss
index 1275fff07..6b54da819 100644
--- a/resources/sass/admin_new/basic/icons.scss
+++ b/resources/sass/admin_new/basic/icons.scss
@@ -3,9 +3,9 @@ a.faicon{
font-family: $fontawesome;
color: inherit;
display: inline-block;
- font-weight: 900;
+ font-weight: $heavy;
&.empty {
- font-weight: 400;
+ font-weight: $regular;
}
&.link-right {
@@ -35,10 +35,12 @@ a.faicon{
}
//BARVE
-
&.yellow {
color: $yellow;
}
+ &.blue {
+ color: $blue;
+ }
//STACKING
&.fa-stack {
@@ -46,8 +48,11 @@ a.faicon{
line-height: 1em;
width: 1em;
}
- }
+ }
+
+
+// Ključavnica
span.faicon.lock_open::before{
content: "\f3c1";
}
@@ -55,6 +60,7 @@ span.faicon.lock_close::before{
content: "\f023";
}
+// Zvone (notification)
span.faicon.bell::before{
content: "\f0f3";
}
@@ -63,14 +69,17 @@ span.faicon.bell_slash::before{
content: "\f1f6";
}
+// Izbris (delete)
span.faicon.trash::before{
content: "\f2ed";
}
+// Kopiranje
span.faicon.copy::before{
content: "\f0c5";
}
+// Plus, minus, krogi
span.faicon.circle::before{
content: "\f111";
}
@@ -85,4 +94,23 @@ span.faicon.plus_circle::before{
span.faicon.minus_circle::before{
content: "\f056";
+}
+
+// Koledar
+span.faicon.calendar_icon::before{
+ content: "\f073";
+}
+
+//Wrapper
+div.icon_holder {
+ display: flex;
+ flex-direction: row;
+ box-sizing: border-box;
+
+ align-items: center;
+
+ span.faicon,
+ a.faicon{
+ margin-left: 12px;
+ }
}
\ No newline at end of file
diff --git a/resources/sass/admin_new/components/form/input.scss b/resources/sass/admin_new/components/form/input.scss
index 65f30abf1..e0d06d32e 100644
--- a/resources/sass/admin_new/components/form/input.scss
+++ b/resources/sass/admin_new/components/form/input.scss
@@ -43,6 +43,10 @@ input {
border-color: transparent;
border-color: $blue;
}
+
+ &[readonly="true"] {
+ cursor: pointer;
+ }
}