mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
minor layout improvements
This commit is contained in:
parent
d1b3b00815
commit
440f327bad
|
@ -943,7 +943,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
|
||||
function formSubmit($value, $name='') { /* {{{ */
|
||||
echo "<div class=\"controls\">\n";
|
||||
echo "<button type=\"submit\" class=\"btn\"".($name ? ' name="'.$name.'" id="'.$name.'"' : '').">".$value."</button>\n";
|
||||
echo "<button type=\"submit\" class=\"btn btn-primary\"".($name ? ' name="'.$name.'" id="'.$name.'"' : '').">".$value."</button>\n";
|
||||
echo "</div>\n";
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
@ -1278,8 +1278,6 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
<div class="tab-pane <?php if($currenttab == 'attachments') echo 'active'; ?>" id="attachments">
|
||||
<?php
|
||||
|
||||
$this->contentContainerStart();
|
||||
|
||||
if (count($files) > 0) {
|
||||
|
||||
print "<table class=\"table\">";
|
||||
|
@ -1350,10 +1348,12 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
print "</tbody>\n</table>\n";
|
||||
|
||||
}
|
||||
else printMLText("no_attached_files");
|
||||
else $this->infoMsg(getMLText("no_attached_files"));
|
||||
|
||||
$this->contentContainerStart();
|
||||
|
||||
if ($document->getAccessMode($user) >= M_READWRITE){
|
||||
print "<ul class=\"unstyled\"><li><a href=\"../out/out.AddFile.php?documentid=".$documentid."\" class=\"btn\">".getMLText("add")."</a></ul>\n";
|
||||
print "<a href=\"../out/out.AddFile.php?documentid=".$documentid."\" class=\"btn btn-primary\">".getMLText("add")."</a>\n";
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
?>
|
||||
|
@ -1394,7 +1394,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
print "</tbody>\n</table>\n";
|
||||
}
|
||||
else printMLText("no_linked_files");
|
||||
else $this->infoMsg(getMLText("no_linked_files"));
|
||||
|
||||
if (!$user->isGuest()){
|
||||
$this->contentContainerStart();
|
||||
|
|
Loading…
Reference in New Issue
Block a user