diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-04-10 15:24:29 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-04-10 15:24:29 +0300 |
commit | d52edc9a8e7226174ce87dbba94eaa2bfcce581d (patch) | |
tree | 65037eded881abad097c95ce356e01d090644675 /ncp-web | |
parent | 8f36a2f2536b0a25563ce0c29bfcbc4b61f71b00 (diff) |
docker: hide power button in ncp-web
Diffstat (limited to 'ncp-web')
-rw-r--r-- | ncp-web/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ncp-web/index.php b/ncp-web/index.php index 861c5c0c..0764f720 100644 --- a/ncp-web/index.php +++ b/ncp-web/index.php @@ -167,11 +167,16 @@ HTML; </div> </div> </a> +<?php + if ( !file_exists( '/.docker-image' ) ) + echo <<<HTML <div id="poweroff"> <div id="expand"> <div class="icon-power-white"></div> </div> </div> +HTML; +?> </div> </header> |