From 93a65c0836efe231cb51d8d0c1f7d3c403c6a37e Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Mon, 28 Oct 2024 11:20:09 +0200 Subject: [PATCH] Initial rewrite of config pages, adds data page --- app/pages/data.php | 33 +++++++++++++++++++++++++++++++++ app/templates/config-list.php | 9 ++++++++- app/templates/page-sidebar.php | 9 +++------ public_html/index.php | 2 ++ 4 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 app/pages/data.php diff --git a/app/pages/data.php b/app/pages/data.php new file mode 100644 index 0000000..8896c95 --- /dev/null +++ b/app/pages/data.php @@ -0,0 +1,33 @@ +getPlatformConfigjs($platformDetails[0]['jitsi_url'], $raw); + include '../app/templates/config-list-configjs.php'; + break; + + case 'interfaceconfigjs': + $mode = $_REQUEST['mode'] ?? ''; + $raw = ($mode === 'raw'); + $platformInterfaceConfigjs = $configObject->getPlatformInterfaceConfigjs($platformDetails[0]['jitsi_url'], $raw); + include '../app/templates/config-list-interfaceconfigjs.php'; + break; + + default: + } + +?> diff --git a/app/templates/config-list.php b/app/templates/config-list.php index 7b9c7f9..a0ea0cc 100644 --- a/app/templates/config-list.php +++ b/app/templates/config-list.php @@ -1,7 +1,14 @@
-

Jilo web configuration

+

Jilo configuration

+

+ platforms + hosts + endpoints +    + config file +