init httpd crate skeleton

This commit is contained in:
yggverse 2026-03-05 15:41:15 +02:00
parent 470a7d0e73
commit 802e0821e4
13 changed files with 1877 additions and 432 deletions

View file

@ -0,0 +1,14 @@
{% extends "layout" %}
{% block content %}
{% if servers %}
{% for server in servers %}
<div>
<h2><a href="{{ server.host }}">{{ server.name }}</a></h2>
</div>
{% endfor %}
{% else %}
<div>
<p>Nobody.</p>
</div>
{% endif %}
{% endblock content %}

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>{{ title }}</title>
<style>
* {color-scheme: light dark}
</style>
</head>
<body>
<header>
<h1><a href="/">{{ title }}</a></h1>
</header>
<main>
{% block content %}{% endblock content %}
</main>
</body>
</html>