From e110619835367b591eb034ecd5f939998a01acad Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Mon, 30 Sep 2024 12:22:53 +0300 Subject: [PATCH] Small bugfixes --- app/pages/config.php | 2 +- app/templates/agent-list.php | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/pages/config.php b/app/pages/config.php index adf8004..5c6a035 100644 --- a/app/pages/config.php +++ b/app/pages/config.php @@ -151,7 +151,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { if ($userObject->hasRight($user_id, 'view config file')) { include '../app/templates/config-list.php'; } else { - include '../app/templates/unauthorized.php'; + include '../app/templates/error-unauthorized.php'; } } } diff --git a/app/templates/agent-list.php b/app/templates/agent-list.php index 3920f2c..b4ac278 100644 --- a/app/templates/agent-list.php +++ b/app/templates/agent-list.php @@ -4,11 +4,15 @@

Jilo Agents on platform ()

-

- agent id: type , url +

+ agent id: + agent type: () +
+ endpoint: +
-

+

Result:

click a button to fetch data from the agent.