testiranje --> avtomatski vnosi: prelom strani styling

This commit is contained in:
Nejc Kovač 2022-08-16 16:52:04 +02:00
parent f25ca2341c
commit b4a4fdd46c
3 changed files with 99 additions and 5 deletions

View File

@ -8940,6 +8940,15 @@ class SurveyAdminSettings {
echo '<a class="noline" href="#" onClick="delete_test_data();"><span class="faicon trash empty link-right"></span>'.$lang['srv_delete_testdata'].'</a> ('.$total_rows.')';
echo '<table class="table_header">';
echo '<tbody>';
echo '<tr>';
echo '<td> Labela </td>';
echo '<td> Veljavni odgovori (Grafični prikaz) </td>';
echo '</tr>';
echo '</tbody>';
echo '</table>';
if ($total_rows > 0) {
@ -8958,8 +8967,8 @@ class SurveyAdminSettings {
echo '</fieldset>';
}
echo '<fieldset><legend>'.$row['pagename'].'</legend>';
echo '<table>';
echo '<fieldset class="page_num_fieldset"><legend class="page_num">'.$row['pagename'].'</legend>';
echo '<table class="avt_vnosi_table">';
$prevpage = $row['gru_id'];
}

View File

@ -10152,6 +10152,42 @@ div .table-horizontal-scroll-wrapper2 table {
margin-bottom: 0;
}
.page_num_fieldset {
padding-top: 0px;
padding-bottom: 0px;
margin: 12px 0px;
}
.page_num {
margin-left: 39%;
color: #333333;
}
.table_header {
width: 100%;
margin: 0px;
font-size: 16px;
font-weight: 600;
}
.table_header tr {
width: 100%;
}
.table_header tr td:first-of-type {
width: 40%;
padding-left: 48px;
}
.table_header tr td:last-of-type {
width: 60%;
padding-left: 25px;
}
.avt_vnosi_table td:first-of-type {
width: 40%;
}
.avt_vnosi_table td:last-of-type {
width: 60%;
}
/*
Placljive vsebine
*/

View File

@ -103,3 +103,52 @@ div {
}
}
}
//testiranje --> avtomatski vnosi
.page_num_fieldset{
padding-top: 0px;
padding-bottom: 0px;
margin: 12px 0px;
}
.page_num{
margin-left: 39%;
color: #333333;
}
.table_header{
width: 100%;
margin: 0px;
font-size: 16px;
font-weight: 600;
tr{
width: 100%;
td:first-of-type {
width: 40%;
padding-left: 48px;
}
td:last-of-type {
width: 60%;
padding-left: 25px;
}
}
}
.avt_vnosi_table{
td:first-of-type {
width: 40%;
}
td:last-of-type {
width: 60%;
}
}