enhanced ModuleActions component to display panes in a submenu, added more containers to Oqtane theme, added more panes to MultiPane layout, added module outline in edit mode to distinguish modules in panes, consolidated to use a single default AdminPane named "Content", fixed bug related to custom Admin Container behavior
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@inherits ContainerBase
|
||||
|
||||
<div class="container">
|
||||
<ModuleActions /><ModuleInstance />
|
||||
</div>
|
||||
|
||||
@code {
|
||||
public override string Name => "No Background Color - No Title";
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@inherits ContainerBase
|
||||
|
||||
<div class="container">
|
||||
<div class="row px-4">
|
||||
<div class="d-flex flex-nowrap">
|
||||
@ -15,5 +16,5 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
public override string Name => "Standard Header";
|
||||
public override string Name => "No Background Color - With Title";
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@inherits ContainerBase
|
||||
<div class="container">
|
||||
@if (PageState.EditMode)
|
||||
{
|
||||
<ModuleActions />
|
||||
}
|
||||
<ModuleInstance />
|
||||
</div>
|
||||
|
||||
@code {
|
||||
public override string Name => "No Header";
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@inherits ContainerBase
|
||||
|
||||
<div class="container bg-primary">
|
||||
<ModuleActions /><ModuleInstance />
|
||||
</div>
|
||||
|
||||
@code {
|
||||
public override string Name => "Primary Background Color - No Title";
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@inherits ContainerBase
|
||||
|
||||
<div class="container bg-primary">
|
||||
<div class="row px-4">
|
||||
<div class="d-flex flex-nowrap">
|
||||
<ModuleActions /><h2><ModuleTitle /></h2>
|
||||
</div>
|
||||
<hr class="app-rule" />
|
||||
</div>
|
||||
<div class="row px-4">
|
||||
<div class="container">
|
||||
<ModuleInstance />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
public override string Name => "Primary Background Color - With Title";
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@inherits ContainerBase
|
||||
|
||||
<div class="container bg-secondary">
|
||||
<ModuleActions /><ModuleInstance />
|
||||
</div>
|
||||
|
||||
@code {
|
||||
public override string Name => "Secondary Background Color - No Title";
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
@namespace Oqtane.Themes.OqtaneTheme
|
||||
@inherits ContainerBase
|
||||
|
||||
<div class="container bg-secondary">
|
||||
<div class="row px-4">
|
||||
<div class="d-flex flex-nowrap">
|
||||
<ModuleActions /><h2><ModuleTitle /></h2>
|
||||
</div>
|
||||
<hr class="app-rule" />
|
||||
</div>
|
||||
<div class="row px-4">
|
||||
<div class="container">
|
||||
<ModuleInstance />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
public override string Name => "Secondary Background Color - With Title";
|
||||
}
|
Reference in New Issue
Block a user