Files
Netbox-Store/store/templates/partials/head.php
T
MrBlake f36d6be511
CI / php-store (push) Waiting to run
CI / python-components (push) Waiting to run
feat: add NetBox plugin store
2026-08-24 20:51:25 +02:00

32 lines
1.3 KiB
PHP
Raw 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 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">