documentation page

This commit is contained in:
SBD
2024-07-15 14:20:53 +03:00
parent 5f207aed36
commit 3668d7a549
3 changed files with 51 additions and 5 deletions

View File

@@ -72,7 +72,7 @@
<div class="tree_documentation_container_first_level">
<div class="tree_documentation_container_first_line">
{% if obj.children %}
<picture class="tree_documentation_arrow_picture" onclick="showContentPartTree(this)">
<picture class="tree_documentation_arrow_picture" onclick="showContentPartTree(this)" {% if obj.active %}style="rotate: 180deg;"{% endif %}>
<source srcset="{% static "images/arrow_for_documentation_switcher.svg" %}">
<img class="tree_documentation_arrow_img" src="{% static "images/arrow_for_documentation_switcher.svg" %}" alt="">
</picture>
@@ -88,7 +88,7 @@
<div class="tree_documentation_container_second_level">
<div class="tree_documentation_container_first_line">
{% if obj.children %}
<picture class="tree_documentation_arrow_picture" onclick="showContentPartTree(this)">
<picture class="tree_documentation_arrow_picture" onclick="showContentPartTree(this)" {% if obj.active %}style="rotate: 180deg;"{% endif %}>
<source srcset="{% static "images/arrow_for_documentation_switcher.svg" %}">
<img class="tree_documentation_arrow_img" src="{% static "images/arrow_for_documentation_switcher.svg" %}" alt="">
</picture>