#254 collapsing / expanding the recitations section

This commit is contained in:
Hamid Reza Mohammadi 2021-12-04 09:19:03 +03:30
parent ff3548e097
commit 44760fa653

View File

@ -270,7 +270,7 @@
<div class="related-images-frame">
<div class="century">
ابزارها <a role="button" class="w3tooltip" id="tools-collapse" style="cursor: pointer;" onclick="switch_section('tools-section', 'tools-collapse-button')"><i class="info-buttons" id="tools-collapse-button" style="transform: rotate(180deg)">expand_circle_down</i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
ابزارها <a role="button" class="w3tooltip" style="cursor: pointer;" onclick="switch_section('tools-section', 'tools-collapse-button')"><i class="info-buttons" id="tools-collapse-button" style="transform: rotate(180deg)">expand_circle_down</i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
</div>
<div id="tools-section">
<p>
@ -374,9 +374,11 @@
{
<div class="related-images-frame">
<div class="century">
@(Model.GanjoorPage.Poem.Recitations.Length > 1 ? "خوانش‌ها" : "خوانش")
@(Model.GanjoorPage.Poem.Recitations.Length > 1 ? "خوانش‌ها" : "خوانش") <a role="button" class="w3tooltip" style="cursor: pointer;" onclick="switch_section('recitations-section', 'recitations-collapse-button')"><i class="info-buttons" id="recitations-collapse-button" style="transform: rotate(180deg)">expand_circle_down</i><span class="w3tooltiptext">جمع شود / باز شود</span></a>
</div>
<div id="recitations-section">
<partial name="_AudioPlayerPartial" model=Model.GetRecitationsModel(Model.GanjoorPage.Poem.Recitations) />
</div>
<partial name="_AudioPlayerPartial" model=Model.GetRecitationsModel(Model.GanjoorPage.Poem.Recitations) />
</div>
}
}