2024-05-29 22:45:43 +04:00
|
|
|
|
using static PolyclinicWebAppSuretor.RestrictionEnum;
|
|
|
|
|
|
|
|
|
|
namespace PolyclinicWebAppSuretor
|
2024-04-30 19:59:10 +04:00
|
|
|
|
{
|
|
|
|
|
public static class SiteMenuItems
|
|
|
|
|
{
|
2024-05-29 22:45:43 +04:00
|
|
|
|
public static (string Url, string Title, PageVisible Visible) Index = ("", "Главная", PageVisible.AllowAnyBody);
|
|
|
|
|
public static (string Url, string Title, PageVisible Visible) Medicaments = ("Medicaments", "Лекарства", PageVisible.AllowOnlyAuthorized);
|
|
|
|
|
public static (string Url, string Title, PageVisible Visible) Procedures = ("Procedures", "Процедуры", PageVisible.AllowOnlyAuthorized);
|
|
|
|
|
public static (string Url, string Title, PageVisible Visible) Recipes = ("Recipes", "Рецепты", PageVisible.AllowOnlyAuthorized);
|
|
|
|
|
public static (string Url, string Title, PageVisible Visible) Login = ("Login", "Вход", PageVisible.AllowOnlyNotAuthorized);
|
|
|
|
|
public static (string Url, string Title, PageVisible Visible) Register = ("Register", "Регистрация", PageVisible.AllowOnlyNotAuthorized);
|
2024-05-29 23:48:37 +04:00
|
|
|
|
public static (string Url, string Title, PageVisible Visible) AddSymptomToMedicament = ("AddSymptomToMedicament", "Привязка симптома", PageVisible.AllowOnlyAuthorized);
|
2024-05-29 22:45:43 +04:00
|
|
|
|
public static (string Url, string Title, PageVisible Visible) ProceduresReport = ("ProceduresReport", "Отчет по процедурам", PageVisible.AllowOnlyAuthorized);
|
2024-05-29 23:48:37 +04:00
|
|
|
|
public static (string Url, string Title, PageVisible Visible) ListCoursesByProcedures = ("ListCoursesByProcedures", "Список курсов", PageVisible.AllowOnlyAuthorized);
|
2024-05-29 22:45:43 +04:00
|
|
|
|
public static (string Url, string Title, PageVisible Visible) Privacy = ("Privacy", "Личный кабинет", PageVisible.AllowOnlyAuthorized);
|
2024-04-30 19:59:10 +04:00
|
|
|
|
|
2024-05-29 22:45:43 +04:00
|
|
|
|
public static List<(string Url, string Title, PageVisible Visible)> MenuItemsOrder = new List<(string Url, string Title, PageVisible Visible)>
|
2024-04-30 19:59:10 +04:00
|
|
|
|
{
|
2024-05-29 22:45:43 +04:00
|
|
|
|
Index, Medicaments, Procedures, Recipes, ListCoursesByProcedures, Login, Register, AddSymptomToMedicament, ProceduresReport, Privacy
|
2024-04-30 19:59:10 +04:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|