Бамп версии до 9 и добавил выбор института
All checks were successful
Build and deploy / Publish image (push) Successful in 3m33s

This commit is contained in:
2025-01-21 02:11:52 +03:00
parent e85cb89e1c
commit bb2c2328f5
21 changed files with 127 additions and 30 deletions

View File

@@ -5,8 +5,8 @@
private Dictionary<string, string> _links = new()
{
{ "Анкета", "/otchislenie/questionnaire" },
{ "Заявление", "/otchislenie/statement" },
{ "Анкета", "/questionnaire" },
{ "Заявление", "/statement" },
{ "Отправка", "/otchislenie/result" },
{ "Свобода", "/otchislenie/congratulation" }
};
@@ -17,11 +17,10 @@
base.OnInitialized();
switch (Navigation.ToBaseRelativePath(Navigation.Uri))
{
case "otchislenie/questionnaire":
case "otchislenie":
case "questionnaire":
_lvl = 1;
break;
case "otchislenie/statement":
case "statement":
_lvl = 2;
break;
case "otchislenie/result":
@@ -37,7 +36,7 @@
<footer class="card fixed bottom-0 w-96 sm:w-[32rem] h-20 bg-base-200 rounded-badge p-4 mb-3">
<div class="flex justify-center items-center">
<ul class="steps justify-center center w-full text-sm">
<a href="/" class="step step-primary text-gray-500">Выбор</a>
<a href="chooseinstitut" class="step step-primary text-gray-500">Выбор</a>
@foreach (int i in Enumerable.Range(1, 4))
{
if (_lvl == 4 && i == 4)