set width of column for preview image to width of preview

This commit is contained in:
Uwe Steinmann 2015-06-24 17:28:17 +02:00
parent e158a873f5
commit 7ed7ae01ca

View File

@ -367,14 +367,14 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
$this->contentContainerStart(); $this->contentContainerStart();
print "<table class=\"table\">"; print "<table class=\"table\">";
print "<thead>\n<tr>\n"; print "<thead>\n<tr>\n";
print "<th width='*'></th>\n"; print "<th style=\"width:".$previewwidthdetail."px;\"></th>\n";
print "<th width='*'>".getMLText("file")."</th>\n"; print "<th width='*'>".getMLText("file")."</th>\n";
print "<th width='25%'>".getMLText("comment")."</th>\n"; print "<th width='25%'>".getMLText("comment")."</th>\n";
print "<th width='15%'>".getMLText("status")."</th>\n"; print "<th width='15%'>".getMLText("status")."</th>\n";
print "<th width='20%'></th>\n"; print "<th width='25%'></th>\n";
print "</tr></thead><tbody>\n"; print "</tr></thead><tbody>\n";
print "<tr>\n"; print "<tr>\n";
print "<td>"; print "<td style=\"width:".$previewwidthdetail."px;\">";
/* /*
print "<ul class=\"actions unstyled\">"; print "<ul class=\"actions unstyled\">";