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 +

main variables

-
  • graphs

  • +
  • live data

  • @@ -50,15 +50,12 @@ $timeNow = new DateTime('now', new DateTimeZone($userTimezone)); latest data
  • - -
  • live data

  • - - +
  • config.js
  • - +
  • interface_config.js
  • diff --git a/public_html/index.php b/public_html/index.php index 7ae2bce..279b2ee 100644 --- a/public_html/index.php +++ b/public_html/index.php @@ -34,6 +34,8 @@ $allowed_urls = [ 'participants', 'components', + 'data', + 'graphs', 'latest',