Добавил уведомление о том что нельзя распечатать или отправить
All checks were successful
Build and deploy / Publish image (push) Successful in 4m37s
All checks were successful
Build and deploy / Publish image (push) Successful in 4m37s
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
<JS For="this" Args="[AuthenticationStateProvider.GetAuthenticationStateAsync().Result.User.Identity?.IsAuthenticated]" />
|
||||
|
||||
<div class="relative">
|
||||
@* TODO: Дописать модальное окно *@
|
||||
<dialog id="info_modal" class="modal modal-bottom sm:modal-middle">
|
||||
<div class="modal-box">
|
||||
<h3 class="text-lg font-bold">Сервис отчислений</h3>
|
||||
@@ -35,7 +34,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</dialog>
|
||||
@* TODO: Исправить расположение названия *@
|
||||
<div
|
||||
class="text-center font-bold text-4xl md:text-5xl w-max absolute left-1/2 -top-1/2 transform -translate-x-1/2 italic">
|
||||
<br>Отчислятор 3000<br>
|
||||
|
||||
@@ -6,18 +6,19 @@
|
||||
|
||||
<PageTitle>Уже почти | Отчислятор 3000</PageTitle>
|
||||
|
||||
@* <dialog id="SendToDirectorModal" class="modal modal-bottom sm:modal-middle"> *@
|
||||
@* <div class="modal-box"> *@
|
||||
@* <h3 class="text-lg font-bold">Отправка письма</h3> *@
|
||||
@* <p class="py-4">Вы уверены что хотите отправить ваше заявление директору?<br>Отменить отправку невозможно!</p> *@
|
||||
@* <div class="modal-action"> *@
|
||||
@* <form method="dialog"> *@
|
||||
@* <button class="btn btn-primary">Нет</button> *@
|
||||
@* <a href="/otchislenie/congratulation" class="btn btn-error">Да</a> *@
|
||||
@* </form> *@
|
||||
@* </div> *@
|
||||
@* </div> *@
|
||||
@* </dialog> *@
|
||||
<dialog id="printModal" class="modal modal-bottom sm:modal-middle">
|
||||
<div class="modal-box">
|
||||
<h3 class="text-lg font-bold">Есть проблема...</h3>
|
||||
<p class="py-4 font-bold text-center">К сожалению отправить или распечатать заявление нельзя.</p>
|
||||
<img src="/img/write.png" class="h-80 my-4 mx-auto" alt=""/>
|
||||
<p class="text-center">Вам нужно написать его от руки, сфотографировать и отправить замдиректора по учебной работе на почту.</p>
|
||||
<div class="modal-action justify-center">
|
||||
<form method="dialog">
|
||||
<button class="btn btn-primary">Ок</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</dialog>
|
||||
|
||||
<div class="relative">
|
||||
<div
|
||||
@@ -25,15 +26,16 @@
|
||||
<br>Заявление готово
|
||||
</div>
|
||||
<object data="/getStatement" type="application/pdf" class="w-96 sm:w-[32rem] h-[30rem] rounded-2xl">
|
||||
<p class="text-center">Не удалось отобразить заявление, попробуйте скачать <a href="/getStatement">(тык) или открыть в браузере на основе Firefox</a></p>
|
||||
<p class="text-center">Не удалось отобразить заявление, попробуйте скачать <a href="/getStatement">(тык) или
|
||||
открыть в браузере на основе Firefox</a></p>
|
||||
</object>
|
||||
<div class="join w-full mt-4 flex gap-2">
|
||||
<a href="/" class="relative btn btn-primary rounded-full flex-grow-0 w-[3rem] h-[3rem]">
|
||||
<img class="absolute p-3" src="img/exit.svg" alt=""/>
|
||||
</a>
|
||||
<a href="/otchislenie/congratulation" class="btn btn-primary rounded-full flex-grow w-30">
|
||||
<button onclick="printModal.showModal()" class="btn btn-primary rounded-full flex-grow w-30">
|
||||
Печать
|
||||
</a>
|
||||
</button>
|
||||
<a id="downloadPDF" target="_blank" href="/getStatement"
|
||||
class="btn btn-primary bg-base-200 border-base-200 rounded-full flex-grow-0 w-[3rem]">
|
||||
@* Скачать PDF *@
|
||||
|
||||
BIN
src/Otchinslator/wwwroot/img/write.png
Normal file
BIN
src/Otchinslator/wwwroot/img/write.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 152 KiB |
Reference in New Issue
Block a user