mirror of
https://github.com/FAUSheppy/icinga-webhook-gateway
synced 2026-01-22 02:37:39 +01:00
feat: entry creation % details
This commit is contained in:
24
templates/add_modify_service.html
Normal file
24
templates/add_modify_service.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% include "head.html" %}
|
||||
<body>
|
||||
<div class="container mt-5">
|
||||
<button class="mt-4 mb-4 btn btn-secondary" onclick="window.location.href='/'">
|
||||
Back
|
||||
</button>
|
||||
{% if form.service.errors %}
|
||||
<ul class="errors">
|
||||
{% for error in form.service.errors %}
|
||||
<li>{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<form method="POST" action="/entry-form">
|
||||
|
||||
{{ form.csrf_token }}
|
||||
{{ form.service.label }} {{ form.service(size=20) }} </br>
|
||||
{{ form.timeout.label }} {{ form.timeout() }} </br>
|
||||
|
||||
<input type="submit" value="Go">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user