Platforms edit code

main
Yasen Pramatarov 2024-08-18 22:12:45 +03:00
parent 3a5eed933e
commit 3abafe2de7
4 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,15 @@
<?php <?php
include('../app/templates/widget-config.php'); $action = $_REQUEST['action'] ?? '';
switch ($action) {
case 'edit':
include('../app/templates/config-edit-platform.php');
break;
default:
include('../app/templates/config-list.php');
}
?> ?>

View File

@ -0,0 +1,4 @@
<?php
?>

View File

@ -19,7 +19,7 @@
<li style="margin-right: 0px;"><a style="background-color: #111;" href="?platform=0&page=front">meet.example.com</a></li> <li style="margin-right: 0px;"><a style="background-color: #111;" href="?platform=0&page=front">meet.example.com</a></li>
<li style="margin: 0px; padding: 0px;"> <li style="margin: 0px; padding: 0px;">
<a style="background-color: #555; padding-left: 3px; padding-right: 3px;" href="?platform=0&page=config&action=edit"> <a style="background-color: #555; padding-left: 3px; padding-right: 3px;" href="?platform=0&page=config&action=edit">
<i class="fas fa-wrench" data-toggle="tooltip" data-placement="right" data-offset="30.0" title="configuration"></i> <i class="fas fa-wrench" data-toggle="tooltip" data-placement="right" data-offset="30.0" title="configure platform &quot;meet.example.com&quot;"></i>
</a> </a>
</li> </li>