[Redizajn 1KA] - Nastavitve --> Izbrisane ankete / Izbrisani podatki - v2

This commit is contained in:
tejagerjovic 2022-02-24 13:04:26 +01:00
parent 7898738f8a
commit 2f74d2cec8
3 changed files with 29 additions and 14 deletions

View File

@ -2313,18 +2313,18 @@ class SurveyAdminSettings {
echo '<p class="bottom16">'.$lang['srv_anketa_deleted_note'].'</p>'; echo '<p class="bottom16">'.$lang['srv_anketa_deleted_note'].'</p>';
echo '<table>'; echo '<table>';
echo '<tr>'; echo '<tr>';
echo '<th>'.$lang['srv_data_deleted_surveyname'].'<th>'; echo '<th>'.$lang['srv_data_deleted_surveyname'].'</th>';
echo '<th class="nowrap">'.$lang['srv_data_deleted_user'].'<th>'; echo '<th class="nowrap">'.$lang['srv_data_deleted_user'].'</th>';
echo '<th><th>'; echo '<th></th>';
echo '</tr>'; echo '</tr>';
$table_exists = 1; $table_exists = 1;
} }
echo '<tr>'; echo '<tr>';
echo '<td><a href="index.php?anketa='.$row['id'].'">'.$row['naslov'].'</a><td>'; echo '<td><a href="index.php?anketa='.$row['id'].'">'.$row['naslov'].'</a></td>';
echo '<td>'.$row['email'].'<td>'; echo '<td>'.$row['email'].'</td>';
echo '<td><button class="table-inline white-black caps" type="button" onclick="anketa_restore(\''.$row['id'].'\'); return false;">'.$lang['srv_anketa_deleted_restore'].'</button><td>'; echo '<td><button class="table white-black caps" type="button" onclick="anketa_restore(\''.$row['id'].'\'); return false;">'.$lang['srv_anketa_deleted_restore'].'</button></td>';
echo '</tr>'; echo '</tr>';
} }
@ -2355,20 +2355,20 @@ class SurveyAdminSettings {
echo '<p class="bottom16">'.$lang['srv_data_deleted_note'].'</p>'; echo '<p class="bottom16">'.$lang['srv_data_deleted_note'].'</p>';
echo '<table>'; echo '<table>';
echo '<tr>'; echo '<tr>';
echo '<th>'.$lang['srv_data_deleted_surveyname'].'<th>'; echo '<th>'.$lang['srv_data_deleted_surveyname'].'</th>';
echo '<th class="nowrap">'.$lang['srv_data_deleted_user'].'<th>'; echo '<th class="nowrap">'.$lang['srv_data_deleted_user'].'</th>';
echo '<th class="nowrap">'.$lang['srv_data_deleted'].'<th>'; echo '<th class="nowrap">'.$lang['srv_data_deleted'].'</th>';
echo '<th><th>'; echo '<th></th>';
echo '</tr>'; echo '</tr>';
$table_exists = 1; $table_exists = 1;
} }
echo '<tr>'; echo '<tr>';
echo '<td><a href="index.php?anketa='.$row['id'].'">'.$row['naslov'].'</a><td>'; echo '<td><a href="index.php?anketa='.$row['id'].'">'.$row['naslov'].'</a></td>';
echo '<td>'.$row['email'].'<td>'; echo '<td>'.$row['email'].'</td>';
echo '<td class="right">'.$row['deleted'].'<td>'; echo '<td class="right">'.$row['deleted'].'</td>';
echo '<td><button class="table-inline white-black caps" type="button" onclick="data_restore(\''.$row['id'].'\'); return false;">'.$lang['srv_data_deleted_restore'].'</button><td>'; echo '<td><button class="table white-black caps" type="button" onclick="data_restore(\''.$row['id'].'\'); return false;">'.$lang['srv_data_deleted_restore'].'</button></td>';
echo '</tr>'; echo '</tr>';
} }

View File

@ -8703,6 +8703,14 @@ submit.table-inline {
margin-left: 16px; margin-left: 16px;
white-space: nowrap; white-space: nowrap;
} }
button.table,
submit.table {
padding: 4px 20px;
width: fit-content;
font-size: 14px;
border-radius: 2px;
white-space: nowrap;
}
button.blue, button.blue,
submit.blue { submit.blue {
color: #FFFFFF; color: #FFFFFF;

View File

@ -36,6 +36,13 @@ submit{
margin-left: 16px; margin-left: 16px;
white-space: nowrap; white-space: nowrap;
} }
&.table{
padding: 4px 20px;
width: fit-content;
font-size: 14px;
border-radius: 2px;
white-space: nowrap;
}
// Button colors // Button colors