redesign
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
{% extends "base.html" %} {% block title %} Ответ {% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
{% extends "base.html" %} {% block title %} Ответ {% endblock title %} {% block nav %}
|
||||
<li class="nav-item"><a class="nav-link text-primary" href="/q/{{ next }}">Ещё</a></li>
|
||||
{% endblock nav %} {% block content %}
|
||||
<!-- <h1>{{ id }}</h1> -->
|
||||
<div class="content-block">
|
||||
<div id="question" class="content-block-inner">
|
||||
<p><font color="#544669">
|
||||
<h4> {{ description }} </h4>
|
||||
</font>
|
||||
<p>
|
||||
<font color="#544669">
|
||||
<h4> {{ description }} </h4>
|
||||
</font>
|
||||
</p>
|
||||
</div>
|
||||
</div><br />
|
||||
@@ -15,46 +16,33 @@
|
||||
<hr/>
|
||||
<p>
|
||||
<!-- <h2> Ответ: </h2> -->
|
||||
<h1>{{ answer }}</h1>
|
||||
<h1 class="d-flex justify-content-center text-center">{{ answer }}</h1>
|
||||
</p>
|
||||
<hr/><br><br/><details>
|
||||
<div id="details">
|
||||
{% if comment | length or comment1 | length %}
|
||||
<p><span>Комментарии:</span>
|
||||
{% if comment | length %}
|
||||
{{ comment }}
|
||||
<hr/><br><br/>
|
||||
<details>
|
||||
<div id="details">
|
||||
{% if comment | length or comment1 | length %}
|
||||
<p><span>Комментарии:</span> {% if comment | length %} {{ comment }} {% endif %} {% if comment1 | length %}
|
||||
<br/> {{ comment1 }} {% endif %}
|
||||
</p>
|
||||
{% endif %} {% if author | length %}
|
||||
<p><span>Автор: </span> {{ author }}</p>
|
||||
{% endif %} {% if copyright | length %}
|
||||
<p><span>Копирайт: </span> {{ copyright }}</p>
|
||||
{% endif %} {% if source | length %}
|
||||
<p><span>Источник: </span> {{ source }}</p>
|
||||
{% endif %} {% if theme | length %}
|
||||
<p><span>Тема: </span> {{ theme }}</p>
|
||||
{% endif %} {% if rating | length %}
|
||||
<p><span>Рейтинг: </span> {{ author }}</p>
|
||||
{% endif %} {% if batch_info.description | length %}
|
||||
<p><span>Чемпионат: </span> {{ batch_info.description }}</p>
|
||||
{% endif %} {% if tour | length %}
|
||||
<p><span>Тур: </span> {{ tour }}</p>
|
||||
{% endif %} {% if id | length %}
|
||||
<p><span>Номер: </span> {{ id }}</p>
|
||||
{% endif %}
|
||||
{% if comment1 | length %}
|
||||
<br/>
|
||||
{{ comment1 }}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if author | length %}
|
||||
<p><span>Автор: </span> {{ author }}</p>
|
||||
{% endif %}
|
||||
{% if copyright | length %}
|
||||
<p><span>Копирайт: </span> {{ copyright }}</p>
|
||||
{% endif %}
|
||||
{% if source | length %}
|
||||
<p><span>Источник: </span> {{ source }}</p>
|
||||
{% endif %}
|
||||
{% if theme | length %}
|
||||
<p><span>Тема: </span> {{ theme }}</p>
|
||||
{% endif %}
|
||||
{% if rating | length %}
|
||||
<p><span>Рейтинг: </span> {{ author }}</p>
|
||||
{% endif %}
|
||||
{% if batch_info.description | length %}
|
||||
<p><span>Чемпионат: </span> {{ batch_info.description }}</p>
|
||||
{% endif %}
|
||||
{% if tour | length %}
|
||||
<p><span>Тур: </span> {{ tour }}</p>
|
||||
{% endif %}
|
||||
{% if id | length %}
|
||||
<p><span>Номер: </span> {{ id }}</p>
|
||||
{% endif %}
|
||||
</div></details>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
<br />
|
||||
{% endblock content %}
|
||||
<br /> {% endblock content %}
|
Reference in New Issue
Block a user