Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-04-10 15:24:29 +0300
committernachoparker <nacho@ownyourbits.com>2018-04-10 15:24:29 +0300
commitd52edc9a8e7226174ce87dbba94eaa2bfcce581d (patch)
tree65037eded881abad097c95ce356e01d090644675 /ncp-web
parent8f36a2f2536b0a25563ce0c29bfcbc4b61f71b00 (diff)
docker: hide power button in ncp-web
Diffstat (limited to 'ncp-web')
-rw-r--r--ncp-web/index.php5
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>