diff --git a/application/dash/templates/add_service.html b/application/dash/templates/add_service.html index be0e36f..69003b2 100644 --- a/application/dash/templates/add_service.html +++ b/application/dash/templates/add_service.html @@ -5,12 +5,11 @@ Add service {% endblock %} {% block content %} -{% if feedback %} -

{{feedback}}

-{% endif %} -
{{ form.hidden_tag() }} + {% if feedback %} +

{{feedback}}

+ {% endif %}
{{ form.name.label }}
{{ form.name() }}
diff --git a/application/dash/templates/admin.html b/application/dash/templates/admin.html index 8632f96..ce3a258 100644 --- a/application/dash/templates/admin.html +++ b/application/dash/templates/admin.html @@ -5,12 +5,11 @@ Register {% endblock %} {% block content %} -{% if feedback %} -

{{feedback}}

-{% endif %} - {{ form.hidden_tag() }} + {% if feedback %} +

{{feedback}}

+ {% endif %}
{{ form.username.label }}
{{ form.username() }}
diff --git a/application/dash/templates/dashboard.html b/application/dash/templates/dashboard.html index 16176a6..d222a45 100644 --- a/application/dash/templates/dashboard.html +++ b/application/dash/templates/dashboard.html @@ -5,9 +5,9 @@ {%block content%}
{% for service in services%} -
+
Name: {{service["name"]}}
- URL: {{service["url"]}} + URL: {{service["url"]}}
{% endfor %}
@@ -22,11 +22,5 @@
Item 4
-
- Item 5 -
-
- Item 6 -
{%endblock%} \ No newline at end of file diff --git a/application/static/style.css b/application/static/style.css index 20e6847..1b4b8c1 100644 --- a/application/static/style.css +++ b/application/static/style.css @@ -17,6 +17,7 @@ body { .grid-container > div { text-align: center; height: fit-content; + width: 400px; padding-top: 5px; padding-bottom: 5px; border: 2px solid black; diff --git a/application/templates/base_template.html b/application/templates/base_template.html index a6e4bbb..1beda43 100644 --- a/application/templates/base_template.html +++ b/application/templates/base_template.html @@ -24,12 +24,14 @@