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

36 lines
593 B
HTML
Raw Normal View History

2023-11-18 15:35:30 +00:00
{% extends "base.html" %}
2023-11-18 22:17:05 +00:00
{% block title %}Overview{% endblock %}
2023-11-18 15:35:30 +00:00
{% block content %}
<main>
2023-11-19 14:08:47 +00:00
<h2>All stacks</h2>
2023-11-18 19:51:10 +00:00
<ul>
{% for stack in stacks %}
2023-11-19 14:08:47 +00:00
<li><a href="/stack/{{stack.name}}">{{stack.name}}</a> {% if !stack.active %}<div class="stopped">
INACTIVE</div>{% endif %}</li>
2023-11-18 19:51:10 +00:00
{% endfor %}
</ul>
2023-11-18 15:35:30 +00:00
</main>
2023-11-18 22:17:05 +00:00
<style scoped>
2023-11-19 14:08:47 +00:00
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;
}
}
2023-11-18 22:17:05 +00:00
</style>
2023-11-18 15:35:30 +00:00
{% endblock %}