';
+
+ echo '
';
+
+ echo '
';
+ echo '';
+ echo '';
echo '';
+ echo '
';
+ echo '
';
+
+ echo '
';
+
+
$button = new PopUpButton($lang['srv_rename_profile_yes']);
echo $button -> setFloat('right')
->setButtonColor('orange')
@@ -249,10 +273,16 @@ class SurveyStatusProfiles
echo $button -> setFloat('right')
-> addAction('onClick','statusProfileAction(\'renameCancel\'); return false;');
echo '
';
+ echo '
'.$lang['srv_missing_profile_delete_confirm'].':
' . self::$profiles[$pid]['name'] . '?';
- echo '
';
+ echo '
';
+
+ echo $lang['srv_missing_profile_delete_confirm'].':
' . self::$profiles[$pid]['name'] . '?';
+
+ echo '
';
+
+ echo '
';
$button = new PopUpButton($lang['srv_delete_profile_yes']);
echo $button -> setButtonColor('orange')
@@ -261,6 +291,7 @@ class SurveyStatusProfiles
$button = new PopUpButton($lang['srv_cancel']);
echo $button -> addAction('onClick','statusProfileAction(\'deleteCancel\'); return false;');
+ echo '
';
echo '
';
$content = ob_get_clean();
@@ -317,9 +348,9 @@ class SurveyStatusProfiles
echo '
';
}
echo '';
- echo ' | ';
$cnt++;
@@ -329,9 +360,9 @@ class SurveyStatusProfiles
if ($cnt&1)
echo '
';
echo '';
- echo '';
+ ($disabled || ( (int)$collect_all_status == 0 && $index < 5 ) ? ' disabled' : '' ) . '/>';
//echo $lang['srv_userstatus_' . $index]. " (".$index.")";
echo ''.$lang['srv_userstatus_' . $index]. ' ('.$index.')';
echo ' | ';
@@ -343,9 +374,9 @@ class SurveyStatusProfiles
if ($cnt&1)
echo '
';
echo '';
- echo '';
+ ($disabled || ( (int)$collect_all_status == 0 && $index < 5 ) ? ' disabled' : '' ) . '/>';
//echo $lang['srv_userstatus_' . $index]. " (".$index.")";
echo ''.$lang['srv_userstatus_' . $index]. ' ('.$index.')';
echo ' | ';
@@ -359,7 +390,7 @@ class SurveyStatusProfiles
if ($disabled ) {
$html_disabled = ' disabled="true"';
- $css_disabled = ' class="gray"';
+ $css_disabled = ' disabled';
}
@@ -368,19 +399,51 @@ class SurveyStatusProfiles
// lurkerji
# lurker = 0 - obveezno ni lurker, lurker = 1 - obvezno je lurker, lurker = 2 - je ali ni lurker
- #echo '
'.$lang['srv_lurkers'].'';
- echo ''.$lang['srv_lurkers'].'';
- echo ' '.$lang['no'].'';
- echo ' '.$lang['srv_only_empty'].'';
- echo ' '.$lang['srv_also'].'';
- echo '
'.$lang['srv_lurkers_subnote'].'';
+ #echo '
'.$lang['srv_lurkers'].'';
+
+ echo '';
+ echo '
'.$lang['srv_lurkers'];
+ echo '
'.$lang['srv_lurkers_subnote'].'
';
+
+ echo '
';
+ echo '
';
// testni vnosi
# testni = 0 - obveezno ni testni, testni = 1 - obvezno je tesni, testni = 2 - je ali ni testni
- echo '
'.$lang['srv_testni_vnos'].'';
- echo ' '.$lang['no'].'';
- echo ' '.$lang['srv_only_test'].'';
- echo ' '.$lang['srv_also'].'';
+
+ echo '';
+ echo '
'.$lang['srv_testni_vnos'].'
';
+
+ echo '
';
+ echo '
';
echo '';
@@ -390,10 +453,25 @@ class SurveyStatusProfiles
echo '';
// 2->uporabni, 1->delno uporabni, 0->neuporabni
- echo ' '.$lang['srv_usableResp_unusable'].'';
- echo ''.$lang['srv_usableResp_partusable'].'';
- echo ''.$lang['srv_usableResp_usable'].'';
+
+ echo '';
echo '';
echo '';
diff --git a/public/css/admin_new.css b/public/css/admin_new.css
index 741600735..33b54338e 100644
--- a/public/css/admin_new.css
+++ b/public/css/admin_new.css
@@ -8332,6 +8332,26 @@ div#div_analiza_archive_name .alaysis_archive_wrap .alaysis_archive_left {
display: inline-block;
}
+fieldset.statusProfileFieldset table {
+ white-space: nowrap;
+}
+fieldset.statusProfileFieldset table td input[type=checkbox][disabled] + label:before {
+ color: #C4C4C4;
+ pointer-events: none;
+}
+fieldset.statusProfileFieldset .setting_holder .horizontal {
+ display: flex;
+ flex-direction: row;
+}
+fieldset.statusProfileFieldset .setting_holder.disabled {
+ pointer-events: none;
+ color: #C4C4C4;
+}
+fieldset.statusProfileFieldset .setting_holder.disabled .setting_item label {
+ pointer-events: none;
+ color: #C4C4C4;
+}
+
/*
Header scss - top line, menu...
*/
diff --git a/resources/sass/admin_new/components/popup/page_specific.scss b/resources/sass/admin_new/components/popup/page_specific.scss
index 09703704b..a710c9bd4 100644
--- a/resources/sass/admin_new/components/popup/page_specific.scss
+++ b/resources/sass/admin_new/components/popup/page_specific.scss
@@ -271,4 +271,44 @@ div#div_analiza_archive_name {
outline: 1px solid $dark-gray;
display: inline-block;
}
+}
+
+//Statusi
+fieldset.statusProfileFieldset {
+
+ table {
+
+ white-space: nowrap;
+
+ td {
+ input {
+ &[type=checkbox][disabled] + label:before {
+ color: $dark-gray;
+ pointer-events: none;
+ }
+ }
+ }
+ }
+
+ .setting_holder {
+
+ .horizontal {
+ display: flex;
+ flex-direction: row;
+ }
+
+ &.disabled {
+ pointer-events: none;
+ color: $dark-gray;
+
+ .setting_item {
+
+ label {
+ pointer-events: none;
+ color: $dark-gray;
+ }
+ }
+
+ }
+ }
}
\ No newline at end of file