Add visibility management
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
<head>
|
||||
<title>Dénote{% if user.get_full_name|length != 0 %} - {{ user.get_full_name }}{% endif %}</title>
|
||||
<link rel="icon" type="image/png" href="{{ STATIC_URL }}images/favicon.png" />
|
||||
<script type="text/javascript">
|
||||
var hidden_categories = null;
|
||||
function get_csrf_token() { return '{{ csrf_token }}';}
|
||||
</script>
|
||||
{% block head %} {% endblock %}
|
||||
<link href="{{ STATIC_URL }}css/denote.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="{{ STATIC_URL }}css/pygments.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -9,8 +13,9 @@
|
||||
</head>
|
||||
<body onload="startup();">
|
||||
<!-- Header -->
|
||||
<div class="settings"><a href="/user/edit">Settings</a> <a href="/disconnect">Disconnect</a><br/>
|
||||
<form action="/search">{% csrf_token %}<input name="text"/><input type="button" value="Search"/></form></div>
|
||||
<div class="settings">{% 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/>
|
||||
|
Reference in New Issue
Block a user