Refactor: split code into several django apps (we call them modules).
This commit is contained in:
27
dav_base/templates/dav_base/root.html
Normal file
27
dav_base/templates/dav_base/root.html
Normal 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> </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 %}
|
||||
Reference in New Issue
Block a user