testiranje --> avtomatski vnosi: prelom strani styling
This commit is contained in:
parent
f25ca2341c
commit
b4a4fdd46c
@ -8910,7 +8910,7 @@ class SurveyAdminSettings {
|
||||
$sql = sisplet_query("SELECT COUNT(*) AS count FROM srv_user WHERE ank_id='$this->anketa' AND (testdata='1' OR testdata='2')");
|
||||
$row = mysqli_fetch_array($sql);
|
||||
$total_rows = $row['count'];
|
||||
|
||||
|
||||
echo '<form name="" action="ajax.php?anketa='.$this->anketa.'&a=testiranje&m=testnipodatki" method="post" onsubmit="init_progressBar(true);">';
|
||||
|
||||
echo '<fieldset><legend>'.$lang['srv_testiranje_vnosi'].'</legend>';
|
||||
@ -8940,11 +8940,20 @@ 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) {
|
||||
|
||||
|
||||
$prevpage = 0;
|
||||
|
||||
|
||||
$sql = sisplet_query("SELECT s.id, s.gru_id, s.tip, s.naslov, g.naslov AS pagename FROM srv_spremenljivka s, srv_grupa g WHERE s.gru_id=g.id AND s.visible='1' AND g.ank_id='$this->anketa' ORDER BY g.vrstni_red, s.vrstni_red");
|
||||
while ($row = mysqli_fetch_array($sql)) {
|
||||
|
||||
@ -8957,9 +8966,9 @@ class SurveyAdminSettings {
|
||||
echo '</table>';
|
||||
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'];
|
||||
}
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user