testiranje: avtomatski vnosi: styling

This commit is contained in:
Nejc Kovač 2022-08-25 11:42:28 +02:00
parent 11bb95a483
commit ce3685726b
3 changed files with 78 additions and 58 deletions

View File

@ -502,11 +502,11 @@ class SurveyAdminSettings {
echo '<div class="setting_item">';
echo '<input type="radio" id="defValidProfile2" name="defValidProfile" '.($row['defValidProfile']==2?' checked':'').' value="2">';
echo '<label for="defValidProfile2">'.$lang['srv_prikaz_default_valid1'].'</label>';
echo '<label for="defValidProfile2">'.'(5,6) '.$lang['srv_data_valid_units'].'</label>';
echo '</div>';
echo '<div class="setting_item">';
echo '<input type="radio" id="defValidProfile3" name="defValidProfile" '.($row['defValidProfile']==3?' checked':'').' value="3">';
echo '<label for="defValidProfile3">'.$lang['srv_prikaz_default_valid2'].'</label>';
echo '<label for="defValidProfile3">'.'(6) '.$lang['srv_data_finished_units'].'</label>';
echo '</div>';
echo '</div>';
@ -8802,7 +8802,7 @@ class SurveyAdminSettings {
echo $lang['srv_stevilo_vnosov'].':';
echo '<div class="max_wrap">';
echo '<input class="text large" type="text" name="stevilo_vnosov" value="1" onkeyup="max_stevilo_vnosov();">';
echo '<span class="gray">(max 1000)</span>';
echo '<span class="gray">(max. 1000)</span>';
echo '</div>';
echo '</div>';
@ -8822,20 +8822,22 @@ 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">';
if ($total_rows > 0) {
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) {
echo '</table>';
$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)) {

View File

@ -10174,41 +10174,43 @@ div .table-horizontal-scroll-wrapper2 table {
padding: 0px;
}
.page_num_fieldset {
#anketa_edit .page_num_fieldset {
padding-top: 0px;
padding-bottom: 0px;
margin: 12px 0px;
margin: 0px;
}
.page_num {
margin-left: 39%;
#anketa_edit .page_num {
text-align: center;
color: #333333;
position: relative;
margin: 4px 0px;
}
.table_header {
#anketa_edit .table_header {
width: 100%;
margin: 16px 0px 0px 0px;
background-color: #F8F8F8;
font-size: 16px;
font-weight: 600;
}
.table_header tr {
#anketa_edit .table_header tr {
width: 100%;
}
.table_header tr td:first-of-type {
width: 40%;
#anketa_edit .table_header tr td:first-of-type {
width: 46%;
padding-left: 16px;
}
.table_header tr td:last-of-type {
width: 60%;
#anketa_edit .table_header tr td:last-of-type {
width: 54%;
padding-left: 16px;
}
.avt_vnosi_table td:first-of-type {
width: 40%;
#anketa_edit .avt_vnosi_table {
margin: 0px;
}
.avt_vnosi_table td:last-of-type {
width: 60%;
#anketa_edit .avt_vnosi_table td:first-of-type {
width: 46%;
}
#anketa_edit .avt_vnosi_table td:last-of-type {
width: 54%;
}
/*

View File

@ -112,51 +112,67 @@ div {
border-top: 1px dashed #E5E5E5;
padding: 0px;
}
.page_num_fieldset{
padding-top: 0px;
padding-bottom: 0px;
#anketa_edit {
margin: 12px 0px;
}
.page_num_fieldset{
padding-top: 0px;
padding-bottom: 0px;
margin: 0px;
}
.page_num{
text-align: center;
color: #333333;
position: relative;
.page_num{
margin-left: 39%;
color: #333333;
position: relative;
}
.table_header{
width: 100%;
margin: 16px 0px 0px 0px;
font-size: 16px;
font-weight: 600;
tr{
margin: 4px 0px;
}
.table_header{
width: 100%;
margin: 16px 0px 0px 0px;
background-color: #F8F8F8;
font-size: 16px;
font-weight: 600;
tr{
width: 100%;
td:first-of-type {
width: 46%;
padding-left: 16px;
}
td:last-of-type {
width: 54%;
padding-left: 16px;
}
}
}
.avt_vnosi_table{
margin: 0px;
td:first-of-type {
width: 40%;
padding-left: 16px;
width: 46%;
}
td:last-of-type {
width: 60%;
padding-left: 16px;
width: 54%;
}
}
}
.avt_vnosi_table{
td:first-of-type {
width: 40%;
}
td:last-of-type {
width: 60%;
}
}