clean templates, add userdetail and proper landing page
This commit is contained in:
parent
413728b24f
commit
96ff186913
13 changed files with 253 additions and 80 deletions
43
account/templates/member_base.html
Normal file
43
account/templates/member_base.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
<ul class="nav nav-tabs">
|
||||
{% url account.views.home as home_url %}
|
||||
<li class="{% if request.path == home_url %}active{% endif %}">
|
||||
<a href="{{ home_url }}">{% trans "Home" %}</a>
|
||||
</li>
|
||||
{% url account.views.password as password_url %}
|
||||
<li class="{% if request.path == password_url %}active{% endif %}">
|
||||
<a href="{{ password_url }}">{% trans "Password" %}</a>
|
||||
</li>
|
||||
{% url account.views.gastropin as gastro_url %}
|
||||
<li class="{% if request.path == gastro_url %}active{% endif %}">
|
||||
<a href="{{ gastro_url }}">{% trans "Gastro-PIN" %}</a>
|
||||
</li>
|
||||
{% url account.views.wlan_presence as wlan_presence_url %}
|
||||
<li class="{% if request.path == wlan_presence_url %}active{% endif %}">
|
||||
<a href="{{ wlan_presence_url }}">{% trans "WiFi presence" %}</a>
|
||||
</li>
|
||||
{% url account.views.rfid as rfid_url %}
|
||||
<li class="{% if request.path == rfid_url %}active{% endif %}">
|
||||
<a href="{{ rfid_url }}">{% trans "RFID" %}</a>
|
||||
</li>
|
||||
{% url account.views.nrf24 as nrf24_url %}
|
||||
<li class="{% if request.path == nrf24_url %}active{% endif %}">
|
||||
<a href="{{ nrf24_url }}">{% trans "NRF24" %}</a>
|
||||
</li>
|
||||
{% url account.views.sippin as sippin_url %}
|
||||
<li class="{% if request.path == sippin_url %}active{% endif %}">
|
||||
<a href="{{ sippin_url }}">{% trans "SIP-PIN" %}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% block container %}{% endblock container %}
|
||||
|
||||
<hr />
|
||||
<div class="row pull-right">
|
||||
<small class="muted">Copyright © 2013 by c-base e.V.</small>
|
||||
</div>
|
||||
</div><!-- /.container -->
|
||||
{% endblock body %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue