Redesign - tabela s podatki - popravek postavitve checkboxa za mass delete

This commit is contained in:
pero1203 2022-03-15 11:01:21 +01:00
parent 9c1e2a9130
commit c6bde02359
3 changed files with 26 additions and 4 deletions

View File

@ -1776,7 +1776,7 @@ class SurveyDataDisplay{
if ($stolpci > 0 ) {
if (self::$displayEditIcons['dataIcons_edit'] == true) {
// checkbox za brisanje vecih vrstic hkrati
echo '<td class="data_edit" title="'.$lang['srv_view_data_row_select'].'"><input type="checkbox" id="delete_data_row_'.$cntLines.'" class="delete_data_row" /><label for="delete_data_row_'.$cntLines.'"></label></td>';
echo '<td class="data_edit delete_checkbox" title="'.$lang['srv_view_data_row_select'].'"><input type="checkbox" id="delete_data_row_'.$cntLines.'" class="delete_data_row" /><label for="delete_data_row_'.$cntLines.'"></label></td>';
}
}
if ((int)$display1kaIcon == 1) {
@ -2456,7 +2456,7 @@ class SurveyDataDisplay{
if ($stolpci > 0 ) {
if (self::$displayEditIcons['dataIcons_edit'] == true) {
// checkbox za brisanje vecih vrstic hkrati
echo '<td class="data_edit" title="'.$lang['srv_view_data_row_select'].'"><input type="checkbox" id="delete_data_row_'.$cntLines.'" class="delete_data_row" /><label for="delete_data_row_'.$cntLines.'"></label></td>';
echo '<td class="data_edit delete_checkbox" title="'.$lang['srv_view_data_row_select'].'"><input type="checkbox" id="delete_data_row_'.$cntLines.'" class="delete_data_row" /><label for="delete_data_row_'.$cntLines.'"></label></td>';
}
}
if ((int)$display1kaIcon == 1) {

View File

@ -16757,7 +16757,7 @@ dl.arch_email dd {
height: 28px;
}
#div_vnosi_data #tableContainer table#dataTable thead tr.row3 th .mass_delete > .faicon {
margin: 5px 0 0 17px;
margin: 5px 0 0 13px;
}
#div_vnosi_data #tableContainer table#dataTable thead tr.row3 th .mass_delete > .faicon:before {
color: #1E88E5;
@ -16785,6 +16785,16 @@ dl.arch_email dd {
#div_vnosi_data #tableContainer table#dataTable tbody tr td span {
font-size: 14px;
}
#div_vnosi_data #tableContainer table#dataTable tbody tr td.data_edit {
max-width: none;
min-width: none;
width: auto;
}
#div_vnosi_data #tableContainer table#dataTable tbody tr td.data_edit.delete_checkbox {
max-width: 40px;
min-width: 40px;
width: 40px;
}
#div_vnosi_data #tableContainer table#dataTable tbody tr td.hover {
cursor: pointer;
background-color: #F8F8F8;

View File

@ -126,7 +126,7 @@
height: 28px;
>.faicon{
margin: 5px 0 0 17px;
margin: 5px 0 0 13px;
&:before{
color: $blue;
@ -171,6 +171,18 @@
font-size: 14px;
}
&.data_edit{
max-width: none;
min-width: none;
width: auto;
}
&.data_edit.delete_checkbox{
max-width: 40px;
min-width: 40px;
width: 40px;
}
&.hover{
cursor: pointer;