Add public notes access

This commit is contained in:
Gregory Soutade
2016-06-14 11:28:37 +02:00
parent 72c3a97ffa
commit b4e7d60760
5 changed files with 21 additions and 8 deletions

View File

@@ -13,12 +13,15 @@
</head>
<body onload="startup();">
<!-- Header -->
<div class="settings">{% if authenticated %}<a href="/user/edit">Settings</a> <a href="/disconnect">Disconnect</a><br/>
<div class="settings"><a href="/public_notes">Public notes</a> {% if authenticated %}<a href="/user/edit">Settings</a> <a href="/disconnect">Disconnect</a><br/>
{% endif %}
<form action="/search" method="post">{% csrf_token %}<input name="text"/><input type="submit" value="Search"/></form></div>
<!-- Left panel -->
<div id="left_panel">
<a id="home_icon" href="/" alt="Home"><img src="{{ STATIC_URL }}images/home.png"/></a><br/><br/>
{% if authenticated %}
<a href="/note/add">Add a note</a>
{% endif %}
{% block left %} {% endblock %}
</div>
<div id="main_panel">