diff --git a/Moonlight/Shared/Components/Alerts/NotFoundAlert.razor b/Moonlight/Shared/Components/Alerts/NotFoundAlert.razor new file mode 100644 index 0000000..9f34dc1 --- /dev/null +++ b/Moonlight/Shared/Components/Alerts/NotFoundAlert.razor @@ -0,0 +1,33 @@ +
+
+
+
+ Not found illustration +
+

+ The requested resource was not found +

+
+ We were not able to find the requested resource. This can have following reasons + +
+
  • + The resource was deleted +
  • +
  • + You have no permission to access this resource +
  • +
  • + You may have entered invalid data +
  • +
  • + A unknown bug occured +
  • +
  • + An api was offline and not proper handled +
  • +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/Moonlight/Shared/Components/Navigations/AdminUsersNavigation.razor b/Moonlight/Shared/Components/Navigations/AdminUsersNavigation.razor index 956b307..7fe0445 100644 --- a/Moonlight/Shared/Components/Navigations/AdminUsersNavigation.razor +++ b/Moonlight/Shared/Components/Navigations/AdminUsersNavigation.razor @@ -1,14 +1,14 @@ -
    +
    diff --git a/Moonlight/Shared/Components/Partials/LazyLoader.razor b/Moonlight/Shared/Components/Partials/LazyLoader.razor index cc9d917..38078f6 100644 --- a/Moonlight/Shared/Components/Partials/LazyLoader.razor +++ b/Moonlight/Shared/Components/Partials/LazyLoader.razor @@ -6,10 +6,12 @@ else { if (ShowAsCard) { -
    -
    - - @(Text) +
    +
    +
    + + @(Text) +
    } @@ -17,7 +19,7 @@ else {
    - @(Text) + @(Text)
    } } diff --git a/Moonlight/Shared/Components/Partials/Tooltip.razor b/Moonlight/Shared/Components/Partials/Tooltip.razor new file mode 100644 index 0000000..416a37a --- /dev/null +++ b/Moonlight/Shared/Components/Partials/Tooltip.razor @@ -0,0 +1,9 @@ +
    + @ChildContent +
    + +@code +{ + [Parameter] + public RenderFragment ChildContent { get; set; } +} diff --git a/Moonlight/Shared/Views/Admin/Community/Filter.razor b/Moonlight/Shared/Views/Admin/Community/Filter.razor index 567dd7b..e8b3e27 100644 --- a/Moonlight/Shared/Views/Admin/Community/Filter.razor +++ b/Moonlight/Shared/Views/Admin/Community/Filter.razor @@ -9,12 +9,12 @@ @attribute [RequirePermission(Permission.AdminCommunity)] - + -
    - To protect from trollers and toxic people you can configure words using + + To protect from trollers and toxic people you can configure words using regex expressions to block automatically to ensure no one can write bad things in the community tab. -
    +
    - - + +
    diff --git a/Moonlight/Shared/Views/Admin/Users/Index.razor b/Moonlight/Shared/Views/Admin/Users/Index.razor index 5b8ea12..a73473c 100644 --- a/Moonlight/Shared/Views/Admin/Users/Index.razor +++ b/Moonlight/Shared/Views/Admin/Users/Index.razor @@ -11,7 +11,7 @@ -
    +
    - + - +