add class 'table-sm' to all tables

This commit is contained in:
Uwe Steinmann 2021-05-02 08:08:11 +02:00
parent 8773195f2a
commit f0fc1bfcc3

View File

@ -37,7 +37,7 @@ require_once("SeedDMS/Preview.php");
class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style { class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
protected function printListHeader($resArr, $previewer, $order=false) { /* {{{ */ protected function printListHeader($resArr, $previewer, $order=false) { /* {{{ */
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th></th>\n"; print "<th></th>\n";
if($order) { if($order) {
@ -105,7 +105,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
if($repair) { if($repair) {
echo "<div class=\"alert\">".getMLText('repairing_objects')."</div>"; echo "<div class=\"alert\">".getMLText('repairing_objects')."</div>";
} }
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th></th>\n"; print "<th></th>\n";
print "<th>".getMLText("name")."</th>\n"; print "<th>".getMLText("name")."</th>\n";
@ -167,7 +167,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText("unlinked_folders")); $this->contentHeading(getMLText("unlinked_folders"));
if($unlinkedfolders) { if($unlinkedfolders) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("name")."</th>\n"; print "<th>".getMLText("name")."</th>\n";
print "<th>".getMLText("id")."</th>\n"; print "<th>".getMLText("id")."</th>\n";
@ -196,7 +196,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText("unlinked_documents")); $this->contentHeading(getMLText("unlinked_documents"));
if($unlinkeddocuments) { if($unlinkeddocuments) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("name")."</th>\n"; print "<th>".getMLText("name")."</th>\n";
print "<th>".getMLText("id")."</th>\n"; print "<th>".getMLText("id")."</th>\n";
@ -230,7 +230,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
} }
if($unlinkedcontent) { if($unlinkedcontent) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("document")."</th>\n"; print "<th>".getMLText("document")."</th>\n";
print "<th>".getMLText("version")."</th>\n"; print "<th>".getMLText("version")."</th>\n";
@ -263,7 +263,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText("missing_filesize")); $this->contentHeading(getMLText("missing_filesize"));
if($nofilesizeversions) { if($nofilesizeversions) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("document")."</th>\n"; print "<th>".getMLText("document")."</th>\n";
print "<th>".getMLText("version")."</th>\n"; print "<th>".getMLText("version")."</th>\n";
@ -307,7 +307,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText("missing_checksum")); $this->contentHeading(getMLText("missing_checksum"));
if($nochecksumversions) { if($nochecksumversions) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("document")."</th>\n"; print "<th>".getMLText("document")."</th>\n";
print "<th>".getMLText("version")."</th>\n"; print "<th>".getMLText("version")."</th>\n";
@ -350,7 +350,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText("wrong_filetype")); $this->contentHeading(getMLText("wrong_filetype"));
if($wrongfiletypeversions) { if($wrongfiletypeversions) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("document")."</th>\n"; print "<th>".getMLText("document")."</th>\n";
print "<th>".getMLText("version")."</th>\n"; print "<th>".getMLText("version")."</th>\n";
@ -393,7 +393,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText("duplicate_content")); $this->contentHeading(getMLText("duplicate_content"));
if($duplicateversions) { if($duplicateversions) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("document")."</th>\n"; print "<th>".getMLText("document")."</th>\n";
print "<th>".getMLText("version")."</th>\n"; print "<th>".getMLText("version")."</th>\n";
@ -476,7 +476,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
$this->contentHeading(getMLText($process."s_without_".$ug)); $this->contentHeading(getMLText($process."s_without_".$ug));
if($processwithoutusergroup[$process][$ug]) { if($processwithoutusergroup[$process][$ug]) {
print "<table class=\"table table-condensed\">"; print "<table class=\"table table-condensed table-sm\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th>".getMLText("process")."</th>\n"; print "<th>".getMLText("process")."</th>\n";
print "<th>".getMLText("user_group")."</th>\n"; print "<th>".getMLText("user_group")."</th>\n";