Dynastie/dynastie/templates/base.html

30 lines
1.1 KiB
HTML
Executable File

<html>
<head>
<title>Dynastie</title>
{% load static %}
<link rel="icon" type="image/png" href="{% static 'images/favicon.png' %}" />
{% block head %} {% endblock %}
<link href="{% static 'css/dynastie.css' %}" rel="stylesheet" type="text/css"/>
</head>
<body>
<a href="/user">Users</a> <a href="/blog">Blogs</a> <a href="/disconnect">Disconnect</a><br/><br/>
{% if blog_id != None %}
<a href="/blog/{{ blog_id }}?page=0">Home</a> <a href="/category/{{ blog_id }}">Categories</a> <a href="/tag/{{ blog_id }}">Tags</a>
{% else %}
<a href="/blog/{{ blog.id }}?page=0">Home</a> <a href="/category/{{ blog.id }}">Categories</a> <a href="/tag/{{ blog.id }}">Tags</a>
{% endif %}
{% if user.is_superuser %}
<form action="/blog/edit/{{ blog.id }}" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" name="edit" value="Edit" /><input type="submit" name="delete" value="Delete" />
</form>
{% endif %}
<br/><br/>
{% block content %} {% endblock %}
<br/><br/><br/>
<center><a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a> 0.5</center>
</body>
</html>