mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 11:52:20 +01:00 
			
		
		
		
	Clone Corres2math platform
This commit is contained in:
		
							
								
								
									
										10
									
								
								tfjm/templates/registration/logged_out.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								tfjm/templates/registration/logged_out.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
{% comment %}
 | 
			
		||||
SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
{% endcomment %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
    <p>{% trans "Thanks for spending some quality time with the Web site today." %}</p>
 | 
			
		||||
    <p><a href="{% url 'index' %}">{% trans 'Log in again' %}</a></p>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
							
								
								
									
										27
									
								
								tfjm/templates/registration/login.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								tfjm/templates/registration/login.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
{% comment %}
 | 
			
		||||
SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
{% endcomment %}
 | 
			
		||||
{% load i18n crispy_forms_filters %}
 | 
			
		||||
 | 
			
		||||
{% block title %}{% trans "Log in" %}{% endblock %}
 | 
			
		||||
{% block contenttitle %}<h1>{% trans "Log in" %}</h1>{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
    {% if user.is_authenticated %}
 | 
			
		||||
        <p class="errornote">
 | 
			
		||||
            {% blocktrans trimmed %}
 | 
			
		||||
                You are authenticated as {{ user }}, but are not authorized to
 | 
			
		||||
                access this page. Would you like to login to a different account?
 | 
			
		||||
            {% endblocktrans %}
 | 
			
		||||
        </p>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    <form method="post" id="login-form">
 | 
			
		||||
        <div id="form-content">
 | 
			
		||||
            {% csrf_token %}
 | 
			
		||||
            {{ form | crispy }}
 | 
			
		||||
            <a href="{% url 'password_reset' %}" class="badge badge-light">{% trans 'Forgotten your password or username?' %}</a>
 | 
			
		||||
        </div>
 | 
			
		||||
        <input type="submit" value="{% trans 'Log in' %}" class="btn btn-primary">
 | 
			
		||||
    </form>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user