This commit is contained in:
relaxed 2024-08-18 03:34:33 +05:00
commit 8851786e67
353 changed files with 36724 additions and 0 deletions

View file

@ -0,0 +1,67 @@
{% extends "home/base.html" %}
{% load static %}
{% block styles %}
<link rel="stylesheet" href="{% static 'first/style.css' %}" />
{% endblock %}
{% block headmain %}EKB{% endblock %}
{% block history_dropdown %}
{% if random_history %}
{% for ran in random_history %}
<a href="/{{ran.papka}}/?type={{ran.papka}}&title={{ran.title}}">{{ran.title}}</a>
{% endfor %}
{% else %}
<a href="">ошибка....</a>
{% endif %}
{% endblock %}
{% block places_dropdown %}
{% if random_places %}
{% for ran in random_places %}
<a href="/{{ran.papka}}/?type={{ran.papka}}&title={{ran.title}}">{{ran.title}}</a>
{% endfor %}
{% else %}
<a href="">ошибка....</a>
{% endif %}
{% endblock %}
{% block celebrity_dropdown %}
{% if random_celebrity %}
{% for ran in random_celebrity %}
<a href="/{{ran.papka}}/?type={{ran.papka}}&title={{ran.title}}">{{ran.title}}</a>
{% endfor %}
{% else %}
<a href="">ошибка....</a>
{% endif %}
{% endblock %}
{% block theaters_and_music_dropdown %}
{% if random_theaters_and_music %}
{% for ran in random_theaters_and_music %}
<a href="/{{ran.papka}}/?type={{ran.papka}}&title={{ran.title}}">{{ran.title}}</a>
{% endfor %}
{% else %}
<a href="">ошибка....</a>
{% endif %}
{% endblock %}
{% block maincontent %}
<div style="margin-top: 40px;">
<label style="font-size: 40px;">Спасибо {{coms_name}}, ваш комментарий отправлен</label>
</div>
{% endblock %}
{% block js %}
<script src="{% static 'first/script.js' %}"></script>
{% endblock %}