authentication works, navbar to adjust, models started not done
This commit is contained in:
12
LITReview/reviews/templates/reviews/flux.html
Normal file
12
LITReview/reviews/templates/reviews/flux.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block nav %}
|
||||
<nav>
|
||||
<a href="{% url 'flux' %}">Flux</a>
|
||||
<a href="{% url 'posts' %}">Posts</a>
|
||||
<a href="{% url 'subscribed' %}">Abonnements</a>
|
||||
<a href="{% url 'logout' %}">Se déconnecter</a>
|
||||
</nav>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h2> Flux </h2>
|
||||
{% endblock %}
|
||||
17
LITReview/reviews/templates/reviews/home.html
Normal file
17
LITReview/reviews/templates/reviews/home.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block nav %}
|
||||
<nav class="navbar navbar-light ml-auto">
|
||||
<a href="{% url 'flux' %}">Flux</a>
|
||||
<a href="{% url 'posts' %}">Posts</a>
|
||||
<a href="{% url 'subscribed' %}">Abonnements</a>
|
||||
<form class="form-inline" method="post" action="{% url 'logout' %}">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-light">Se déconnecter</button>
|
||||
</form>
|
||||
</nav>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h2> Bienvenue {{ user.name }}</h2>
|
||||
{% endblock %}
|
||||
12
LITReview/reviews/templates/reviews/posts.html
Normal file
12
LITReview/reviews/templates/reviews/posts.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block nav %}
|
||||
<nav>
|
||||
<a href="{% url 'flux' %}">Flux</a>
|
||||
<a href="{% url 'posts' %}">Posts</a>
|
||||
<a href="{% url 'subscribed' %}">Abonnements</a>
|
||||
<a href="{% url 'logout' %}">Se déconnecter</a>
|
||||
</nav>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h2> Posts </h2>
|
||||
{% endblock %}
|
||||
12
LITReview/reviews/templates/reviews/subscribed.html
Normal file
12
LITReview/reviews/templates/reviews/subscribed.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block nav %}
|
||||
<nav>
|
||||
<a href="{% url 'flux' %}">Flux</a>
|
||||
<a href="{% url 'posts' %}">Posts</a>
|
||||
<a href="{% url 'subscribed' %}">Abonnements</a>
|
||||
<a href="{% url 'logout' %}">Se déconnecter</a>
|
||||
</nav>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h2> Subscribed </h2>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user