diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 8d3f18f8..dba86cb1 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -3647,7 +3647,8 @@ class htmlResponsiveRow extends htmlElement { */ public function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) { $return = array(); - echo '
'; + $cssClasses = implode(' ', $this->cssClasses); + echo '
'; foreach ($this->cells as $cell) { $return = array_merge($return, $cell->generateHTML($module, $input, $values, $restricted, $tabindex, $scope)); } @@ -4109,6 +4110,9 @@ class htmlResponsiveTable extends htmlElement { /** htmlElement[][] data rows */ private $data; + /** widthes of the columns */ + private $widths = array(); + /** * Creates the table. * @@ -4129,8 +4133,14 @@ class htmlResponsiveTable extends htmlElement { echo ''; echo ''; echo ''; + $counter = 0; foreach ($this->titles as $title) { - echo ''; + $width = ''; + if (isset($this->widths[$counter])) { + $width = 'width="' . $this->widths[$counter] . '"'; + } + echo ''; + $counter++; } echo ''; echo ''; @@ -4151,7 +4161,9 @@ class htmlResponsiveTable extends htmlElement { return $return; } - + public function setWidths($widths) { + $this->widths = $widths; + } } diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index 53970208..16195965 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -389,6 +389,11 @@ div.ui-progressbar-value { background-image: url(images/pbar-ani.gif); } +div.jobList { + overflow: scroll; + max-height: 50rem; +} + .fullwidth { width: 100%; } diff --git a/lam/style/responsive/120_lam.css b/lam/style/responsive/120_lam.css index b2666f01..816729eb 100644 --- a/lam/style/responsive/120_lam.css +++ b/lam/style/responsive/120_lam.css @@ -61,6 +61,10 @@ table.padding5 td { padding: 0.5rem; } +.maxrow { + max-width: none; +} + table.responsive-table { margin-top: 1rem; table-layout: fixed; @@ -74,6 +78,7 @@ table.responsive-table th { table.responsive-table td { overflow: hidden; + vertical-align: top; } /* mobile */
' . htmlspecialchars($title) . '' . htmlspecialchars($title) . '