Module-HTTPD/src/main/resources/httpd/template.html

59 lines
3.1 KiB
HTML
Raw Normal View History

2022-04-18 03:05:20 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
2023-04-03 20:39:22 +00:00
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
2022-04-18 03:05:20 +00:00
crossorigin="anonymous"></script>
2023-04-03 20:39:22 +00:00
<script src="https://cdn.jsdelivr.net/gh/Telesphoreo/bootstrap-color-switcher@master/script.js"></script>
2022-04-21 23:24:15 +00:00
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@200;400&display=swap" rel="stylesheet">
2022-04-18 03:05:20 +00:00
<title>${TITLE} - Plex HTTPD</title>
</head>
2022-04-21 23:24:15 +00:00
<body style="font-family: 'IBM Plex Sans', sans-serif;">
2023-04-03 20:39:22 +00:00
<nav class="navbar navbar-expand-lg bg-body-tertiary">
2022-04-18 03:05:20 +00:00
<div class="container-fluid">
2022-04-21 23:24:15 +00:00
<a class="navbar-brand" href="/" style="font-weight:200;">Plex HTTPD</a>
2022-04-18 03:05:20 +00:00
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link ${ACTIVE_HOME}" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link ${ACTIVE_ADMINS}" href="/api/admins/">Admins</a>
</li>
<li class="nav-item">
<a class="nav-link ${ACTIVE_INDEFBANS}" href="/api/indefbans/">Indefinite Bans</a>
</li>
<li class="nav-item">
<a class="nav-link ${ACTIVE_LIST}" href="/api/list/">List</a>
</li>
<li class="nav-item">
<a class="nav-link ${ACTIVE_PUNISHMENTS}" href="/api/punishments/">Punishments</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle ${ACTIVE_SCHEMATICS}" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Schematics
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="/api/schematics/download/">Download</a></li>
<li><a class="dropdown-item" href="/api/schematics/upload/">Upload</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div style="text-align: center;" class="col-auto m-0 row justify-content-center p-4">
${CONTENT}
</div>
</body>
</html>