diff --git a/BookStoreApp.Blazor.Server.UI/Pages/Authors/Create.razor b/BookStoreApp.Blazor.Server.UI/Pages/Authors/Create.razor index cb7d950..efe450d 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/Authors/Create.razor +++ b/BookStoreApp.Blazor.Server.UI/Pages/Authors/Create.razor @@ -4,50 +4,62 @@ @attribute [Authorize(Roles = "Administrator")] New Author + -
-
- +
+

Create New Author

-
- - - + + + -
+
+ +
- +
-
+ +
+
-
+
+ +
+
-
+
+ +
- +
+
- - - -
+
+
+ +
+
+
+ @code { private AuthorCreateDto AuthorModel = new(); diff --git a/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor b/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor index 85181bc..03205f9 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor +++ b/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor @@ -45,8 +45,8 @@ else First Name - Last Name - Alias + Last Name + Alias @@ -55,23 +55,27 @@ else { @author.FirstName - @author.LastName - @author.Alias + @author.LastName + @author.Alias Details - - Edit - - - - - + + + + + + + + + + Edit + Delete + + diff --git a/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor.css b/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor.css index 46800d1..4c4d1f1 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor.css +++ b/BookStoreApp.Blazor.Server.UI/Pages/Authors/Index.razor.css @@ -1,2 +1,7 @@ body { } + +tr { + font-size: 1.2em; + font-weight: 500; +} diff --git a/BookStoreApp.Blazor.Server.UI/Pages/Books/Create.razor b/BookStoreApp.Blazor.Server.UI/Pages/Books/Create.razor index ad2898c..1480153 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/Books/Create.razor +++ b/BookStoreApp.Blazor.Server.UI/Pages/Books/Create.razor @@ -2,7 +2,6 @@ @attribute [Authorize(Roles = "Administrator")] New Book -
diff --git a/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor b/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor index c497f73..93ebe8a 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor +++ b/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor @@ -4,7 +4,6 @@ Books - @if (!response.Success) {
@@ -41,8 +40,8 @@ else Image - Title - Price + Title + Price Author @@ -51,11 +50,16 @@ else @foreach (var book in BooksList) { + @* Image *@ @book.Title - @book.Title - @book.Price.ToString("C") - @book.AuthorName - + @* Title *@ + @book.Title + @* Price *@ + @book.Price.ToString("C") + @* Author *@ + @book.AuthorName + @* Actions *@ + Details @@ -83,6 +87,8 @@ else
} } + + @code { private List BooksList; private Response> response = new Response> { Success = true }; diff --git a/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor.css b/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor.css index 2f210a9..78867c9 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor.css +++ b/BookStoreApp.Blazor.Server.UI/Pages/Books/Index.razor.css @@ -20,3 +20,8 @@ position: absolute; } +tr { + font-size: 1.2em; + font-weight: 500; +} + diff --git a/BookStoreApp.Blazor.Server.UI/Pages/Users/Login.razor b/BookStoreApp.Blazor.Server.UI/Pages/Users/Login.razor index d3cff27..f132df0 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/Users/Login.razor +++ b/BookStoreApp.Blazor.Server.UI/Pages/Users/Login.razor @@ -24,7 +24,7 @@
- +
Sign Up diff --git a/BookStoreApp.Blazor.Server.UI/Pages/_Layout.cshtml b/BookStoreApp.Blazor.Server.UI/Pages/_Layout.cshtml index 34864ec..4d19d42 100644 --- a/BookStoreApp.Blazor.Server.UI/Pages/_Layout.cshtml +++ b/BookStoreApp.Blazor.Server.UI/Pages/_Layout.cshtml @@ -8,6 +8,14 @@ + + + + + + + + diff --git a/BookStoreApp.Blazor.Server.UI/Shared/MainLayout.razor b/BookStoreApp.Blazor.Server.UI/Shared/MainLayout.razor index a9510f6..c6cbbbd 100644 --- a/BookStoreApp.Blazor.Server.UI/Shared/MainLayout.razor +++ b/BookStoreApp.Blazor.Server.UI/Shared/MainLayout.razor @@ -30,7 +30,7 @@ @* Account *@ - + @context.User.Identity.Name.Substring(0,1).ToUpper() @@ -47,13 +47,13 @@ @* Side Nav *@ - + @* Main Content *@ - + @Body diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon.ico b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon.ico deleted file mode 100644 index 63e859b..0000000 Binary files a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon.ico and /dev/null differ diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/apple-touch-icon.png b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/apple-touch-icon.png new file mode 100644 index 0000000..e38c2f1 Binary files /dev/null and b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/apple-touch-icon.png differ diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon-96x96.png b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon-96x96.png new file mode 100644 index 0000000..7ecc5b9 Binary files /dev/null and b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon-96x96.png differ diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon.ico b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon.ico new file mode 100644 index 0000000..883b0d8 Binary files /dev/null and b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon.ico differ diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon.svg b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon.svg new file mode 100644 index 0000000..a2249d5 --- /dev/null +++ b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/favicon.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/site.webmanifest b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/site.webmanifest new file mode 100644 index 0000000..6fbcf20 --- /dev/null +++ b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "MyWebSite", + "short_name": "MySite", + "icons": [ + { + "src": "/favicon/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/favicon/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/web-app-manifest-192x192.png b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/web-app-manifest-192x192.png new file mode 100644 index 0000000..2ae0d68 Binary files /dev/null and b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/web-app-manifest-192x192.png differ diff --git a/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/web-app-manifest-512x512.png b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/web-app-manifest-512x512.png new file mode 100644 index 0000000..9fb4f80 Binary files /dev/null and b/BookStoreApp.Blazor.Server.UI/wwwroot/favicon/web-app-manifest-512x512.png differ