Skip to content

Commit

Permalink
Rewrite main template (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
InKLaR1TY authored Oct 15, 2024
1 parent 5161e7e commit 7fcc877
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions adaptive_hockey_federation/templates/main/home/main.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
{% extends 'base/base.html' %}
{% load static %}
{% block title %}
Главная страница
{% endblock %}
{% block content %}
{% include 'main/home/table.html' with table_head=table_head table_data=table_data %}
<div style="display: flex; flex-direction: column; height: 100vh; margin: 0;">
<h1 align="center">Добро пожаловать!</h1>

<div style="flex: 1; display: flex; justify-content: flex-start; align-items: center;">
<table width="100%" height="100%">
<tr>
<td width="80%" valign="top">
<section>
{% comment %} Свободное место например под вывод информации из БД или тп.{% endcomment %}
</section>
</td>
<td width="20%">
<div align="center">
<img src="{% static 'img/logo.png' %}" alt="Логотип" width="200" height="200">
</div>
</td>
</tr>
</table>
</div>

<div style="margin-top: auto; text-align: center; margin-bottom: 10px;">
<p>Для поиска игроков воспользуйтесь поиском сверху.</p>
</div>
</div>
{% endblock %}

0 comments on commit 7fcc877

Please sign in to comment.