nexus basic

This commit is contained in:
2026-06-04 22:07:25 +02:00
parent aa7ec1d321
commit 3c1cc30fe9
11 changed files with 1222 additions and 197 deletions

View File

@@ -1,10 +1,10 @@
<?php
declare(strict_types=1);
require_auth();
require_admin();
$service = dashboards();
$ownerKey = auth_user_key();
$ownerKey = 'system';
$notice = null;
$error = null;
@@ -39,19 +39,21 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$integrations = $service->listIntegrationsForOwner($ownerKey);
$GLOBALS['layout_header_base_title'] = 'Nexus';
$GLOBALS['layout_header_title'] = 'Nexus';
$GLOBALS['layout_header_base_title'] = 'Nexus Setup';
$GLOBALS['layout_header_title'] = 'Nexus Setup';
$GLOBALS['layout_header_context'] = 'Integrationen';
$GLOBALS['layout_header_text'] = 'Zentrale Anbindungen an externe Systeme, getrennt vom klassischen Modulsystem.';
$GLOBALS['layout_header_text'] = 'Globale Integrationen für spätere Widgets, Apps und Suchfunktionen.';
?>
<div class="module-shell"><div class="module-page-bg"><div class="module-page-stack">
<header class="module-hero submenu-box">
<div class="module-hero-top module-hero-top--compact">
<nav class="module-tabs" aria-label="Integration Navigation">
<a class="module-button module-button--tab" href="/dashboard">Dashboard</a>
<a class="module-button module-button--tab" href="/dashboards">Dashboards</a>
<nav class="module-tabs" aria-label="Nexus Setup Navigation">
<a class="module-button module-button--tab" href="/settings">Allgemein</a>
<a class="module-button module-button--tab" href="/settings/widgets">Widgets</a>
<a class="module-button module-button--tab-active" href="/integrations">Integrationen</a>
<a class="module-button module-button--tab" href="/page-modules">Seitenmodule</a>
<a class="module-button module-button--tab" href="/settings/search-engines">Suchmaschinen</a>
<a class="module-button module-button--tab" href="/settings/apps">Apps</a>
<a class="module-button module-button--tab" href="/dashboards">Dashboards</a>
</nav>
<div class="module-hero-actions module-submenu-actions">
<a class="module-button module-button--secondary module-button--small" href="/">Nexus Übersicht</a>
@@ -93,7 +95,6 @@ $GLOBALS['layout_header_text'] = 'Zentrale Anbindungen an externe Systeme, getre
<label class="setup-field muted">
<span>Sichtbarkeit</span>
<select name="visibility">
<option value="private">Privat</option>
<option value="public">Öffentlich</option>
</select>
</label>