began adding addpost function

This commit is contained in:
CDaut 2022-06-02 08:29:52 +02:00 committed by CDaut
parent 81c455f014
commit c50d047233
15 changed files with 106 additions and 21 deletions

View file

@ -4,7 +4,6 @@
<head>
<meta charset="UTF-8">
<title>{% block title %}{% endblock %}</title>
<!-- Compiled and minified CSS -->
<link type="text/css" rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"
media="screen,projection"/>
@ -24,7 +23,7 @@
<ul id="slide-out" class="sidenav sidenav-fixed">
{% if user.is_authenticated %}
<li><a class="waves-effect" href="{% url 'addpost' %}"><i class="material-icons">add</i>New post</a></li>
<li><a class="waves-effect" href="{% url 'addpost' %}"><i class="material-icons">reorder</i>Manage posts</a>
<li><a class="waves-effect" href="{% url 'order' %}"><i class="material-icons">reorder</i>Manage posts</a>
</li>
<li>
<div class="divider"></div>