add path to documentListRow, make column for form wider

This commit is contained in:
Uwe Steinmann 2021-04-27 17:06:19 +02:00
parent 43a280bc6d
commit 734ff7d33f

View File

@ -48,7 +48,7 @@ class SeedDMS_View_Timeline extends SeedDMS_Theme_Style {
if($document && $version) { if($document && $version) {
// $this->contentHeading(getMLText("timeline_selected_item")); // $this->contentHeading(getMLText("timeline_selected_item"));
print "<table id=\"viewfolder-table\" class=\"table table-condensed\">"; print "<table id=\"viewfolder-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";
@ -56,7 +56,9 @@ class SeedDMS_View_Timeline extends SeedDMS_Theme_Style {
print "<th>".getMLText("action")."</th>\n"; print "<th>".getMLText("action")."</th>\n";
print "</tr>\n</thead>\n<tbody>\n"; print "</tr>\n</thead>\n<tbody>\n";
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidthdetail, $timeout, $xsendfile); $previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidthdetail, $timeout, $xsendfile);
echo $this->documentListRow($document, $previewer); $extracontent = array();
$extracontent['below_title'] = $this->getListRowPath($document);
echo $this->documentListRow($document, $previewer, 0, false, $extracontent);
echo "</tbody>\n</table>\n"; echo "</tbody>\n</table>\n";
} }
@ -230,11 +232,11 @@ div.timeline-event-selected {
$this->pageNavigation(getMLText("admin_tools"), "admin_tools"); $this->pageNavigation(getMLText("admin_tools"), "admin_tools");
$this->rowStart(); $this->rowStart();
$this->columnStart(3); $this->columnStart(4);
$this->contentHeading(getMLText("timeline")); $this->contentHeading(getMLText("timeline"));
$this->contentContainerStart(); $this->contentContainerStart();
?> ?>
<form action="../out/out.Timeline.php" class="form form-inline" name="form1" id="form1"> <form action="../out/out.Timeline.php" class="form form-horizontal" name="form1" id="form1">
<?php <?php
$this->formField( $this->formField(
getMLText("from"), getMLText("from"),
@ -263,7 +265,7 @@ div.timeline-event-selected {
$this->contentContainerEnd(); $this->contentContainerEnd();
echo "<div class=\"ajax\" data-view=\"Timeline\" data-action=\"iteminfo\" ></div>"; echo "<div class=\"ajax\" data-view=\"Timeline\" data-action=\"iteminfo\" ></div>";
$this->columnEnd(); $this->columnEnd();
$this->columnStart(9); $this->columnStart(8);
$this->contentHeading(getMLText("timeline")); $this->contentHeading(getMLText("timeline"));
$this->printTimelineHtml(550); $this->printTimelineHtml(550);
$this->columnEnd(); $this->columnEnd();