Skip to content
Permalink
Browse files

Several updates for Docker compatibility

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 26, 2019
1 parent 167b425 commit d2593a6b3f95f1a7be2011ebbe1950fd52263ef7
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/header.php
@@ -149,7 +149,7 @@ function resizeIframe(obj) {

<ul class="dropdown-menu">
<?php if (checkConfEnabled('monitorix')) { echo '<li><a href="/monitorix/">Monitorix</a></li>'; } ?>
<?php if (ver('nems') >= 1.4) echo '<li><a href="https://' . $self->host . ':9090" target="_blank">Cockpit</a></li>'; ?>
<?php if (ver('nems') >= 1.4 && ver('platform')->num != 21) echo '<li><a href="https://' . $self->host . ':9090" target="_blank">Cockpit</a></li>'; ?>
<?php if ((ver('platform')->num < 10) && checkConfEnabled('rpi-monitor')) { echo '<li><a href="http://' . $self->host . ':8888" target="_blank">RPi-Monitor</a></li>'; } ?>
<?php if (ver('nems') <= 1.4 && checkConfEnabled('webmin')) { echo '<li><a href="https://' . $self->host . ':10000" target="_blank">Webmin</a></li>'; } ?>
<?php if (ver('nems') >= 1.3) echo '<li><a href="https://' . $self->host . ':2812" target="_blank"><em>monit</em> Service Monitor</a></li>'; ?>

0 comments on commit d2593a6

Please sign in to comment.
You can’t perform that action at this time.