[Redizajn 1KA] Popupi: Analize → Poročila → Poročila po meri - Edit - v2
This commit is contained in:
parent
cd70890f26
commit
5efdaddb92
@ -1807,19 +1807,17 @@ class SurveyCustomReport {
|
|||||||
// Preimenuje, brise in share lahko samo za lastna porocila
|
// Preimenuje, brise in share lahko samo za lastna porocila
|
||||||
if($this->creportAuthor == $global_user_id){
|
if($this->creportAuthor == $global_user_id){
|
||||||
|
|
||||||
echo '<div class="button_holder">';
|
echo '<p class="blue pointer top16 bottom8" onClick="creport_profile_action(\'show_rename\'); return false;">'.$lang['srv_rename_profile'].'</p>';
|
||||||
echo '<button class="medium white-blue" onClick="creport_profile_action(\'show_rename\'); return false;">'.$lang['srv_rename_profile'].'</button>';
|
|
||||||
|
|
||||||
if($this->creportProfile > 0)
|
if($this->creportProfile > 0)
|
||||||
echo '<button class="medium white-blue" onclick="creport_profile_action(\'show_delete\'); return false;">'.$lang['srv_delete_profile'].'</button>';
|
echo '<p class="blue pointer bottom8" onclick="creport_profile_action(\'show_delete\'); return false;">'.$lang['srv_delete_profile'].'</p>';
|
||||||
|
|
||||||
echo '<button class="medium blue" onclick="creport_profile_action(\'show_share\'); return false;">'.$lang['srv_custom_report_share'].'</button>';
|
echo '<p class="blue pointer bottom16" onclick="creport_profile_action(\'show_share\'); return false;">'.$lang['srv_custom_report_share'].'</p>';
|
||||||
|
|
||||||
echo '</div>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Preberemo najkasneje editiran element (cas spreminjanja)
|
/*/ Preberemo najkasneje editiran element (cas spreminjanja)
|
||||||
$sqlt = sisplet_query("SELECT MAX(time_edit) FROM srv_custom_report WHERE ank_id='$this->ank_id' AND usr_id='$this->creportAuthor' AND profile='$this->creportProfile'");
|
$sqlt = sisplet_query("SELECT MAX(time_edit) FROM srv_custom_report WHERE ank_id='$this->ank_id' AND usr_id='$this->creportAuthor' AND profile='$this->creportProfile'");
|
||||||
if(mysqli_num_rows($sqlt) > 0){
|
if(mysqli_num_rows($sqlt) > 0){
|
||||||
$rowt = mysqli_fetch_array($sqlt);
|
$rowt = mysqli_fetch_array($sqlt);
|
||||||
@ -1838,7 +1836,7 @@ class SurveyCustomReport {
|
|||||||
if($time_edit != '' && $time_edit != '0000-00-00 00:00:00'){
|
if($time_edit != '' && $time_edit != '0000-00-00 00:00:00'){
|
||||||
$time_edit = strtotime($time_edit);
|
$time_edit = strtotime($time_edit);
|
||||||
echo '<p>'.$lang['srv_custom_report_time_edited'].': <span class="bold">'.date("d.m.Y H:i", $time_edit).'</span></p>';
|
echo '<p>'.$lang['srv_custom_report_time_edited'].': <span class="bold">'.date("d.m.Y H:i", $time_edit).'</span></p>';
|
||||||
}
|
}*/
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
@ -1858,7 +1856,7 @@ class SurveyCustomReport {
|
|||||||
$comment = $row['value'];
|
$comment = $row['value'];
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<p class="bold">'.$lang['srv_inv_archive_comment'].':</p>';
|
echo '<p>'.$lang['srv_inv_archive_comment'].':</p>';
|
||||||
// Komentar lahko popravlja samo avtor porocila
|
// Komentar lahko popravlja samo avtor porocila
|
||||||
if($this->creportAuthor == $global_user_id)
|
if($this->creportAuthor == $global_user_id)
|
||||||
echo '<textarea class="textarea" onBlur="creport_profile_comment(this.value)">'.$comment.'</textarea>';
|
echo '<textarea class="textarea" onBlur="creport_profile_comment(this.value)">'.$comment.'</textarea>';
|
||||||
|
@ -8313,24 +8313,31 @@ div#div_analiza_archive_name .alaysis_archive_wrap .alaysis_archive_left {
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#creport_profiles {
|
#div_creport_settings_profiles #creport_profiles {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 99%;
|
width: 99%;
|
||||||
height: 140px;
|
height: 140px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1px solid #E5E5E5;
|
border: 1px solid #E5E5E5;
|
||||||
}
|
}
|
||||||
#creport_profiles .option {
|
#div_creport_settings_profiles #creport_profiles .option {
|
||||||
padding: 1px;
|
padding: 8px;
|
||||||
|
border: 1px solid #E5E5E5;
|
||||||
}
|
}
|
||||||
#creport_profiles .active {
|
#div_creport_settings_profiles #creport_profiles .active {
|
||||||
background-color: #1E88E5;
|
background-color: #EAF9FE;
|
||||||
color: white;
|
color: #1E88E5;
|
||||||
border-bottom: 1px solid #E5E5E5;
|
|
||||||
}
|
}
|
||||||
|
#div_creport_settings_profiles #creport_settings_profiles_comment textarea {
|
||||||
#creport_settings_profiles_comment textarea {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 80px;
|
||||||
|
}
|
||||||
|
#div_creport_settings_profiles .button_holder {
|
||||||
|
display: flex;
|
||||||
|
border-top: 1px solid #E5E5E5;
|
||||||
|
padding-top: 16px !important;
|
||||||
|
margin-top: 16px !important;
|
||||||
|
justify-content: space-between !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#newCReportProfile .text,
|
#newCReportProfile .text,
|
||||||
@ -29888,21 +29895,6 @@ ul.vrednost_sort input[type=text] {
|
|||||||
width: 98%;
|
width: 98%;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
.subpage_analysis_creport #anketa_custom_report #creport_profiles {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 99%;
|
|
||||||
height: 140px;
|
|
||||||
display: inline-block;
|
|
||||||
border: 1px solid #E5E5E5;
|
|
||||||
}
|
|
||||||
.subpage_analysis_creport #anketa_custom_report #creport_profiles .option {
|
|
||||||
padding: 1px;
|
|
||||||
}
|
|
||||||
.subpage_analysis_creport #anketa_custom_report #creport_profiles .active {
|
|
||||||
background-color: #1E88E5;
|
|
||||||
color: white;
|
|
||||||
border-bottom: 1px solid #E5E5E5;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.reports_holder {
|
div.reports_holder {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -224,26 +224,38 @@ div#div_analiza_archive_name {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Poročila
|
//Poročila
|
||||||
#creport_profiles {
|
#div_creport_settings_profiles {
|
||||||
cursor: pointer;
|
#creport_profiles {
|
||||||
width: 99%;
|
cursor: pointer;
|
||||||
height: 140px;
|
width: 99%;
|
||||||
display: inline-block;
|
height: 140px;
|
||||||
border: 1px solid $gray;
|
display: inline-block;
|
||||||
.option {
|
border: 1px solid $gray;
|
||||||
padding: 1px;
|
.option {
|
||||||
|
padding: 8px;
|
||||||
|
border: 1px solid $gray;
|
||||||
|
}
|
||||||
|
.active {
|
||||||
|
background-color: $light-blue;
|
||||||
|
color: $blue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.active {
|
|
||||||
background-color: $blue;
|
#creport_settings_profiles_comment {
|
||||||
color: white;
|
textarea {
|
||||||
border-bottom: 1px solid $gray;
|
width: 100%;
|
||||||
|
height: 80px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
#creport_settings_profiles_comment {
|
.button_holder {
|
||||||
textarea {
|
display: flex;
|
||||||
width: 100%;
|
border-top: 1px solid $gray;
|
||||||
|
padding-top: 16px !important;
|
||||||
|
margin-top: 16px !important;
|
||||||
|
justify-content: space-between !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#newCReportProfile,
|
#newCReportProfile,
|
||||||
|
@ -504,20 +504,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#creport_profiles {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 99%;
|
|
||||||
height: 140px;
|
|
||||||
display: inline-block;
|
|
||||||
border: 1px solid $gray;
|
|
||||||
.option {
|
|
||||||
padding: 1px;
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
background-color: $blue;
|
|
||||||
color: white;
|
|
||||||
border-bottom: 1px solid $gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user