Redesign - tabela s podatki

This commit is contained in:
pero1203 2022-03-03 12:23:04 +01:00
parent 1d83518858
commit b421d1271f
3 changed files with 175 additions and 167 deletions

View File

@ -1429,7 +1429,7 @@ class SurveyDataDisplay{
echo '<table id="dataTable" class="scrollTable no_wrap_td'.$cssEdit.'" '.(self::$_VARS[VAR_EDIT]?' title="'.$lang['srv_edit_data_title'].'"':'').'>';
// Nastavimo colgroup, da na njega vezemo vse sirine v tabeli, zaradi resizinga stolpcev
echo '<colgroup>';
/*echo '<colgroup>';
# colspan za ikonce
if ($stolpci > 0) {
echo '<col class="data_edit"'.($stolpci > 1 ? (' span="'.$stolpci.'"') : '').'>';
@ -1464,7 +1464,7 @@ class SurveyDataDisplay{
}
}
echo '</colgroup>';
echo '</colgroup>';*/
echo '<thead class="fixedHeader">';
echo '<tr>';

View File

@ -15507,13 +15507,25 @@ dl.arch_email dd {
margin-top: 8px;
}
#div_vnosi_data table#dataTable {
#div_vnosi_data #tableContainer {
overflow-x: auto;
}
#div_vnosi_data #tableContainer table#dataTable {
table-layout: fixed;
width: 0px;
padding: 0px;
margin: 0px;
border-collapse: collapse;
border-spacing: 0px;
/*colgroup{
col {
width: 100px;
&.data_edit {
width: 23px;
}
}
}*/
/*.dataCell {
position: relative;
white-space: nowrap;
@ -15624,13 +15636,7 @@ dl.arch_email dd {
}
}*/
}
#div_vnosi_data table#dataTable colgroup col {
width: 100px;
}
#div_vnosi_data table#dataTable colgroup col.data_edit {
width: 23px;
}
#div_vnosi_data table#dataTable thead tr th {
#div_vnosi_data #tableContainer table#dataTable thead tr th {
padding: 16px;
overflow: hidden;
white-space: nowrap;
@ -15639,7 +15645,7 @@ dl.arch_email dd {
background: #F8F8F8;
border: 1px solid #E5E5E5;
}
#div_vnosi_data table#dataTable tbody tr td {
#div_vnosi_data #tableContainer table#dataTable tbody tr td {
box-sizing: border-box;
height: 40px;
padding: 0 16px;

View File

@ -2,9 +2,11 @@
//width: 100%;
//overflow-y: auto;
#tableContainer{
overflow-x: auto;
table#dataTable {
table-layout: fixed;
width: 0px;
padding: 0px;
margin: 0px;
@ -12,8 +14,7 @@
border-collapse: collapse;
border-spacing: 0px;
colgroup{
/*colgroup{
col {
width: 100px;
@ -22,7 +23,7 @@
width: 23px;
}
}
}
}*/
thead{
@ -172,3 +173,4 @@
}*/
}
}
}