fix nginx conf + improve ui

This commit is contained in:
rmanach
2023-09-20 19:41:19 +02:00
parent b3989a401a
commit 53c54e9553
17 changed files with 263 additions and 134 deletions
+15 -7
View File
@@ -1,12 +1,20 @@
{% extends 'base.html' %}
{% block title %} new deployment {% endblock %}
{% block title %} New deployment {% endblock %}
{% block content %}
{{ user.username }}'s new deployment
<form action="" method="post">
{% csrf_token %}
{{ form }}
<input type="submit" value="create">
</form>
{% if user.is_authenticated %}
{{ user.username }}'s new deployment
<form action="" method="post">
{% csrf_token %}
{{ form }}
<input type="submit" value="create">
</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 %}