- AddEnvironmentVariables() where appsettings.json is read directly - JWT ValidIssuer follows RSecurityBackend:ApplicationName (was hard-coded Ganjoor) - deploy/entrypoint.sh: copy settings RSecurityBackend reads only from appsettings.json - Dockerfile: pin SDK 10.0.302 (newer Razor rejects some upstream views) - lang=ur-PK; ganjoor.net own-site links -> relative; api.ganjoor.net -> APIRoot; search.xml - DIVAN.md: first admin password is Test!123 (upstream doc is wrong) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
97 lines
3.4 KiB
Plaintext
97 lines
3.4 KiB
Plaintext
@page
|
||
@model GanjooRazor.Pages.RecitationsOrderModel
|
||
@using DNTPersianUtils.Core
|
||
@{
|
||
Layout = null;
|
||
}
|
||
|
||
<!DOCTYPE html>
|
||
<html lang="ur-PK" dir="rtl">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<meta name="robots" content="noindex, nofollow" />
|
||
<title>اطلاعات رتبهبندی خوانشهای شعر</title>
|
||
<link href="~/css/p8.css" asp-append-version="true" rel="stylesheet" type="text/css" />
|
||
<partial name="_DivanHead" />
|
||
|
||
</head>
|
||
<body>
|
||
<div id="fa">
|
||
@if (!string.IsNullOrEmpty(Model.LastError))
|
||
{
|
||
<div class="width-100per">
|
||
<div class="width-100per text-align-center">
|
||
<p class="alert-text">
|
||
@Model.LastError
|
||
</p>
|
||
</div>
|
||
</div>
|
||
}
|
||
else
|
||
{
|
||
<div class="poem">
|
||
<h2>اطلاعات رتبهبندی خوانشهای شعر</h2>
|
||
<table>
|
||
<tr>
|
||
<th>
|
||
خوانش
|
||
</th>
|
||
<th>
|
||
امتیاز سابقه
|
||
</th>
|
||
<th>
|
||
آرای کاربران *
|
||
</th>
|
||
<th>
|
||
امتیاز منفی اشکالات × ۵
|
||
</th>
|
||
<th>
|
||
امتیاز نهایی
|
||
</th>
|
||
<th>
|
||
ترتیب
|
||
</th>
|
||
</tr>
|
||
@foreach (var score in Model.Scores)
|
||
{
|
||
<tr id="@($"a{score.RecitationId}")">
|
||
<td>
|
||
@($"{score.Recitation.AudioTitle} به خوانش {score.Recitation.AudioArtist}")
|
||
</td>
|
||
<td>
|
||
@((score.EarlynessAdvantage + score.InitialScore).ToPersianNumbers())
|
||
</td>
|
||
<td>
|
||
@score.UpVotes.ToPersianNumbers()
|
||
</td>
|
||
<td>
|
||
-۵ × @score.Mistakes.ToPersianNumbers()
|
||
</td>
|
||
<td>
|
||
@score.TotalScores.ToPersianNumbers()
|
||
</td>
|
||
<td>
|
||
@score.ComputedOrder.ToPersianNumbers()
|
||
</td>
|
||
|
||
</tr>
|
||
}
|
||
</table>
|
||
|
||
<p>
|
||
* رأی ثبت شده توسط کاربر مالک خوانش در محاسبه لحاظ نمیشود.
|
||
</p>
|
||
<p>
|
||
* خوانشهایی که یک کاربر به آنها رأی داده (آنها را نشان کرده) در بازدید مجدد از شعر برای خود او فارغ از رتبهبندی دیوان بالاتر از بقیهٔ خوانشها نمایش داده میشود.
|
||
</p>
|
||
|
||
|
||
</div>
|
||
|
||
}
|
||
</div>
|
||
</body>
|
||
</html>
|
||
|