mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Merge pull request #1157 from laf/issue-1138
When bare=yes is specified, enable more of a full screen look
This commit is contained in:
+5
-1
@@ -174,6 +174,10 @@ if ((isset($vars['bare']) && $vars['bare'] != "yes") || !isset($vars['bare'])) {
|
|||||||
{
|
{
|
||||||
include("includes/print-menubar.php");
|
include("includes/print-menubar.php");
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
echo "<style>body { padding-top: 0px !important;
|
||||||
|
padding-bottom: 0px !important; }</style>";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -270,7 +274,7 @@ if (isset($pagetitle) && is_array($pagetitle))
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if($config['enable_footer'] == 1) {
|
if($config['enable_footer'] == 1 && (isset($vars['bare']) && $vars['bare'] != "yes")) {
|
||||||
?>
|
?>
|
||||||
<nav class="navbar navbar-default <?php echo $navbar; ?> navbar-fixed-bottom">
|
<nav class="navbar navbar-default <?php echo $navbar; ?> navbar-fixed-bottom">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
Reference in New Issue
Block a user