mirror of
https://github.com/YGGverse/hlstate-rs.git
synced 2026-03-31 17:15:37 +00:00
init httpd crate skeleton
This commit is contained in:
parent
470a7d0e73
commit
802e0821e4
13 changed files with 1877 additions and 432 deletions
14
crates/httpd/templates/index.html.tera
Normal file
14
crates/httpd/templates/index.html.tera
Normal 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue