Do a cleaner package.

Add an Apache sample configuration file
Update README with better installation instructions
This commit is contained in:
2014-02-02 14:21:16 +01:00
parent ef03d87799
commit 0d05f8346b
353 changed files with 115 additions and 38 deletions

18
dynastie/templates/user.html Executable file
View File

@@ -0,0 +1,18 @@
{% extends "base.html" %}
{% block content %}
{% if users|length == 0 %}
<b>Any user available</b><br/><br/>
{% else %}
{% for user in users %}
{% if user.first_name != "" or user.last_name != "" %}
<li><a href="/user/{{ user.id }}">{{ user.first_name }} {{ user.last_name }}</a></li>
{% else %}
<li><a href="/user/{{ user.id }}">{{ user.username }}</a></li>
{% endif %}
{% endfor %}
{% endif %}
{% if user.is_superuser %}
<li><a href="/user/add">Add a user</a></li>
{% endif %}
{% endblock %}