Permalink
Browse files

Add NEMS Server Overview to menu

  • Loading branch information...
NEMS Linux
NEMS Linux committed Nov 28, 2018
1 parent 3ed6472 commit d1c791abe9a4941042bc9d19a0bc3911935f86ed
Showing with 1 addition and 2 deletions.
  1. +0 −2 config/index.php
  2. +1 −0 inc/header.php
@@ -144,8 +144,6 @@ function sanitize($string) {

<div class="container" style="margin-top: 100px; padding-bottom: 100px;">
<h2><b>NEMS</b> <b>S</b>ystem <b>S</b>ettings <b>T</b>ool</h2>
<p style="padding:4px 6px; color: #aaa !important;"><b>Your NEMS Hardware ID:</b> <span class="nems-green"><?= shell_exec('/usr/local/bin/nems-info hwid'); ?></span></p>


<?php
if (strlen($response) > 0) echo '<div class="col-md-12 alert alert-danger fade in">' . $response . '</div>';
@@ -88,6 +88,7 @@ function resizeIframe(obj) {
Configuration
</a>
<ul class="dropdown-menu">
<?php if (ver('nems') >= 1.3) echo '<li><a href="https://' . $self->host . '/info/">NEMS Server Overview</a></li>'; ?>
<?php if (ver('nems') >= 1.3) echo '<li><a href="https://' . $self->host . '/config/">NEMS System Settings Tool</a></li>'; ?>
<li><a href="/nconf/" target="_blank">NEMS Configurator (NConf)</a></li>
</ul>

0 comments on commit d1c791a

Please sign in to comment.