mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 11:19:58 +00:00
Fixed shit idk 123
This commit is contained in:
24
application/dash/templates/add_service.html
Normal file
24
application/dash/templates/add_service.html
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{% extends 'base_template.html' %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
Add service
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
{% if feedback %}
|
||||||
|
<p>{{feedback}}</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<form class="bg-body-tertiary" method="POST">
|
||||||
|
{{ form.hidden_tag() }}
|
||||||
|
<div>
|
||||||
|
{{ form.name.label }} <br> {{ form.name() }}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
{{ form.url.label }} <br> {{ form.url() }}
|
||||||
|
</div>
|
||||||
|
<div class="submit">
|
||||||
|
{{ form.submit() }}
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
||||||
@@ -26,5 +26,4 @@ def admin():
|
|||||||
password = register_form.password.data
|
password = register_form.password.data
|
||||||
check_admin = register_form.admin.data
|
check_admin = register_form.admin.data
|
||||||
|
|
||||||
|
return render_template("admin.html", form=register_form)
|
||||||
return render_template("admin.html")
|
|
||||||
|
|||||||
Reference in New Issue
Block a user