django-web-galleries/django_web_galleries/web_galleries/templates/global.html

73 lines
2.7 KiB
HTML
Raw Normal View History

2022-12-25 12:18:15 +01:00
{% load static %}
2022-12-29 21:31:11 +01:00
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Gallery</title>
2022-12-29 21:31:11 +01:00
<link rel="stylesheet" href="{% static 'bootstrap.min.css' %}">
2022-12-25 12:18:15 +01:00
<link rel="stylesheet" href="{% static 'web-galleries.css' %}">
</head>
<body>
<div class="RV-Page">
2022-12-25 12:18:15 +01:00
<header class="RV-Header">
<nav class="RV-Navigation">
<ul class="RV-Navigation__list">
<li class="RV-Navigation__item">
<a href="{% url 'home' %}" class="RV-Navigation__link">
2022-12-29 21:31:11 +01:00
{% translate 'Home' %}
</a>
</li>
<li class="RV-Navigation__item">
<a href="{% url 'upload_image' %}" class="RV-Navigation__link">
2022-12-29 21:31:11 +01:00
{% translate 'Upload image' %}
</a>
</li>
2022-12-25 13:49:44 +01:00
<li class="RV-Navigation__item">
<a href="{% url 'my_images' %}" class="RV-Navigation__link">
2022-12-29 21:31:11 +01:00
{% translate 'My images' %}
2022-12-25 13:49:44 +01:00
</a>
</li>
<li class="RV-Navigation__item">
<a href="{% url 'my_galleries' %}" class="RV-Navigation__link">
2022-12-29 21:31:11 +01:00
{% translate 'My galleries' %}
</a>
</li>
<li class="RV-Navigation__item">
<a href="{% url 'create_gallery' %}" class="RV-Navigation__link">
2022-12-29 21:31:11 +01:00
{% translate 'Create gallery' %}
</a>
</li>
</ul>
<div class="RV-UserInfo">
<div class="RV-UserInfo__name">
2022-12-29 21:31:11 +01:00
{% translate 'Hello there' %}, {{ visitor.name }}
</div>
<ul class="RV-UserInfo__links">
<li class="RV-UserInfo__link">
<a href="{% url 'visitor_profile' %}">
2022-12-29 21:31:11 +01:00
{% translate 'My Profile' %}
</a>
</li>
</ul>
</div>
</nav>
2022-12-25 12:18:15 +01:00
</header>
{% if request.META.HTTP_REFERER %}
<a href="{{ request.META.HTTP_REFERER }}">back</a>
{% endif %}
<main class="RV-Content">
{% block content %}
{% endblock content %}
</main>
<footer class="RV-Footer">
</footer>
</div>
</body>
</html>