Add remote access feature and UI improvements

- Implement `remoteAccess` functionality in `ApiCLI` for Veyon integration.
- Create `selectIP.php` view and associated form for remote access inputs.
- Add JSON configuration for lab setups (`labList.json`).
- Introduce reusable `home-button` web component.
- Update project router and controller to support new `/remoteAccess` and `/conn` routes.
- Add custom styles and icons to enhance UI.
This commit is contained in:
Sapoleone
2025-09-25 00:26:42 +02:00
parent cfaafcffa6
commit 93dd389437
17 changed files with 432 additions and 8 deletions

View File

@@ -9,9 +9,12 @@
define( 'BASE_PATH', dirname( __DIR__ ) );
session_start();
const URL_PATH = "https://project16.test";
const COMMON_HTML_HEAD = BASE_PATH . '/public/commons/head.php';
const COMMON_HTML_FOOT = BASE_PATH . '/public/commons/bottom_navigation.php';
const URL_PATH = "http://project16.test";
const COMMON_HTML_HEAD = BASE_PATH . '/public/commons/php/head.php';
const COMMON_HTML_FOOT = BASE_PATH . '/public/commons/php/bottom_navigation.php';
const PROJECT_NAME = "Project 16";
const EXE_NAME = "veyon-cli";
const THEME = ( 0 ) ? 'light' : 'dark';
@@ -20,6 +23,7 @@ require_once BASE_PATH . '/Router.php';
require_once BASE_PATH . '/public/functions.php';
// require_once BASE_PATH . '/public/commons/php/session_wall.php';
require_once BASE_PATH . '/app/controllers/Controller.php';
require_once BASE_PATH . '/app/models/ApiCLI.php';
// checkSessionExpiration();