diff --git a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor index 2589647f..ec71feb5 100644 --- a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor +++ b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor @@ -14,12 +14,12 @@ @if (_moduleDefinitions != null && UserSecurity.IsAuthorized(PageState.User, PermissionNames.Edit, PageState.Page.Permissions)) { -
+
@Localizer["ControlPanel"]
- +
@@ -41,8 +41,8 @@
- - + +
@@ -86,7 +86,7 @@
- +
@@ -160,7 +160,7 @@ {
- + @foreach (var container in _containers) { @@ -217,7 +217,8 @@ @if (UserSecurity.IsAuthorized(PageState.User, PermissionNames.Edit, PageState.Page.Permissions)) { - } @@ -445,23 +446,9 @@ } } - private void ShowControlPanel() - { - Message = ""; - _display = "width: 25%; min-width: 375px;"; - StateHasChanged(); - } - - private void HideControlPanel() - { - Message = ""; - _display = "width: 0%;"; - StateHasChanged(); - } - private void Navigate(string location) { - HideControlPanel(); + //HideControlPanel(); Module module; switch (location) {