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>
<br>
<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">
<?php

View File

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

View File

@ -1042,7 +1042,7 @@ class accountContainer {
echo '<div id="passwordMessageArea"></div>';
echo "<table class=\"".$this->type->getScope()."-bright\" border=0 width=\"100%\" style=\"border-collapse: collapse;\">\n";
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);
echo "</td></tr>\n";
}

View File

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

View File

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