diff --git a/static/site.css b/static/site.css index 8423245..d234790 100644 --- a/static/site.css +++ b/static/site.css @@ -22,6 +22,16 @@ body{ color: darkgray; } +.form-container{ + margin: auto; + padding: 20px; + width: fit-content; +} + +.form-button{ + +} + .overview-tile{ color: black; } diff --git a/templates/add_modify_service.html b/templates/add_modify_service.html index a440c1c..5ff31cf 100644 --- a/templates/add_modify_service.html +++ b/templates/add_modify_service.html @@ -1,24 +1,31 @@ {% include "head.html" %} -
- - {% if form.service.errors %} - - {% endif %} -
+ {% include "navbar.html" %} + +
+

Create a new Service

+
+
+ {% if form.service.errors %} +
    + {% for error in form.service.errors %} +
  • {{ error }}
  • + {% endfor %} +
+ {% endif %} + - {{ form.csrf_token }} - {{ form.service.label }} {{ form.service(size=20) }}
- {{ form.timeout.label }} {{ form.timeout() }}
+ {{ form.csrf_token }} + {{ form.service.label }} {{ form.service(size=20) }}
+ {{ form.timeout.label }} {{ form.timeout() }}
- - + + +