-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
78 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,3 +184,5 @@ media/ | |
# DS server | ||
a_hockey-main/ | ||
adaptive_hockey_federation/service/test_video/ | ||
|
||
db_dump.json |
2 changes: 1 addition & 1 deletion
2
adaptive_hockey_federation/core/management/commands/export-db.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,56 @@ | ||
{% if not request.user.is_moderator %} | ||
<aside id="container__fluid" class="aside-navbar"> | ||
<div class="navbar-container"> | ||
<ul class="navigate"> | ||
<div class="py-5 logo-zone"> | ||
<div class="col-auto flex justify-end"> | ||
<span class="logo-img"> | ||
<img src="https://paraicehockey.ru/wp-content/uploads/2022/02/FAH_q.png" width="100" height="100"> | ||
</span> | ||
</div> | ||
<div class="col text-white flex justify-start"> | ||
Мир хоккея<br>для особенных<br>детей | ||
</div> | ||
</div> | ||
{% if not request.user.is_agent %} | ||
<li class="nav-item py-2 list-group"> | ||
{% url 'main:players' as url_name %}{% include "base/button.html" with name="Игроки" %} | ||
</li> | ||
<li class="nav-item py-2"> | ||
{% url 'users:users' as url_name %}{% include "base/button.html" with name="Пользователи" %} | ||
</li> | ||
{% endif %} | ||
<li class="nav-item py-2"> | ||
{% url 'main:teams' as url_name %}{% include "base/button.html" with name="Команды" %} | ||
</li> | ||
{% if not request.user.is_agent %} | ||
<li class="nav-item py-2"> | ||
{% url 'main:staffs' as url_name %}{% include "base/button.html" with name="Персонал команд" %} | ||
</li> | ||
{% endif %} | ||
<li class="nav-item py-2"> | ||
{% url 'competitions:competitions' as url_name %}{% include "base/button.html" with name="Соревнования" %} | ||
</li> | ||
{% if not request.user.is_agent %} | ||
<li class="nav-item py-2"> | ||
{% url 'analytics:analytics' as url_name %}{% include "base/button.html" with name="Аналитика" %} | ||
</li> | ||
{% endif %} | ||
{% if request.user.is_admin %} | ||
<li class="nav-item py-2"> | ||
{% url 'unloads:unloads' as url_name %}{% include "base/button.html" with name="Выгрузки" %} | ||
</li> | ||
{% endif %} | ||
{% if not request.user.is_agent %} | ||
<li class="nav-item py-2"> | ||
{% url 'games:games' as url_name %}{% include "base/button.html" with name="Игры" %} | ||
</li> | ||
{% endif %} | ||
</ul> | ||
<button | ||
onclick="toggle_visibility(false);" | ||
class="nav-button" | ||
type="button" | ||
aria-controls="staticBackdrop" | ||
aria-expanded="true" | ||
> | ||
{% include "base/triangle.html" %} | ||
</button> | ||
</div> | ||
</aside> | ||
{% endif %} | ||
{% if not request.user.is_moderator %} | ||
<aside id="container__fluid" class="aside-navbar"> | ||
<div class="navbar-container"> | ||
<ul class="navigate"> | ||
<div class="py-5 logo-zone"> | ||
<div class="col-auto flex justify-end"> | ||
<span class="logo-img"> | ||
<img src="https://paraicehockey.ru/wp-content/uploads/2022/02/FAH_q.png" width="100" height="100"> | ||
</span> | ||
</div> | ||
<div class="col text-white flex justify-start"> | ||
Мир хоккея<br>для особенных<br>детей | ||
</div> | ||
</div> | ||
{% if not request.user.is_agent %} | ||
<li class="nav-item py-2 list-group"> | ||
{% url 'main:players' as url_name %}{% include "base/button.html" with name="Игроки" %} | ||
</li> | ||
<li class="nav-item py-2"> | ||
{% url 'users:users' as url_name %}{% include "base/button.html" with name="Пользователи" %} | ||
</li> | ||
{% endif %} | ||
<li class="nav-item py-2"> | ||
{% url 'main:teams' as url_name %}{% include "base/button.html" with name="Команды" %} | ||
</li> | ||
{% if not request.user.is_agent %} | ||
<li class="nav-item py-2"> | ||
{% url 'main:staffs' as url_name %}{% include "base/button.html" with name="Персонал команд" %} | ||
</li> | ||
{% endif %} | ||
<li class="nav-item py-2"> | ||
{% url 'competitions:competitions' as url_name %}{% include "base/button.html" with name="Соревнования" %} | ||
</li> | ||
{% if not request.user.is_agent %} | ||
<li class="nav-item py-2"> | ||
{% url 'analytics:analytics' as url_name %}{% include "base/button.html" with name="Аналитика" %} | ||
</li> | ||
{% endif %} | ||
{% if request.user.is_admin %} | ||
<li class="nav-item py-2"> | ||
{% url 'unloads:unloads' as url_name %}{% include "base/button.html" with name="Выгрузки" %} | ||
</li> | ||
{% endif %} | ||
</ul> | ||
<button | ||
onclick="toggle_visibility(false);" | ||
class="nav-button" | ||
type="button" | ||
aria-controls="staticBackdrop" | ||
aria-expanded="true" | ||
> | ||
{% include "base/triangle.html" %} | ||
</button> | ||
</div> | ||
</aside> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters