save some space on screen

This commit is contained in:
Roland Gruber 2019-11-07 17:21:59 +01:00
parent c05d07d8f5
commit eddbc27d3d
5 changed files with 12 additions and 13 deletions

View File

@ -193,7 +193,6 @@ jQuery(document).ready(function() {
}); });
</script> </script>
<br>
<div class="ui-tabs ui-corner-all ui-widget ui-widget-content"> <div class="ui-tabs ui-corner-all ui-widget ui-widget-content">
<ul class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header"> <ul class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header">
<?php <?php

View File

@ -196,19 +196,15 @@ class lamList {
if (sizeof($this->entries) > 0) { if (sizeof($this->entries) > 0) {
// buttons // buttons
$this->listPrintButtons(false); $this->listPrintButtons(false);
echo "<br>\n";
// navigation bar // navigation bar
$this->listDrawNavigationBar(sizeof($this->entries)); $this->listDrawNavigationBar(sizeof($this->entries));
echo "<br>\n";
$this->printAccountTable($this->entries); $this->printAccountTable($this->entries);
} }
else { else {
// buttons // buttons
$this->listPrintButtons(true); $this->listPrintButtons(true);
echo "<br>\n";
// navigation bar // navigation bar
$this->listDrawNavigationBar(sizeof($this->entries)); $this->listDrawNavigationBar(sizeof($this->entries));
echo "<br>\n";
$accounts = array(); $accounts = array();
$this->printAccountTable($accounts); $this->printAccountTable($accounts);
echo "</table><br>\n"; echo "</table><br>\n";
@ -854,7 +850,7 @@ class lamList {
*/ */
protected function listPrintButtons($createOnly) { protected function listPrintButtons($createOnly) {
$row = new htmlResponsiveRow(); $row = new htmlResponsiveRow();
$row->setCSSClasses(array('maxrow')); $row->setCSSClasses(array('maxrow lam-list-buttons'));
$left = new htmlGroup(); $left = new htmlGroup();
// button part // button part
if (checkIfWriteAccessIsAllowed($this->type->getId())) { if (checkIfWriteAccessIsAllowed($this->type->getId())) {

View File

@ -1042,7 +1042,7 @@ class accountContainer {
echo '<div id="passwordMessageArea"></div>'; echo '<div id="passwordMessageArea"></div>';
echo "<table class=\"".$this->type->getScope()."-bright\" border=0 width=\"100%\" style=\"border-collapse: collapse;\">\n"; echo "<table class=\"".$this->type->getScope()."-bright\" border=0 width=\"100%\" style=\"border-collapse: collapse;\">\n";
if (checkIfWriteAccessIsAllowed($this->type->getId())) { if (checkIfWriteAccessIsAllowed($this->type->getId())) {
echo "<tr class=\"" . $this->type->getScope() . "-bright\"><td style=\"padding: 15px 15px 0px 15px;\">\n"; echo "<tr class=\"" . $this->type->getScope() . "-bright\"><td style=\"padding: 5px 0px 0px 0px;\">\n";
$this->printCommonControls($tabindex); $this->printCommonControls($tabindex);
echo "</td></tr>\n"; echo "</td></tr>\n";
} }

View File

@ -44,7 +44,7 @@ body.selfservice {
} }
body.admin { body.admin {
padding: 10px; padding: 0px 10px 10px 10px;
} }
body.lam-selfservice { body.lam-selfservice {
@ -226,7 +226,7 @@ textarea {
table.lamHeader { table.lamHeader {
background-image: url(lam-images/headerLine.png); background-image: url(lam-images/headerLine.png);
padding: 0px; padding: 0px 0px 0.5rem 0px;
height: 35px; height: 35px;
} }
@ -259,6 +259,10 @@ table.accountlist input[type='text'] {
width: 125px; width: 125px;
} }
.lam-list-buttons {
padding-bottom: 0.5rem;
}
table.collapse { table.collapse {
border-collapse:collapse; border-collapse:collapse;
} }

View File

@ -103,8 +103,8 @@ table.responsive-table {
table.responsive-table th { table.responsive-table th {
text-align: left; text-align: left;
padding-bottom: 0.5rem; padding-bottom: 0.4rem;
padding-top: 0.5rem; padding-top: 0.4rem;
padding-right: 0.3rem; padding-right: 0.3rem;
padding-left: 0.3rem; padding-left: 0.3rem;
white-space: nowrap; white-space: nowrap;
@ -113,8 +113,8 @@ table.responsive-table th {
table.responsive-table td { table.responsive-table td {
overflow: hidden; overflow: hidden;
vertical-align: top; vertical-align: top;
padding-bottom: 0.5rem; padding-bottom: 0.3rem;
padding-top: 0.5rem; padding-top: 0.3rem;
padding-right: 0.3rem; padding-right: 0.3rem;
padding-left: 0.3rem; padding-left: 0.3rem;
word-break: break-all; word-break: break-all;