Add sidebar item, template stubs + page actions

This commit is contained in:
billz
2024-02-19 10:08:29 +01:00
parent bf41d88340
commit 4e258b3981
7 changed files with 74 additions and 0 deletions

18
includes/restapi.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
require_once 'includes/functions.php';
require_once 'config.php';
/**
* Handler for RaspAP's RestAPI settings
*/
function DisplayRestAPI()
{
$status = new \RaspAP\Messages\StatusMessage;
echo renderTemplate("restapi", compact(
"status",
"apiKey",
));
}