Skip to content

Commit

Permalink
Add NEMS Server Overview to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Nov 28, 2018
1 parent 3ed6472 commit d1c791a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions config/index.php
Expand Up @@ -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>';
Expand Down
1 change: 1 addition & 0 deletions inc/header.php
Expand Up @@ -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>
Expand Down

0 comments on commit d1c791a

Please sign in to comment.