+ @{
+ if (Model == null)
+ {
+
Авторизируйтесь
+ return;
+ }
+
+ Редактировать болезнь
+ Удалить болезнь
+
+
+ Создать болезнь
+
+
+
+
+
+ Номер
+ |
+
+ Название
+ |
+
+ Описание
+ |
+
+
+
+
+ @foreach (var item in Model)
+ {
+
+
+ @Html.DisplayFor(modelItem => item.Id)
+ |
+
+
+ @Html.DisplayFor(modelItem => item.Name)
+ |
+
+ @Html.DisplayFor(modelItem => item.Description)
+ |
+
+
+ }
+
+
+ }
+
diff --git a/Hospital/PharmacistApp/Views/Home/IndexProceduress.cshtml b/Hospital/PharmacistApp/Views/Home/IndexProceduress.cshtml
new file mode 100644
index 0000000..ab01bce
--- /dev/null
+++ b/Hospital/PharmacistApp/Views/Home/IndexProceduress.cshtml
@@ -0,0 +1,63 @@
+@using HospitalContracts.ViewModels
+
+@model List
+
+@{
+ ViewData["Title"] = "IndexRecipe";
+}
+
+
+
Рецепты
+
+
+
+ @{
+ if (Model == null)
+ {
+
Авторизируйтесь
+ return;
+ }
+
+ Редактировать рецепт
+ Удалить рецепт
+ Связать рецепт и пациента
+
+
+ Создать рецепт
+
+
+
+
+
+ Номер
+ |
+
+ Описание
+ |
+
+ Дата
+ |
+
+
+
+
+ @foreach (var item in Model)
+ {
+
+
+ @Html.DisplayFor(modelItem => item.Id)
+ |
+
+
+ @Html.DisplayFor(modelItem => item.Description)
+ |
+
+ @Html.DisplayFor(modelItem => item.IssueDate)
+ |
+
+
+ }
+
+
+ }
+
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Home/LinkMedicineAndRecipe.cshtml b/Hospital/PharmacistApp/Views/Home/LinkMedicineAndRecipe.cshtml
new file mode 100644
index 0000000..384b77e
--- /dev/null
+++ b/Hospital/PharmacistApp/Views/Home/LinkMedicineAndRecipe.cshtml
@@ -0,0 +1,28 @@
+@{
+ ViewData["Title"] = "CreateDisease";
+}
+
+
+
+
+
+
diff --git a/Hospital/PharmacistApp/Views/Home/MedicineRecipe.cshtml b/Hospital/PharmacistApp/Views/Home/MedicineRecipe.cshtml
deleted file mode 100644
index eb635f5..0000000
--- a/Hospital/PharmacistApp/Views/Home/MedicineRecipe.cshtml
+++ /dev/null
@@ -1,65 +0,0 @@
-@using HospitalContracts.ViewModels;
-
-@{
- ViewData["Title"] = "MedicineRecipe";
-}
-
-
-
Связывание лекарства и рецепта
-
-
-
-@section Scripts
-{
-
-}
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Home/Privacy.cshtml b/Hospital/PharmacistApp/Views/Home/Privacy.cshtml
index 3cf926f..5857762 100644
--- a/Hospital/PharmacistApp/Views/Home/Privacy.cshtml
+++ b/Hospital/PharmacistApp/Views/Home/Privacy.cshtml
@@ -1,28 +1,60 @@
@using HospitalContracts.ViewModels
-@model PharmacistViewModel
+@model DoctorViewModel
@{
- ViewData["Title"] = "Privacy Policy";
+ ViewData["Title"] = "Privacy";
}
+
+
+
-
Личные данные
+ Мои данные
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Hospital/PharmacistApp/Views/Home/Procedure.cshtml b/Hospital/PharmacistApp/Views/Home/Procedure.cshtml
deleted file mode 100644
index 8a00e93..0000000
--- a/Hospital/PharmacistApp/Views/Home/Procedure.cshtml
+++ /dev/null
@@ -1,51 +0,0 @@
-@using HospitalContracts.ViewModels
-@model List
-@{
- ViewData["Title"] = "Procedures";
-}
-
-
Процедуры
-
-
- @{
- if (Model == null)
- {
-
Авторизируйтесь
- return;
- }
-
- Создать процедуру
- Обновить процедуру
- Удалить процедуру
-
-
-
-
-
- Номер
- |
-
- Название
- |
-
-
-
-
- @foreach (var item in Model)
- {
-
-
- @Html.DisplayFor(modelItem =>
- item.Id)
- |
-
- @Html.DisplayFor(modelItem =>
- item.Name)
- |
-
-
- }
-
-
- }
-
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Home/Register.cshtml b/Hospital/PharmacistApp/Views/Home/Register.cshtml
new file mode 100644
index 0000000..85e4a99
--- /dev/null
+++ b/Hospital/PharmacistApp/Views/Home/Register.cshtml
@@ -0,0 +1,45 @@
+@{
+ ViewData["Title"] = "Register";
+}
+
+
+
+
+
Регистрация
+
+
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Home/Registr.cshtml b/Hospital/PharmacistApp/Views/Home/Registr.cshtml
deleted file mode 100644
index d5bf6be..0000000
--- a/Hospital/PharmacistApp/Views/Home/Registr.cshtml
+++ /dev/null
@@ -1,48 +0,0 @@
-@{
- ViewData["Title"] = "Register";
-}
-
-< div class= "text-center" >
-
- < h2 class= "display-4" > Регистрация h2 >
- div >
-< form method = "post" >
-
- < div class= "row" >
-
- < div class= "col-4" > Email: div >
-
- < div class= "col-8" >< input type = "text" name = "email" /> div >
-
- div >
-
- < div class= "row" >
-
- < div class= "col-4" > Пароль: div >
-
- < div class= "col-8" >< input type = "password" name = "password" /> div >
-
- div >
-
- < div class= "row" >
-
- < div class= "col-4" > ФИО: div >
-
- < div class= "col-8" >< input type = "text" name = "fio" /> div >
-
- div >
-
- < div class= "row" >
-
- < div class= "col-8" > div >
-
- < div class= "col-4" >
-
- < input type = "submit" value = "Регистрация"
-
- class= "btn btn-primary" />
-
- div >
-
- div >
- form >
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Home/UpdateDescriptionProcedure.cshtml b/Hospital/PharmacistApp/Views/Home/UpdateDescriptionProcedure.cshtml
index 59dbd59..384b77e 100644
--- a/Hospital/PharmacistApp/Views/Home/UpdateDescriptionProcedure.cshtml
+++ b/Hospital/PharmacistApp/Views/Home/UpdateDescriptionProcedure.cshtml
@@ -1,65 +1,28 @@
@{
- ViewData["Title"] = "UpdateDescriptionProcedure";
+ ViewData["Title"] = "CreateDisease";
}
-
-
Обновление описания к процедуре
-
+
+
+
+
-
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Home/UpdateMedicine.cshtml b/Hospital/PharmacistApp/Views/Home/UpdateMedicine.cshtml
index ce57f2f..384b77e 100644
--- a/Hospital/PharmacistApp/Views/Home/UpdateMedicine.cshtml
+++ b/Hospital/PharmacistApp/Views/Home/UpdateMedicine.cshtml
@@ -1,56 +1,28 @@
-@using HospitalContracts.ViewModels;
-
-@{
- ViewData["Title"] = "UpdateMedicine";
+@{
+ ViewData["Title"] = "CreateDisease";
}
-
-
Редактирование лекарства
-
+
+
+
+
-
-@section Scripts
-{
-
-}
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Home/UpdateProcedure.cshtml b/Hospital/PharmacistApp/Views/Home/UpdateProcedure.cshtml
index 92a5621..384b77e 100644
--- a/Hospital/PharmacistApp/Views/Home/UpdateProcedure.cshtml
+++ b/Hospital/PharmacistApp/Views/Home/UpdateProcedure.cshtml
@@ -1,71 +1,28 @@
-@using HospitalContracts.ViewModels;
-
-@{
- ViewData["Title"] = "UpdateProcedure";
+@{
+ ViewData["Title"] = "CreateDisease";
}
-
-
Редактирование процедуры
-
+
+
+
+
-
-@section Scripts
- {
-
-}
\ No newline at end of file
diff --git a/Hospital/PharmacistApp/Views/Shared/Error.cshtml b/Hospital/PharmacistApp/Views/Shared/Error.cshtml
new file mode 100644
index 0000000..a1e0478
--- /dev/null
+++ b/Hospital/PharmacistApp/Views/Shared/Error.cshtml
@@ -0,0 +1,25 @@
+@model ErrorViewModel
+@{
+ ViewData["Title"] = "Error";
+}
+
+Error.
+An error occurred while processing your request.
+
+@if (Model.ShowRequestId)
+{
+
+ Request ID: @Model.RequestId
+
+}
+
+Development Mode
+
+ Swapping to Development environment will display more detailed information about the error that occurred.
+
+
+ The Development environment shouldn't be enabled for deployed applications.
+ It can result in displaying sensitive information from exceptions to end users.
+ For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development
+ and restarting the app.
+
diff --git a/Hospital/PharmacistApp/Views/Shared/_Layout.cshtml b/Hospital/PharmacistApp/Views/Shared/_Layout.cshtml
new file mode 100644
index 0000000..bb5bd21
--- /dev/null
+++ b/Hospital/PharmacistApp/Views/Shared/_Layout.cshtml
@@ -0,0 +1,61 @@
+
+
+
+
+
+ @ViewData["Title"] - HospitalDoctorApp
+
+
+
+
+
+
+
+
+ @RenderBody()
+
+
+
+
+
+
+
+ @await RenderSectionAsync("Scripts", required: false)
+
+
diff --git a/Hospital/PharmacistApp/Views/Shared/_Layout.cshtml.css b/Hospital/PharmacistApp/Views/Shared/_Layout.cshtml.css
new file mode 100644
index 0000000..a72cbea
--- /dev/null
+++ b/Hospital/PharmacistApp/Views/Shared/_Layout.cshtml.css
@@ -0,0 +1,48 @@
+/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
+for details on configuring this project to bundle and minify static web assets. */
+
+a.navbar-brand {
+ white-space: normal;
+ text-align: center;
+ word-break: break-all;
+}
+
+a {
+ color: #0077cc;
+}
+
+.btn-primary {
+ color: #fff;
+ background-color: #1b6ec2;
+ border-color: #1861ac;
+}
+
+.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
+ color: #fff;
+ background-color: #1b6ec2;
+ border-color: #1861ac;
+}
+
+.border-top {
+ border-top: 1px solid #e5e5e5;
+}
+.border-bottom {
+ border-bottom: 1px solid #e5e5e5;
+}
+
+.box-shadow {
+ box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
+}
+
+button.accept-policy {
+ font-size: 1rem;
+ line-height: inherit;
+}
+
+.footer {
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ white-space: nowrap;
+ line-height: 60px;
+}
diff --git a/Hospital/PharmacistApp/Views/Shared/_ValidationScriptsPartial.cshtml b/Hospital/PharmacistApp/Views/Shared/_ValidationScriptsPartial.cshtml
new file mode 100644
index 0000000..5a16d80
--- /dev/null
+++ b/Hospital/PharmacistApp/Views/Shared/_ValidationScriptsPartial.cshtml
@@ -0,0 +1,2 @@
+
+
diff --git a/Hospital/PharmacistApp/Views/Shared/_ViewImports.cshtml b/Hospital/PharmacistApp/Views/_ViewImports.cshtml
similarity index 74%
rename from Hospital/PharmacistApp/Views/Shared/_ViewImports.cshtml
rename to Hospital/PharmacistApp/Views/_ViewImports.cshtml
index 6bab998..ffec535 100644
--- a/Hospital/PharmacistApp/Views/Shared/_ViewImports.cshtml
+++ b/Hospital/PharmacistApp/Views/_ViewImports.cshtml
@@ -1,3 +1,3 @@
-@using PharmacistApp
+@using HospitalDoctorApp
@using PharmacistApp.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
diff --git a/Hospital/PharmacistApp/Views/Shared/_ViewStart.cshtml b/Hospital/PharmacistApp/Views/_ViewStart.cshtml
similarity index 100%
rename from Hospital/PharmacistApp/Views/Shared/_ViewStart.cshtml
rename to Hospital/PharmacistApp/Views/_ViewStart.cshtml
diff --git a/Hospital/PharmacistApp/appsettings.Development.json b/Hospital/PharmacistApp/appsettings.Development.json
index 770d3e9..0c208ae 100644
--- a/Hospital/PharmacistApp/appsettings.Development.json
+++ b/Hospital/PharmacistApp/appsettings.Development.json
@@ -1,5 +1,4 @@
{
- "DetailedErrors": true,
"Logging": {
"LogLevel": {
"Default": "Information",
diff --git a/Hospital/PharmacistApp/appsettings.json b/Hospital/PharmacistApp/appsettings.json
index a47a897..a1c4530 100644
--- a/Hospital/PharmacistApp/appsettings.json
+++ b/Hospital/PharmacistApp/appsettings.json
@@ -6,5 +6,5 @@
}
},
"AllowedHosts": "*",
- "IPAddress": "http://localhost:5025/"
+ "IPAddress": "http://localhost:5092/"
}