mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-18 05:58:02 +00:00
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
{% extends 'bootstrap.html' %}
|
|
{% load static %}
|
|
{% load bootstrap4 %}
|
|
{% load i18n %}<!DOCTYPE HTML>
|
|
{% spaceless %}{% block bootstrap4_content %}<html>
|
|
{% include 'header.html' %}
|
|
<body>
|
|
|
|
<div id="header">
|
|
<div>
|
|
<div id="logo">
|
|
<a href="{{ site_url }}"><img src="{% static 'img/logo.png' %}" height="60" width="60" alt="{% trans 'Home' %}"></a>
|
|
</div>
|
|
<div id="site-branding">
|
|
<span id="site-name">i<span class="bolder">vatar</span></span>
|
|
<br>{% trans 'freeing the web one face at a time' %}
|
|
</div>
|
|
</div>
|
|
|
|
{% autoescape off %}{% bootstrap_messages %}{% endautoescape %}
|
|
|
|
<div id="account">
|
|
{% if user.is_authenticated %}
|
|
<a href="{% url 'profile' %}">{% trans 'Profile' %}</a> |
|
|
<a href="{{ contact_us }}">{% trans 'Contact Us' %}</a> |
|
|
<a href="{{ security_url }}">{% trans 'Security' %}</a> |
|
|
<a href="{% url 'logout' %}" id="logout-link">{% trans 'Logout' %}</a>
|
|
{% else %}
|
|
<a href="{{ contact_us }}">{% trans 'Contact Us' %}</a> |
|
|
<a href="{{ security_url }}">{% trans 'Security' %}</a> |
|
|
<a href="{% url 'login' %}">{% trans 'Login' %}</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outer">
|
|
<div id="content">
|
|
{% block content %}{% endblock content %}
|
|
</div>
|
|
</div>
|
|
|
|
{% block footer %}{% include 'footer.html' %}{% endblock footer %}
|
|
|
|
</body>
|
|
</html>{% endblock %}{% endspaceless %}
|