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:
-rw-r--r--ncp-web/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/ncp-web/index.php b/ncp-web/index.php
index fc909a68..e43addfb 100644
--- a/ncp-web/index.php
+++ b/ncp-web/index.php
@@ -214,11 +214,17 @@ HTML;
</div>
</div>
</a>
+ <?php
+ // Skip section in docker container
+ if ( !file_exists( '/.docker-image' ) )
+ echo <<<HTML
<div id="poweroff" title="<?php echo $l->__("Power Off"); ?>">
<div class="expand">
<div class="icon-power-white"></div>
</div>
</div>
+HTML
+?>
</div>
</header>