init
This commit is contained in:
commit
8851786e67
353 changed files with 36724 additions and 0 deletions
65
mainapp/templates/home/index2.html
Executable file
65
mainapp/templates/home/index2.html
Executable file
|
@ -0,0 +1,65 @@
|
|||
{% 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}}" style="font-size: 15px;">{{ran.title}}</a>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<a href="">ошибка....</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block maincontent %}
|
||||
<video controls="" name="media">
|
||||
<source src="https://xn--80abgfb1ad.xn--p1ai/static/video/wg4h45rbw.mp4" type="video/mp4">
|
||||
</video>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block js %}
|
||||
<script src="{% static 'first/script.js' %}"></script>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue