From f8e3a0b6ee87faf3d59be29036f59153b62e72db Mon Sep 17 00:00:00 2001 From: Hamcha Date: Sat, 18 Nov 2023 23:17:05 +0100 Subject: [PATCH] some styling that kinda sucks --- templates/base.html | 81 ++++++++++++++++++++++++---- templates/home.html | 5 +- templates/stack/get-one.html | 101 ++++++++++++++++++++++++++++++++--- 3 files changed, 170 insertions(+), 17 deletions(-) diff --git a/templates/base.html b/templates/base.html index f725afc..ba7ae68 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,11 +1,74 @@ - - - - {% block title %}{{ title }} - staxman{% endblock %} - - - {% block content %}{% endblock %} - - + + + + + {% block title %}{{ title }} - staxman{% endblock %} + + + + + + + + {% block content %}{% endblock %} + + + \ No newline at end of file diff --git a/templates/home.html b/templates/home.html index 8f70389..ea425de 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}Home{% endblock %} +{% block title %}Overview{% endblock %} {% block content %}
@@ -10,4 +10,7 @@ {% endfor %}
+ + {% endblock %} \ No newline at end of file diff --git a/templates/stack/get-one.html b/templates/stack/get-one.html index 0d7f55c..b099859 100644 --- a/templates/stack/get-one.html +++ b/templates/stack/get-one.html @@ -4,12 +4,99 @@ {% block content %}
-

{{stack_name}}

- - +

Stack details for {{stack_name}}

+

Status

+ + + + + + + + + + {% for container in containers %} + + + + + + {% endfor %} + +
NameStateImage
{{container.name}}{{container.state}}{{container.image}}
+

Editor

+
+ + + + + + {% endblock %} \ No newline at end of file