diff --git a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor index 6705dc8c..6789eb73 100644 --- a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor +++ b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor @@ -56,7 +56,7 @@ {
-
+
@@ -75,23 +75,38 @@
@if (PageState.Page.UserId == null) { - +
+ + +
} - - +
+ + +
+
+ + +
- @if (UserSecurity.ContainsRole(PageState.Page.PermissionList, PermissionNames.View, RoleNames.Everyone)) + @if (UserSecurity.ContainsRole(PageState.Page.PermissionList, PermissionNames.View, RoleNames.Everyone)) { - - } +
+ + +
+ } else { - +
+ + +
} -
+

@@ -236,10 +251,12 @@ @((MarkupString)_message)
} -
- +
+ + +
@@ -303,11 +320,6 @@ private string settingCategory = "CP-category"; private string settingPane = "CP-pane"; - private void AdminDashboard() - { - Navigate("Admin"); - } - private async Task EditMode() { await ToggleEditMode(PageState.EditMode);