This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
staxman-old/templates/home.html
2023-11-19 15:08:47 +01:00

36 lines
No EOL
593 B
HTML

{% extends "base.html" %}
{% block title %}Overview{% endblock %}
{% block content %}
<main>
<h2>All stacks</h2>
<ul>
{% for stack in stacks %}
<li><a href="/stack/{{stack.name}}">{{stack.name}}</a> {% if !stack.active %}<div class="stopped">
INACTIVE</div>{% endif %}</li>
{% endfor %}
</ul>
</main>
<style scoped>
ul {
margin: 0;
padding: 0;
}
li {
display: flex;
align-items: center;
margin-bottom: 0.5rem;
gap: 0.5rem;
.stopped {
background-color: #E5484D;
padding: 2px 4px;
border-radius: 4px;
font-size: 11pt;
}
}
</style>
{% endblock %}