Projects (GanjooRazor -> DivanRazor, GanjoorService.sln -> DivanService.sln), files, folders, classes, namespaces, settings, API routes (/api/divan) and DB tables (Divan*). External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed consistently (no pending model changes); requires a fresh database. Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
97 lines
3.4 KiB
Plaintext
97 lines
3.4 KiB
Plaintext
@page
|
||
@model DivanRazor.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>
|
||
|