Redesign - popravki napak - gdpr tabela

This commit is contained in:
pero1203 2022-05-26 11:33:31 +02:00
parent e4238012bb
commit 2f2f177503
4 changed files with 20 additions and 2 deletions

View File

@ -491,7 +491,7 @@ class GDPR{
ORDER BY date(r.datum) ASC"); ORDER BY date(r.datum) ASC");
if(mysqli_num_rows($sql) > 0){ if(mysqli_num_rows($sql) > 0){
echo '<table class="gdpr_surveys requests">'; echo '<table class="gdpr_surveys requests all">';
echo '<tr>'; echo '<tr>';
echo '<th>'.$lang['srv_gdpr_requests_author'].'</th>'; echo '<th>'.$lang['srv_gdpr_requests_author'].'</th>';

View File

@ -560,8 +560,10 @@ class CrossRoad {
# GDPR # GDPR
case 'gdpr': case 'gdpr':
if ($_GET['m'] == 'gdpr_requests' || $_GET['m'] == 'gdpr_requestsall') if ($_GET['m'] == 'gdpr_requests')
$layout_width = 'wide'; $layout_width = 'wide';
elseif ($_GET['m'] == 'gdpr_requests_all')
$layout_width = 'fullscreen';
else else
$layout_width = 'narrow'; $layout_width = 'narrow';

View File

@ -10731,6 +10731,14 @@ table.variableView {
width: 100%; width: 100%;
} }
table.gdpr_surveys {
table-layout: fixed;
width: 100%;
}
table.gdpr_surveys.all {
width: calc(100% - 64px);
margin: 0 32px;
}
table.gdpr_surveys tr.red_row td { table.gdpr_surveys tr.red_row td {
background-color: #FFEFEF !important; background-color: #FFEFEF !important;
} }

View File

@ -2,6 +2,14 @@
table { table {
&.gdpr_surveys { &.gdpr_surveys {
table-layout: fixed;
width: 100%;
&.all{
width: calc(100% - 64px);
margin: 0 32px;
}
tr.red_row { tr.red_row {
td { td {
background-color: $light-red !important; background-color: $light-red !important;