From 2d4bf17b28b47189d35d91060b4eb91099d17838 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Mon, 9 Oct 2023 12:58:01 -0400 Subject: [PATCH] allow module to be inserted at top of pane --- .../Themes/Controls/ControlPanel.resx | 9 ++++ .../Themes/Controls/Theme/ControlPanel.razor | 54 ++++++++++--------- 2 files changed, 39 insertions(+), 24 deletions(-) diff --git a/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx b/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx index 92e68765a..9fa2eac6c 100644 --- a/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx +++ b/Oqtane.Client/Resources/Themes/Controls/ControlPanel.resx @@ -189,4 +189,13 @@ Are You Sure You Want To Delete This Page? + + Location: + + + Bottom + + + Top + \ No newline at end of file diff --git a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor index 106437772..a9bc3a44f 100644 --- a/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor +++ b/Oqtane.Client/Themes/Controls/Theme/ControlPanel.razor @@ -114,7 +114,7 @@
- +
- @if (_pane.Length > 1) - { -
-
- - -
+
+
+ +
- } +
+
+
+ + +
+
- +