73 lines
2.7 KiB
HTML
73 lines
2.7 KiB
HTML
{% load static %}
|
|
|
|
{% 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>
|
|
<link rel="stylesheet" href="{% static 'bootstrap.min.css' %}">
|
|
<link rel="stylesheet" href="{% static 'web-galleries.css' %}">
|
|
</head>
|
|
<body>
|
|
<div class="RV-Page">
|
|
<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">
|
|
{% translate 'Home' %}
|
|
</a>
|
|
</li>
|
|
<li class="RV-Navigation__item">
|
|
<a href="{% url 'upload_image' %}" class="RV-Navigation__link">
|
|
{% translate 'Upload image' %}
|
|
</a>
|
|
</li>
|
|
<li class="RV-Navigation__item">
|
|
<a href="{% url 'my_images' %}" class="RV-Navigation__link">
|
|
{% translate 'My images' %}
|
|
</a>
|
|
</li>
|
|
<li class="RV-Navigation__item">
|
|
<a href="{% url 'my_galleries' %}" class="RV-Navigation__link">
|
|
{% translate 'My galleries' %}
|
|
</a>
|
|
</li>
|
|
<li class="RV-Navigation__item">
|
|
<a href="{% url 'create_gallery' %}" class="RV-Navigation__link">
|
|
{% translate 'Create gallery' %}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<div class="RV-UserInfo">
|
|
<div class="RV-UserInfo__name">
|
|
{% translate 'Hello there' %}, {{ visitor.name }}
|
|
</div>
|
|
<ul class="RV-UserInfo__links">
|
|
<li class="RV-UserInfo__link">
|
|
<a href="{% url 'visitor_profile' %}">
|
|
{% translate 'My Profile' %}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
</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> |