From 70f9bcaa1835e05d16851ff552f59d91f63a0b5c Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Mon, 29 Nov 2021 21:11:36 +0330 Subject: [PATCH] #250 moving audio js code to Index.cshtml --- GanjooRazor/Pages/Index.cshtml | 66 +++++++++++++++++--- GanjooRazor/Pages/_AudioPlayerPartial.cshtml | 52 +-------------- 2 files changed, 61 insertions(+), 57 deletions(-) diff --git a/GanjooRazor/Pages/Index.cshtml b/GanjooRazor/Pages/Index.cshtml index 0fb01f13..c9ea07f1 100644 --- a/GanjooRazor/Pages/Index.cshtml +++ b/GanjooRazor/Pages/Index.cshtml @@ -82,6 +82,58 @@ { if (Model.GanjoorPage != null && Model.GanjoorPage.Poem.Recitations.Length > 0) { + +
@for (var nRecitationIndex = 0; nRecitationIndex < Model.Recitations.Length; nRecitationIndex++) @@ -67,9 +18,10 @@