From 568d8eec854f842609176a88f71ed19e732c56af Mon Sep 17 00:00:00 2001 From: Kamrul Hasan Date: Fri, 12 Oct 2018 22:30:46 +0600 Subject: [PATCH 1/2] change categories header design and small modify statusLabels design --- .../Views/Categories/Create.cshtml | 13 +- .../Views/Categories/Details.cshtml | 119 ++++++++++-------- .../Views/Categories/Edit.cshtml | 23 +++- .../Views/Categories/Index.cshtml | 15 ++- .../Views/StatusLabels/Create.cshtml | 14 ++- .../Views/StatusLabels/Details.cshtml | 2 +- .../Views/StatusLabels/Edit.cshtml | 16 +-- 7 files changed, 126 insertions(+), 76 deletions(-) diff --git a/src/AssetManager.Web/Views/Categories/Create.cshtml b/src/AssetManager.Web/Views/Categories/Create.cshtml index 6ee79f6..d09a12b 100644 --- a/src/AssetManager.Web/Views/Categories/Create.cshtml +++ b/src/AssetManager.Web/Views/Categories/Create.cshtml @@ -4,7 +4,18 @@ ViewData["Title"] = "Create"; } -

Create Category

+ +
+
+
+

Create

+

Category

+
+
+ Back +
+
+

diff --git a/src/AssetManager.Web/Views/Categories/Details.cshtml b/src/AssetManager.Web/Views/Categories/Details.cshtml index 4cc1ba3..22cee91 100644 --- a/src/AssetManager.Web/Views/Categories/Details.cshtml +++ b/src/AssetManager.Web/Views/Categories/Details.cshtml @@ -4,57 +4,72 @@ ViewData["Title"] = "Details"; } -

Details

- -
-

Category

-
-
-
- @Html.DisplayNameFor(model => model.Name) -
-
- @Html.DisplayFor(model => model.Name) -
-
- @Html.DisplayNameFor(model => model.EulaText) -
-
- @Html.DisplayFor(model => model.EulaText) -
-
- @Html.DisplayNameFor(model => model.DefaultEula) -
-
- @Html.DisplayFor(model => model.DefaultEula) -
-
- @Html.DisplayNameFor(model => model.Type) -
-
- @Html.DisplayFor(model => model.Type) -
-
- @Html.DisplayNameFor(model => model.CheckInEmail) -
-
- @Html.DisplayFor(model => model.CheckInEmail) -
-
- @Html.DisplayNameFor(model => model.Image) -
-
- @Html.DisplayFor(model => model.Image) -
-
- @Html.DisplayNameFor(model => model.Id) -
-
- @Html.DisplayFor(model => model.Id) -
-
+
+
+
+

Details Category

+
+
+ Back +
+
+
- @Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) | - Back to List -
+
+
+
+
+
+ @Html.DisplayNameFor(model => model.Name) +
+
+ @Html.DisplayFor(model => model.Name) +
+
+ @Html.DisplayNameFor(model => model.EulaText) +
+
+ @Html.DisplayFor(model => model.EulaText) +
+
+ @Html.DisplayNameFor(model => model.DefaultEula) +
+
+ @Html.DisplayFor(model => model.DefaultEula) +
+
+ @Html.DisplayNameFor(model => model.Type) +
+
+ @Html.DisplayFor(model => model.Type) +
+
+ @Html.DisplayNameFor(model => model.CheckInEmail) +
+
+ @Html.DisplayFor(model => model.CheckInEmail) +
+
+ @Html.DisplayNameFor(model => model.Image) +
+
+ @Html.DisplayFor(model => model.Image) +
+
+ @Html.DisplayNameFor(model => model.Id) +
+
+ @Html.DisplayFor(model => model.Id) +
+
+
+ + + +
+
+
\ No newline at end of file diff --git a/src/AssetManager.Web/Views/Categories/Edit.cshtml b/src/AssetManager.Web/Views/Categories/Edit.cshtml index 7dc0a96..4510c81 100644 --- a/src/AssetManager.Web/Views/Categories/Edit.cshtml +++ b/src/AssetManager.Web/Views/Categories/Edit.cshtml @@ -4,7 +4,16 @@ ViewData["Title"] = "Edit"; } -

Edit Category

+
+
+
+

Edit Category

+
+
+ Back +
+
+

@@ -70,12 +79,16 @@
-
-
-
- +
+
+
diff --git a/src/AssetManager.Web/Views/Categories/Index.cshtml b/src/AssetManager.Web/Views/Categories/Index.cshtml index 5003098..c9d93af 100644 --- a/src/AssetManager.Web/Views/Categories/Index.cshtml +++ b/src/AssetManager.Web/Views/Categories/Index.cshtml @@ -4,11 +4,18 @@ ViewData["Title"] = "Index"; } -

Index

+
+
+
+

Category

+
+ +
+
+ -

- Create New -

diff --git a/src/AssetManager.Web/Views/StatusLabels/Create.cshtml b/src/AssetManager.Web/Views/StatusLabels/Create.cshtml index f460610..ab0cd7f 100644 --- a/src/AssetManager.Web/Views/StatusLabels/Create.cshtml +++ b/src/AssetManager.Web/Views/StatusLabels/Create.cshtml @@ -66,12 +66,14 @@
- diff --git a/src/AssetManager.Web/Views/StatusLabels/Details.cshtml b/src/AssetManager.Web/Views/StatusLabels/Details.cshtml index 0f54bf9..b06fdf6 100644 --- a/src/AssetManager.Web/Views/StatusLabels/Details.cshtml +++ b/src/AssetManager.Web/Views/StatusLabels/Details.cshtml @@ -11,7 +11,7 @@

Details Status Label

- Back + Back
diff --git a/src/AssetManager.Web/Views/StatusLabels/Edit.cshtml b/src/AssetManager.Web/Views/StatusLabels/Edit.cshtml index 60411cd..3daf12b 100644 --- a/src/AssetManager.Web/Views/StatusLabels/Edit.cshtml +++ b/src/AssetManager.Web/Views/StatusLabels/Edit.cshtml @@ -11,7 +11,7 @@

Edit Status Label

- Back + Back
@@ -62,12 +62,14 @@ - -