Files
MrBlake 26aea40e6a
CI / php-store (push) Waiting to run
CI / python-components (push) Waiting to run
feat: install plugins from approved source commits
2026-08-24 21:37:17 +02:00

33 lines
1.4 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php declare(strict_types=1); ?>
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light">
<meta name="theme-color" content="#102a43">
<meta name="description" content="Kuratierter Plugin-Katalog für NetBox mit geprüften Artefakten.">
<title><?= $e($title ?? 'NetBox Plugin Store') ?></title>
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="/assets/app.css">
</head>
<body>
<a class="skip-link" href="#content">Zum Inhalt springen</a>
<header class="site-header">
<div class="shell header-inner">
<a class="brand" href="/" aria-label="NetBox Plugin Store Startseite">
<span class="brand-mark" aria-hidden="true">N</span>
<span><strong>NetBox</strong><small>Plugin Store</small></span>
</a>
<nav class="main-nav" aria-label="Hauptnavigation">
<a class="<?= ($currentPath ?? '') === '/' ? 'active' : '' ?>" href="/">Store</a>
<a class="<?= ($currentPath ?? '') === '/installation' ? 'active' : '' ?>" href="/installation">Installation</a>
<a href="/api/v1/plugins/">API</a>
<?php if (!empty($adminEnabled)): ?>
<a class="<?= str_starts_with((string) ($currentPath ?? ''), '/admin') ? 'active' : '' ?>" href="/admin">Admin</a>
<?php endif; ?>
</nav>
</div>
</header>
<main id="content">