beautified

This commit is contained in:
gnuter3000 2023-07-07 09:33:56 +02:00
parent 864c700666
commit 70d9995005
9 changed files with 36 additions and 41 deletions

View file

@ -14,7 +14,7 @@
<h1>{% trans "Sign In" %}</h1>
{% get_providers as socialaccount_providers %}
{% comment %}
{% if socialaccount_providers %}
<p>{% blocktrans with site.name as site_name %}Please sign in with one
of your existing third party accounts. Or, <a href="{{ signup_url }}">sign up</a>
@ -32,7 +32,7 @@ for a {{ site_name }} account and sign in below:{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans %}If you have not created an account yet, then please
<a href="{{ signup_url }}">sign up</a> first.{% endblocktrans %}</p>
{% endif %}
{% endif %} {% endcomment %}
<form class="login" method="POST" action="{% url 'account_login' %}">
{% csrf_token %}
@ -45,12 +45,4 @@ for a {{ site_name }} account and sign in below:{% endblocktrans %}</p>
</form>
</div>
{% comment %}
<div class="col-lg-5">
<h4>Login</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga sapiente rerum dignissimos voluptatum, expedita saepe quae voluptas possimus eveniet eligendi fugiat similique repudiandae. Necessitatibus fugiat accusamus laudantium qui, et dolore?</p>
</div>
{% endcomment %}
</div>
{% endblock %}

View file

@ -1,3 +1,4 @@
{% if user.is_authenticated %}
<div class="container">
<footer class="footer d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<p class="col-md-4 mb-0 text-muted">© 2023 fbf</p>
@ -14,3 +15,4 @@
</ul>
</footer>
</div>
{% endif %}

View file

@ -1,4 +1,6 @@
{% load static %}
{% if user.is_authenticated %}
<nav class="navbar navbar-expand-lg navbar-dark bg-primary sticky-top">
<div class="container">
<a class="navbar-brand" href="{% url 'index' %}">
@ -49,4 +51,5 @@
</div>
</div>
</nav>
{% endif %}
<br />