mirror of https://github.com/mikaku/Monitorix.git
Merge pull request #341 from bachandi/mainmenubutton
Add config option to show a main menu button.
This commit is contained in:
commit
de6d9e19c8
|
@ -499,6 +499,10 @@ EOF
|
|||
push(@output, " <table class='cgi-header-table' >\n");
|
||||
push(@output, " <tr>\n");
|
||||
|
||||
if(lc($config{enable_mainmenu_button} || "") eq "y") {
|
||||
push(@output, " <span style='color:#888888;position:fixed;left:3em;font-size:32px;letter-spacing:-1px;'><a href='" . $config{url} . "/index.html' style='text-decoration:none;'>⌂</a>\n");
|
||||
}
|
||||
|
||||
if(lc($config{enable_back_button} || "") eq "y") {
|
||||
push(@output, " <span style='color:#888888;position:fixed;left:1em;font-size:32px;letter-spacing:-1px;'><a href='javascript:history.back()' style='text-decoration:none;'>◀</a>\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue