- 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.
54 lines
1.7 KiB
PHP
54 lines
1.7 KiB
PHP
<?php
|
|
$name = '';
|
|
if(isset($_GET['name']) && $_GET['name']) {
|
|
$name = " " . $_GET['name'];
|
|
}
|
|
?>
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Project 16 - Dashboard</title>
|
|
<?php include COMMON_HTML_HEAD; ?>
|
|
<script src="<?=URL_PATH?>/commons/components/button.js"></script>
|
|
</head>
|
|
<style>
|
|
.title-bar {
|
|
font-size: 50px;
|
|
font-weight: bold;
|
|
padding: 10px 10px 10px 20px;
|
|
background-color: var(--kashmir);
|
|
color: var(--gray);
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
& a {
|
|
border-radius: 1em;
|
|
padding: 10px;
|
|
|
|
& > img {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
<body>
|
|
<div class="title-bar">
|
|
<div><?=PROJECT_NAME?></div>
|
|
<div>
|
|
<a href="" class="btn btn-light">
|
|
<img src="<?=URL_PATH?>/assets/icons/hamburger.svg" alt="">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<home-button main-href="remoteAccess" icon-src="<?=URL_PATH?>/assets/icons/placeholder.svg" text="Accesso Remoto"></home-button>
|
|
<home-button main-href="a" icon-src="<?=URL_PATH?>/assets/icons/placeholder.svg" text="Features" ></home-button>
|
|
<home-button main-href="a" icon-src="<?=URL_PATH?>/assets/icons/placeholder.svg" text="Get Token" ></home-button>
|
|
</div>
|
|
</body>
|
|
</html>
|