divan/DivanRazor/Pages/Shared/_ErrorModal.cshtml
Anas Rashid 532d005cdb Rename Ganjoor -> Divan throughout the code
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>
2026-10-04 23:49:01 +02:00

15 lines
970 B
Plaintext

@* Styled, non-auto-dismissing display for a service error's full text (these often carry the
backend's exception message and stack trace, which upToast's few-second toast never gave
anyone enough time to actually read before it faded out). Included once by
_UserPanelLayout.cshtml. Trigger with JS: upShowError(message) *@
<div class="up-modal-backdrop" id="upErrorBackdrop" hidden>
<div class="up-modal up-modal--error" role="alertdialog" aria-modal="true" aria-labelledby="upErrorTitle">
<p id="upErrorTitle" class="up-modal__message">خطایی در ارتباط با سرویس رخ داد:</p>
<pre id="upErrorDetails" class="up-modal__details"></pre>
<div class="up-modal__actions">
<button type="button" class="up-btn up-btn--ghost" id="upErrorCopy">کپی متن خطا</button>
<button type="button" class="up-btn up-btn--danger" id="upErrorClose">بستن</button>
</div>
</div>
</div>