ui - automated build
This commit is contained in:
24
ui/templates/base.html
Normal file
24
ui/templates/base.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!doctype html>
|
||||
<html lang="en" class="h-100">
|
||||
|
||||
{% include "head.html" %}
|
||||
|
||||
<body class="d-flex flex-column h-100">
|
||||
|
||||
{% include "menu.html" %}
|
||||
|
||||
<main class="flex-shrink-0">
|
||||
<div class="container">
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% include "footer.html" %}
|
||||
|
||||
{% include "end.html" %}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
1
ui/templates/end.html
Normal file
1
ui/templates/end.html
Normal file
@@ -0,0 +1 @@
|
||||
<script src="/js/bootstrap.bundle.min.js"></script>
|
||||
7
ui/templates/footer.html
Normal file
7
ui/templates/footer.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<footer class="footer mt-auto py-3 bg-light">
|
||||
<div class="container text-center">
|
||||
<span class="text-muted">
|
||||
<a href="https://github.com/bunkerity/bunkerized-nginx">bunkerized-nginx</a> user interface
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
10
ui/templates/head.html
Normal file
10
ui/templates/head.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="bunkerized-nginx user interface">
|
||||
<meta name="author" content="bunkerity">
|
||||
<title>{{ title }}</title>
|
||||
<!-- TODO : favicon -->
|
||||
<link href="/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/css/custom.css" rel="stylesheet">
|
||||
</head>
|
||||
7
ui/templates/home.html
Normal file
7
ui/templates/home.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
Lorem ipsum.
|
||||
|
||||
{% endblock %}
|
||||
20
ui/templates/menu.html
Normal file
20
ui/templates/menu.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">bunkerized-nginx-ui</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarCollapse">
|
||||
<ul class="navbar-nav me-auto mb-2 mb-md-0">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Link</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
Reference in New Issue
Block a user