mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +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='') { /* {{{ */
|
function formSubmit($value, $name='') { /* {{{ */
|
||||||
echo "<div class=\"controls\">\n";
|
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";
|
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">
|
<div class="tab-pane <?php if($currenttab == 'attachments') echo 'active'; ?>" id="attachments">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$this->contentContainerStart();
|
|
||||||
|
|
||||||
if (count($files) > 0) {
|
if (count($files) > 0) {
|
||||||
|
|
||||||
print "<table class=\"table\">";
|
print "<table class=\"table\">";
|
||||||
|
@ -1350,10 +1348,12 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
print "</tbody>\n</table>\n";
|
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){
|
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();
|
$this->contentContainerEnd();
|
||||||
?>
|
?>
|
||||||
|
@ -1394,7 +1394,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
print "</tbody>\n</table>\n";
|
print "</tbody>\n</table>\n";
|
||||||
}
|
}
|
||||||
else printMLText("no_linked_files");
|
else $this->infoMsg(getMLText("no_linked_files"));
|
||||||
|
|
||||||
if (!$user->isGuest()){
|
if (!$user->isGuest()){
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user