divan/GanjooRazor/Pages/Recitations/RecitationsOrder.cshtml
Anas Rashid 1811572d9e Divan: Urdu classical poetry fork of GanjoorService
- Rebrand گنجور -> دیوان across GanjooRazor; lang=ur; Urdu home page and footer
- Hijri century groups with Urdu names
- Noto Nastaliq Urdu (default) / Noto Naskh Arabic switch
- Remove footer links to Ganjoor-only services; link Wikisource, data and code
- Linux deployment: Dockerfile, docker-compose (SQL Server 2022, API, site, Caddy)
- DIVAN.md: changes and deploy guide

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:14:25 +02:00

97 lines
3.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@page
@model GanjooRazor.Pages.RecitationsOrderModel
@using DNTPersianUtils.Core
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="ur" 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>