Refactor: split code into several django apps (we call them modules).

This commit is contained in:
2018-12-13 14:47:58 +01:00
parent c23dc33d4e
commit 0d5a8c65e3
81 changed files with 739 additions and 332 deletions

View File

@@ -0,0 +1,27 @@
{% extends "dav_base/base.html" %}
{% load bootstrap3 %}
{% load i18n %}
{% block page-container %}
<div class="jumbotron">
<h1>Hallo,</h1>
<p>
du bist auf dem Entwicklungs- und Testserver der
<a href="http://alpenverein-karlsruhe.de">Sektion Karlsruhe des Deutschen Alpenvereins (DAV) e.V.</a> gelandet.
</p>
<p>
Wenn du Fragen hast, kannst du dich an
<a href="mailto:heinzel@alpenverein-karlsruhe.de">heinzel@alpenverein-karlsruhe.de</a> wenden.
</p>
<p>&nbsp;</p>
{% if root_urls %}
<h3>Module:</h3>
<div class="list-group">
{% for root_url in root_urls %}
<a class="list-group-item list-group-item-warning"
href="{% url root_url.1 %}"><span class="glyphicon glyphicon-arrow-right"></span> {{ root_url.0 }}</a>
{% endfor %}
</div>
{% endif %}
</div>
{% endblock page-container %}