@{
if (Model == null)
@@ -19,7 +18,7 @@ ProductMachineAdd
return;
}
- Создать изделие
+ Создать изделие
@@ -33,6 +32,9 @@ ProductMachineAdd
Цена
|
+
+ Станок
+ |
Привязка станка к изделию
|
@@ -57,6 +59,9 @@ ProductMachineAdd
@Html.DisplayFor(modelItem => item.Cost)
|
+
+ @Html.DisplayFor(modelItem => item.MachineName)
+ |
Привязать станок
|
@@ -64,7 +69,10 @@ ProductMachineAdd
Изменить
- Удалить
+
|
}
diff --git a/Course/ImplementerApp/Views/Home/IndexProduction.cshtml b/Course/ImplementerApp/Views/Home/IndexProduction.cshtml
index 6bdc916..3ef96cf 100644
--- a/Course/ImplementerApp/Views/Home/IndexProduction.cshtml
+++ b/Course/ImplementerApp/Views/Home/IndexProduction.cshtml
@@ -18,7 +18,7 @@
return;
}
- Создать производство
+ Создать производство
@@ -57,7 +57,10 @@
Изменить
- Удалить
+
|
}
diff --git a/Course/ImplementerApp/Views/Home/Privacy.cshtml b/Course/ImplementerApp/Views/Home/Privacy.cshtml
index dcde174..fa5d1b6 100644
--- a/Course/ImplementerApp/Views/Home/Privacy.cshtml
+++ b/Course/ImplementerApp/Views/Home/Privacy.cshtml
@@ -2,27 +2,87 @@
ViewData["Title"] = "Privacy Policy";
}
-
Личные данные
+ Личные данные
-
\ No newline at end of file
+
+
+
+
diff --git a/Course/ImplementerApp/Views/Home/ProductMachineAdd.cshtml b/Course/ImplementerApp/Views/Home/ProductMachineAdd.cshtml
index 37daa6a..2ecb2c8 100644
--- a/Course/ImplementerApp/Views/Home/ProductMachineAdd.cshtml
+++ b/Course/ImplementerApp/Views/Home/ProductMachineAdd.cshtml
@@ -7,7 +7,7 @@
}
-
Изделие - @ViewBag.Product
+ Изделие - @ViewBag.Product.Name
@@ -19,8 +19,9 @@
@machine.Title
-
diff --git a/Course/ImplementerApp/Views/Home/Register.cshtml b/Course/ImplementerApp/Views/Home/Register.cshtml
index 924d990..06d2595 100644
--- a/Course/ImplementerApp/Views/Home/Register.cshtml
+++ b/Course/ImplementerApp/Views/Home/Register.cshtml
@@ -1,33 +1,103 @@
@{
- ViewData["Title"] = "Register";
+ ViewData["Title"] = "Register";
}
-
Регистрация
+ Регистрация
-
\ No newline at end of file
+
+
+
+
diff --git a/Course/ImplementerApp/Views/Home/ReportsMenu.cshtml b/Course/ImplementerApp/Views/Home/ReportsMenu.cshtml
index caac5d0..dfbef55 100644
--- a/Course/ImplementerApp/Views/Home/ReportsMenu.cshtml
+++ b/Course/ImplementerApp/Views/Home/ReportsMenu.cshtml
@@ -6,6 +6,6 @@
Меню создания отчетов
diff --git a/Course/ImplementerApp/Views/Shared/_Layout.cshtml b/Course/ImplementerApp/Views/Shared/_Layout.cshtml
index ca5b590..ee64ee1 100644
--- a/Course/ImplementerApp/Views/Shared/_Layout.cshtml
+++ b/Course/ImplementerApp/Views/Shared/_Layout.cshtml
@@ -1,4 +1,8 @@
-
+@{
+ ViewData["Name"] = UserImplementer.user == null ? "Пользователь" : UserImplementer.user.Name;
+}
+
+
@@ -13,7 +17,8 @@
diff --git a/Course/ImplementerApp/log4net.config b/Course/ImplementerApp/log4net.config
new file mode 100644
index 0000000..1fd1998
--- /dev/null
+++ b/Course/ImplementerApp/log4net.config
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file