From 37672ea6326f5e07c38c6175ff18360476c2d32e Mon Sep 17 00:00:00 2001 From: Leigh Date: Sun, 11 Jul 2021 14:27:18 +0200 Subject: [PATCH] Modified External Module Template replace tables in markup with responsive approach. --- .../Modules/[Owner].[Module]/Edit.razor | 31 +++++++++---------- .../Modules/[Owner].[Module]/Settings.razor | 18 +++++------ 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Edit.razor b/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Edit.razor index 471f5eae..fd2d4803 100644 --- a/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Edit.razor +++ b/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Edit.razor @@ -9,23 +9,22 @@ @inject IStringLocalizer Localizer
- - - - - -
- - - -
- -@Localizer["Cancel"] -

-@if (PageState.Action == "Edit") -{ + +
+
+ +
+ +
+
+
+ + @Localizer["Cancel"] +

+ @if (PageState.Action == "Edit") + { -} + }
@code { diff --git a/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Settings.razor b/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Settings.razor index 20e042fd..63a13216 100644 --- a/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Settings.razor +++ b/Oqtane.Server/wwwroot/Modules/Templates/External/Client/Modules/[Owner].[Module]/Settings.razor @@ -3,16 +3,14 @@ @inject ISettingService SettingService @inject IStringLocalizer Localizer - - - - - -
- - - -
+
+
+ +
+ +
+
+
@code { public override string Title => "[Module] Settings";