format html + put js in static

This commit is contained in:
2023-09-19 12:03:36 +02:00
parent 0ed9acd405
commit 7fb593c98a
7 changed files with 85 additions and 82 deletions
+10 -10
View File
@@ -1,24 +1,24 @@
{% extends 'base.html' %}
{% block title %}deployment details: {{ deployment.name }}{% endblock %}
{% block title %} deployment details: {{ deployment.name }} {% endblock %}
{% block content %}
<table>
<tr>
<th>id</th>
<th>name</th>
<th>type</th>
<th>status</th>
<th>id</th>
<th>name</th>
<th>type</th>
<th>status</th>
</tr>
<tr id="{{ deployment.id }}">
<th name="id">{{ deployment.id }}</th>
<th name="name">{{ deployment.name }}</th>
<th name="type">{{ deployment.type }}</th>
<th name="status">{{ deployment.status }}</th>
<th name="id">{{ deployment.id }}</th>
<th name="name">{{ deployment.name }}</th>
<th name="type">{{ deployment.type }}</th>
<th name="status">{{ deployment.status }}</th>
</tr>
</table>
<form action="" method="post">
{% csrf_token %}
<input type="submit" value="delete">
</form>
</form>
{% endblock %}