mumui/templates/deployment/details.html
2023-09-20 19:41:19 +02:00

32 lines
1.0 KiB
HTML

{% extends 'base.html' %}
{% block title %} Deployment details: {{ deployment.name }} {% endblock %}
{% block content %}
{% if user.is_authenticated %}
<table>
<tr>
<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>
</tr>
</table>
<form action="" method="post">
{% csrf_token %}
<input type="submit" value="delete">
</form>
{% else %}
<div class="row justify-content-md-center">
<div class="col-lg-8 col-md-8 col-sm-6">
<h4 style="text-align: center;">Please log in !</h4>
</div>
</div>
{% endif %}
{% endblock %}