'."\n\r";
if ($id == -1) {
$show = $row['show_intro'];
@@ -6389,9 +6390,8 @@ class Branching {
// prikažemo nastavitve vprasanja
$fullscreen = ( isset($_POST['fullscreen']) && $_POST['fullscreen'] != 'undefined') ? (int)$_POST['fullscreen'] : false;
- echo '
'."\n\r";
+ echo '
'."\n\r";
echo ' '."\n\r";
echo '
';
@@ -7766,7 +7766,7 @@ class Branching {
// left_bracket
if ($row_count['count'] != 1 || $row['left_bracket']>0 || $row['right_bracket']>0) {
echo '
';
- echo '';
+ echo '';
if ($row['left_bracket'] > 0)
echo '';
else
@@ -8052,7 +8052,7 @@ class Branching {
else
echo '';
- echo '';
+ echo '';
}
else {
echo ' | ';
@@ -8835,7 +8835,7 @@ class Branching {
if ($row_count['count'] != 1 || $row['left_bracket']>0 || $row['right_bracket']>0) {
echo ' | ';
- echo '';
+ echo '';
if ($row['left_bracket'] > 0)
echo '';
@@ -9024,7 +9024,7 @@ class Branching {
else
echo '';
- echo '';
+ echo '';
} else {
echo ' | ';
// echo '';
diff --git a/lang/1.php b/lang/1.php
index e81e7cd7b..f524c728b 100644
--- a/lang/1.php
+++ b/lang/1.php
@@ -1810,9 +1810,9 @@ $lang = array (
"srv_note" => "Opomba",
"srv_note2" => "Opomba na vprašanje",
"srv_novaanketa" => "Nova anketa: ",
- "srv_new_survey_success1" => "Anketo lahko začnete s predlogo iz knjižnice ali z vprašanji iz spodnjega menija.",
- "srv_new_survey_success2" => "Vprašanja dodate iz levega menija.",
- "srv_new_survey_success3" => "Uporabite lahko predloge anket ali vprašanj.",
+ "srv_new_survey_success" => "V anketi ni še nobenega vprašanja. Vprašanja lahko dodate tudi iz levega menija.",
+ "srv_new_survey_success_button_create" => "Dodaj vprašanje",
+ "srv_new_survey_success_button_template" => "Dodaj vprašanje iz knjižnice",
"srv_new_question_icon" => "S klikom dodajte na konec ali umestite s \"povleci in spusti\"",
"srv_new_question" => "Kliknite na izbrano vprašanje ali uporabite \"povleci in spusti\"",
"srv_new_question_text" => "Z miško izberite želeni tip vprašanja",
diff --git a/lang/2.php b/lang/2.php
index 328038527..f46973a04 100644
--- a/lang/2.php
+++ b/lang/2.php
@@ -1793,9 +1793,9 @@ $lang = array (
"srv_note" => "Note",
"srv_note2" => "Question note",
"srv_novaanketa" => "New survey",
- "srv_new_survey_success1" => "Survey can start with a template from library or add question from the bottom menu.",
- "srv_new_survey_success2" => "Begin by adding a question from the left menu.",
- "srv_new_survey_success3" => "",
+ "srv_new_survey_success" => "Survey does not contain any questions. You can add a question from the left menu.",
+ "srv_new_survey_success_button_create" => "Add question",
+ "srv_new_survey_success_button_template" => "Add question from library",
"srv_new_question_icon" => "Click on the icon to add this at the bottom of the page or use \"drag-and-drop\"",
"srv_new_question" => "Click on the selected question to add it at the bottom of the page or use \"drag-and-drop\"",
"srv_new_question_text" => "Use the mouse to select a question type",
diff --git a/public/css/admin_new.css b/public/css/admin_new.css
index a284743c7..c10c37c39 100644
--- a/public/css/admin_new.css
+++ b/public/css/admin_new.css
@@ -10719,56 +10719,6 @@ and open the template in the editor.
/*
Specific pages scss
*/
-/* font awesom za admin */
-#variable_holder input[type=checkbox].enka-admin-custom,
-#variable_holder input[type=radio].enka-admin-custom {
- display: none !important;
-}
-
-#variable_holder input[type=checkbox].enka-admin-custom + span.enka-checkbox-radio:before,
-#variable_holder input[type=radio].enka-admin-custom + span.enka-checkbox-radio:before {
- font-family: "Font Awesome 5 Free";
- display: inline-block;
- font-size: 14px;
- color: #E5E5E5;
- font-weight: 400;
-}
-
-#variable_holder input[type=checkbox].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before,
-#variable_holder input[type=radio].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before {
- display: inline-block;
- float: left;
- padding-top: 4px;
- padding-left: 4px;
- font-weight: 400;
-}
-
-#variable_holder input[type=checkbox].enka-admin-custom + span.enka-checkbox-radio:before {
- /*content: "\f096";*/
- content: "";
- letter-spacing: 10px;
-}
-
-#variable_holder input[type=radio].enka-admin-custom + span.enka-checkbox-radio:before {
- /*content: "\f10c";*/
- content: "";
- letter-spacing: 8px;
-}
-
-/* select, checked */
-#variable_holder input[type=checkbox].enka-admin-custom:checked + span.enka-checkbox-radio:before {
- /*content: "\f046";*/
- content: "";
- color: #E5E5E5;
- letter-spacing: 8px;
-}
-
-#variable_holder input[type=radio].enka-admin-custom:checked + span.enka-checkbox-radio:before {
- /*content: "\f192";*/
- content: "";
- color: #E5E5E5;
-}
-
/*
Osnova za branching
*/
@@ -10784,6 +10734,9 @@ and open the template in the editor.
width: calc(100% - 401px - 304px);
margin: 0 0 0 304px;
background-color: white;
+ /* font awesom za admin */
+ /* select, checked */
+ /* Okno za drop vprasanja, ko je anketa prazna */
}
#branching ul {
display: flex;
@@ -10884,9 +10837,96 @@ and open the template in the editor.
}
#branching .variable_name {
cursor: move;
+ margin-top: -2px;
+}
+#branching #variable_holder input[type=checkbox].enka-admin-custom,
+#branching #variable_holder input[type=radio].enka-admin-custom {
+ display: none !important;
+}
+#branching #variable_holder input[type=checkbox].enka-admin-custom + span.enka-checkbox-radio:before,
+#branching #variable_holder input[type=radio].enka-admin-custom + span.enka-checkbox-radio:before {
+ font-family: "Font Awesome 5 Free";
+ display: inline-block;
+ font-size: 16px;
+ color: #D3D3D3;
+ font-weight: 400;
+}
+#branching #variable_holder input[type=checkbox].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before,
+#branching #variable_holder input[type=radio].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before {
+ display: inline-block;
+ float: left;
+ padding-top: 4px;
+ padding-left: 4px;
+ font-weight: 400;
+}
+#branching #variable_holder input[type=checkbox].enka-admin-custom + span.enka-checkbox-radio:before {
+ /*content: "\f096";*/
+ content: "";
+ letter-spacing: 10px;
+}
+#branching #variable_holder input[type=radio].enka-admin-custom + span.enka-checkbox-radio:before {
+ /*content: "\f10c";*/
+ content: "";
+ letter-spacing: 8px;
+}
+#branching #variable_holder input[type=checkbox].enka-admin-custom:checked + span.enka-checkbox-radio:before {
+ /*content: "\f046";*/
+ content: "";
+ color: #D3D3D3;
+ letter-spacing: 8px;
+}
+#branching #variable_holder input[type=radio].enka-admin-custom:checked + span.enka-checkbox-radio:before {
+ /*content: "\f192";*/
+ content: "";
+ color: #D3D3D3;
+}
+#branching span.faicon.delete_circle::before {
+ font-size: 14px;
+}
+#branching span.faicon.add::before {
+ font-size: 14px;
+}
+#branching .empty_vrivanje {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ height: auto !important;
+ box-sizing: border-box;
+ margin: 32px 0 24px 0;
+ padding: 60px 0;
+ text-align: center;
+ font-weight: 400;
+ font-size: 18px;
+ background: #FFFFFF;
+ border: 1px solid #E5E5E5;
+}
+#branching .empty_vrivanje .empty_vrivanje_title {
+ margin: 0 auto 32px auto;
+}
+#branching .empty_vrivanje .empty_vrivanje_buttons {
+ display: flex;
+ justify-content: center;
+}
+#branching .empty_vrivanje .empty_vrivanje_buttons button {
+ margin: 0 8px;
+ font-weight: 400;
+}
+#branching .empty_vrivanje.branchinghover {
+ color: white;
+ background: 0 !important;
+ background-color: #E5E5E5;
+}
+#branching .empty_vrivanje.branchinghover a {
+ display: inline !important;
+ color: white;
+}
+#branching .empty_vrivanje.branchinghover .empty_vrivanje_title {
+ color: white;
+ background-color: #E5E5E5;
+ border-color: white;
}
#branching #bottom_icons_holder {
- display: none;
+ /*display: none;*/
}
.branchinghover {
@@ -10903,50 +10943,6 @@ and open the template in the editor.
font-size: 14px;
}
-/* Okno za drop vprasanja, ko je anketa prazna */
-.empty_vrivanje {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- margin: 20px 0px 20px 45px !important;
- padding: 60px 0 !important;
- text-align: center;
- font-weight: 600;
- border: 1px solid #1E88E5;
-}
-.empty_vrivanje .empty_vrivanje_title {
- margin: 0 auto;
- padding: 8px 20px;
- font-size: 16px;
- font-weight: 500;
- color: #1E88E5;
- background-color: #1E88E5;
- border: 1px solid #1E88E5;
-}
-.empty_vrivanje .empty_vrivanje_subtitle {
- margin: 15px auto 0 auto;
- font-size: 14px;
- font-weight: 400;
-}
-.empty_vrivanje .empty_vrivanje_subtitle a {
- font-weight: 500;
-}
-
-.empty_vrivanje.branchinghover {
- color: white;
- background: 0 !important;
- background-color: #E5E5E5;
-}
-.empty_vrivanje.branchinghover a {
- display: inline !important;
- color: white;
-}
-.empty_vrivanje.branchinghover .empty_vrivanje_title {
- color: white;
- background-color: #E5E5E5;
- border-color: white;
-}
-
/*
Levi toolbox v urejanju ankete (dodajanje vprasanj...)
*/
@@ -10962,6 +10958,17 @@ and open the template in the editor.
cursor: pointer;
display: flex;
flex-direction: column;
+ /*toolbox_basic {
+
+ .toolbox_item.new_if,
+ .toolbox_item.new_block{
+ background-color: $dark-gray2 !important;
+
+ &:hover{
+ background-color: $dark-gray !important;
+ }
+ }
+ }*/
}
.toolbox_holder .toolbox .toolbox_item {
display: flex;
@@ -11029,8 +11036,8 @@ and open the template in the editor.
height: 199px;
padding-top: 85px;
}
-.toolbox_holder .toolbox#toolbox_advanced_settings {
- background-color: #D3D3D3;
+.toolbox_holder .toolbox#toolbox_advanced_settings .toolbox_item {
+ background-color: #D3D3D3 !important;
}
.toolbox_holder .toolbox#toolbox_advanced_settings .toolbox_item:hover {
background-color: #C4C4C4 !important;
@@ -11432,13 +11439,6 @@ and open the template in the editor.
vertical-align: bottom;
}
-.intro_concl {
- float: left;
- font-size: 12px;
- color: #E5E5E5;
- padding: 4px;
-}
-
.save_button {
float: right;
margin: 10px 0px;
@@ -12042,7 +12042,8 @@ li.spr .spremenljivka_content .spremenljivka_settings .spr_settings {
display: flex;
font-size: 14px;
}
-li.spr .spremenljivka_content .spremenljivka_settings .spr_settings span {
+li.spr .spremenljivka_content .spremenljivka_settings .spr_settings span,
+li.spr .spremenljivka_content .spremenljivka_settings .spr_settings div {
padding-left: 16px;
font-size: 14px;
}
@@ -12129,17 +12130,31 @@ li.spr .spremenljivka_content input {
}
li.spr .spremenljivka_content .grid_inline,
li.spr .spremenljivka_content .vrednost_inline,
-li.spr .spremenljivka_content .naslov {
+li.spr .spremenljivka_content .naslov,
+li.spr .spremenljivka_content .info_inline {
box-sizing: border-box;
padding: 4px 8px;
font-size: 14px;
}
li.spr .spremenljivka_content .grid_inline p,
li.spr .spremenljivka_content .vrednost_inline p,
-li.spr .spremenljivka_content .naslov p {
+li.spr .spremenljivka_content .naslov p,
+li.spr .spremenljivka_content .info_inline p {
padding: 0;
font-size: 14px;
}
+li.spr .spremenljivka_content .grid_inline.info_inline,
+li.spr .spremenljivka_content .vrednost_inline.info_inline,
+li.spr .spremenljivka_content .naslov.info_inline,
+li.spr .spremenljivka_content .info_inline.info_inline {
+ font-size: 12px;
+}
+li.spr .spremenljivka_content .grid_inline.info_inline p,
+li.spr .spremenljivka_content .vrednost_inline.info_inline p,
+li.spr .spremenljivka_content .naslov.info_inline p,
+li.spr .spremenljivka_content .info_inline.info_inline p {
+ font-size: 12px;
+}
li.spr .spremenljivka_content div[contenteditable] {
cursor: text;
min-height: 26px;
@@ -12352,17 +12367,6 @@ li div.spremenljivka_content span.image_upload {
float: left;
}
-#spr_settings_intro_concl {
- float: left;
- width: auto;
- vertical-align: bottom;
- padding-left: 10px;
-}
-#spr_settings_intro_concl img {
- padding-left: 10px;
- padding-top: 3px;
-}
-
table.text_vrednost {
text-align: center;
font-size: 10px;
diff --git a/resources/sass/admin_new/pages/survey_edit/branching.scss b/resources/sass/admin_new/pages/survey_edit/branching.scss
index ecdfceba5..9dc914953 100644
--- a/resources/sass/admin_new/pages/survey_edit/branching.scss
+++ b/resources/sass/admin_new/pages/survey_edit/branching.scss
@@ -158,11 +158,120 @@ $branching_main_size_small: calc(100% - #{$branching_settings_size} - #{$branchi
.variable_name {
cursor: move;
+ margin-top: -2px;
}
+ /* font awesom za admin */
+ #variable_holder input[type="checkbox"].enka-admin-custom,
+ #variable_holder input[type="radio"].enka-admin-custom {
+ display: none !important;
+ }
+ #variable_holder input[type="checkbox"].enka-admin-custom+ span.enka-checkbox-radio:before,
+ #variable_holder input[type="radio"].enka-admin-custom + span.enka-checkbox-radio:before {
+ font-family: $fontawesome;
+ display: inline-block;
+ font-size: 16px;
+ color: $dark-gray2;
+
+ font-weight: 400;
+ }
+ #variable_holder input[type="checkbox"].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before,
+ #variable_holder input[type="radio"].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before {
+ display: inline-block;
+ float: left;
+ padding-top: 4px;
+ padding-left: 4px;
+
+ font-weight: 400;
+ }
+
+ #variable_holder input[type="checkbox"].enka-admin-custom + span.enka-checkbox-radio:before{
+ /*content: "\f096";*/
+ content: "\f0c8";
+ letter-spacing: 10px;
+ }
+ #variable_holder input[type="radio"].enka-admin-custom + span.enka-checkbox-radio:before{
+ /*content: "\f10c";*/
+ content: "\f111";
+ letter-spacing: 8px;
+ }
+ /* select, checked */
+ #variable_holder input[type="checkbox"].enka-admin-custom:checked + span.enka-checkbox-radio:before{
+ /*content: "\f046";*/
+ content: "\f14a";
+ color: $dark-gray2;
+ letter-spacing: 8px;
+ }
+ #variable_holder input[type="radio"].enka-admin-custom:checked + span.enka-checkbox-radio:before{
+ /*content: "\f192";*/
+ content: "\f192";
+ color: $dark-gray2;
+ }
+
+ span.faicon.delete_circle::before {
+ font-size: 14px;
+ }
+ span.faicon.add::before {
+ font-size: 14px;
+ }
+
+
+ /* Okno za drop vprasanja, ko je anketa prazna */
+ .empty_vrivanje {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+
+ height: auto !important;
+ box-sizing: border-box;
+ margin: 32px 0 24px 0;
+ padding: 60px 0;
+
+ text-align: center;
+ font-weight: 400;
+ font-size: 18px;
+
+ background: $white;
+ border: 1px solid $gray;
+
+ .empty_vrivanje_title {
+ margin: 0 auto 32px auto;
+ }
+
+ .empty_vrivanje_buttons{
+ display: flex;
+ justify-content: center;
+
+ button{
+ margin: 0 8px;
+
+ font-weight: 400;
+ }
+ }
+ }
+ .empty_vrivanje.branchinghover {
+ color: white;
+
+ background: 0 !important;
+ background-color: $gray;
+
+ a{
+ display: inline !important;
+ color: white;
+ }
+
+ .empty_vrivanje_title{
+ color: white;
+
+ background-color: $gray;
+ border-color: white;
+ }
+ }
+
+
#bottom_icons_holder{
- display: none;
+ /*display: none;*/
}
}
@@ -182,58 +291,4 @@ $branching_main_size_small: calc(100% - #{$branching_settings_size} - #{$branchi
}
-/* Okno za drop vprasanja, ko je anketa prazna */
-.empty_vrivanje {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
-
- margin: 20px 0px 20px 45px !important;
- padding: 60px 0 !important;
-
- text-align: center;
- font-weight: 600;
-
- border: 1px solid $blue;
-
- .empty_vrivanje_title {
- margin: 0 auto;
- padding: 8px 20px;
-
- font-size: 16px;
- font-weight: 500;
- color: $blue;
- background-color: $blue;
- border: 1px solid $blue;
- }
-
- .empty_vrivanje_subtitle{
- margin: 15px auto 0 auto;
-
- font-size: 14px;
- font-weight: 400;
-
- a{
- font-weight: 500;
- }
- }
-}
-.empty_vrivanje.branchinghover {
- color: white;
-
- background: 0 !important;
- background-color: $gray;
-
- a{
- display: inline !important;
- color: white;
- }
-
- .empty_vrivanje_title{
- color: white;
-
- background-color: $gray;
- border-color: white;
- }
-}
\ No newline at end of file
diff --git a/resources/sass/admin_new/pages/survey_edit/other.scss b/resources/sass/admin_new/pages/survey_edit/other.scss
index 28f1b5669..da3efaf9e 100644
--- a/resources/sass/admin_new/pages/survey_edit/other.scss
+++ b/resources/sass/admin_new/pages/survey_edit/other.scss
@@ -25,12 +25,7 @@ and open the template in the editor.
vertical-align: bottom;
}
}
-.intro_concl {
- float: left;
- font-size: 12px;
- color: $gray;
- padding: 4px;
-}
+
.save_button {
float: right;
margin: 10px 0px;
diff --git a/resources/sass/admin_new/pages/survey_edit/questions/question_box.scss b/resources/sass/admin_new/pages/survey_edit/questions/question_box.scss
index 7d00a5cd2..ef933bcb5 100644
--- a/resources/sass/admin_new/pages/survey_edit/questions/question_box.scss
+++ b/resources/sass/admin_new/pages/survey_edit/questions/question_box.scss
@@ -165,7 +165,8 @@ li.spr{
display: flex;
font-size: 14px;
- span{
+ span,
+ div{
padding-left: 16px;
font-size: 14px;
}
@@ -275,7 +276,8 @@ li.spr{
.grid_inline,
.vrednost_inline,
- .naslov{
+ .naslov,
+ .info_inline{
box-sizing: border-box;
padding: 4px 8px;
@@ -285,6 +287,14 @@ li.spr{
padding: 0;
font-size: 14px;
}
+
+ &.info_inline{
+ font-size: 12px;
+
+ p{
+ font-size: 12px;
+ }
+ }
}
div[contenteditable] {
@@ -551,16 +561,7 @@ li {
}
}
-#spr_settings_intro_concl {
- float: left;
- width: auto;
- vertical-align: bottom;
- padding-left: 10px;
- img {
- padding-left: 10px;
- padding-top: 3px;
- }
-}
+
table.text_vrednost {
text-align: center;
font-size: 10px;
diff --git a/resources/sass/admin_new/pages/survey_edit/survey_edit.scss b/resources/sass/admin_new/pages/survey_edit/survey_edit.scss
index 7b86a2eb1..115812e90 100644
--- a/resources/sass/admin_new/pages/survey_edit/survey_edit.scss
+++ b/resources/sass/admin_new/pages/survey_edit/survey_edit.scss
@@ -1,50 +1,3 @@
-/* font awesom za admin */
-#variable_holder input[type="checkbox"].enka-admin-custom,
-#variable_holder input[type="radio"].enka-admin-custom {
- display: none !important;
-}
-#variable_holder input[type="checkbox"].enka-admin-custom+ span.enka-checkbox-radio:before,
-#variable_holder input[type="radio"].enka-admin-custom + span.enka-checkbox-radio:before {
- font-family: $fontawesome;
- display: inline-block;
- font-size: 14px;
- color: $gray;
-
- font-weight: 400;
-}
-#variable_holder input[type="checkbox"].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before,
-#variable_holder input[type="radio"].enka-admin-custom.enka-inline + span.enka-checkbox-radio:before {
- display: inline-block;
- float: left;
- padding-top: 4px;
- padding-left: 4px;
-
- font-weight: 400;
-}
-
-#variable_holder input[type="checkbox"].enka-admin-custom + span.enka-checkbox-radio:before{
- /*content: "\f096";*/
- content: "\f0c8";
- letter-spacing: 10px;
-}
-#variable_holder input[type="radio"].enka-admin-custom + span.enka-checkbox-radio:before{
- /*content: "\f10c";*/
- content: "\f111";
- letter-spacing: 8px;
-}
-/* select, checked */
-#variable_holder input[type="checkbox"].enka-admin-custom:checked + span.enka-checkbox-radio:before{
- /*content: "\f046";*/
- content: "\f14a";
- color: $gray;
- letter-spacing: 8px;
-}
-#variable_holder input[type="radio"].enka-admin-custom:checked + span.enka-checkbox-radio:before{
- /*content: "\f192";*/
- content: "\f192";
- color: $gray;
-}
-
// Urejanje ankete
@import "branching";
@import "toolbox";
diff --git a/resources/sass/admin_new/pages/survey_edit/toolbox.scss b/resources/sass/admin_new/pages/survey_edit/toolbox.scss
index 2a7fc638f..f3b636d61 100644
--- a/resources/sass/admin_new/pages/survey_edit/toolbox.scss
+++ b/resources/sass/admin_new/pages/survey_edit/toolbox.scss
@@ -116,12 +116,27 @@
}
toolbox_advanced_settings {
- background-color: $dark-gray2;
+
+ .toolbox_item{
+ background-color: $dark-gray2 !important;
- .toolbox_item:hover{
- background-color: $dark-gray !important;
+ &:hover{
+ background-color: $dark-gray !important;
+ }
}
}
+
+ /*toolbox_basic {
+
+ .toolbox_item.new_if,
+ .toolbox_item.new_block{
+ background-color: $dark-gray2 !important;
+
+ &:hover{
+ background-color: $dark-gray !important;
+ }
+ }
+ }*/
}
|