mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Disables console when monitor mode is enabled. Thanks @sedgett
This commit is contained in:
parent
f8b1f407f7
commit
b4836bf304
@ -92,11 +92,12 @@ if ($cpuload > 90) {
|
|||||||
<input type="submit" class="btn btn-outline btn-primary" name="SaveLanguage" value="<?php echo _("Save settings"); ?>" />
|
<input type="submit" class="btn btn-outline btn-primary" name="SaveLanguage" value="<?php echo _("Save settings"); ?>" />
|
||||||
<a href="?page=<?php echo $_GET['page'] ?>" class="btn btn-outline btn-primary"><i class="fas fa-sync-alt"></i> <?php echo _("Refresh") ?></a>
|
<a href="?page=<?php echo $_GET['page'] ?>" class="btn btn-outline btn-primary"><i class="fas fa-sync-alt"></i> <?php echo _("Refresh") ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div role="tabpanel" class="tab-pane" id="console">
|
<div role="tabpanel" class="tab-pane" id="console">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12 mt-3">
|
<div class="col-lg-12 mt-3">
|
||||||
|
<?php if (!RASPI_MONITOR_ENABLED) : ?>
|
||||||
<iframe src="includes/webconsole.php" class="webconsole"></iframe>
|
<iframe src="includes/webconsole.php" class="webconsole"></iframe>
|
||||||
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user