Change Skin -> Theme
To better align with commonly used terminology in industry renamed all references from Skin -> Theme.
This commit is contained in:
15
Oqtane.Client/Themes/Theme1/Container1.razor
Normal file
15
Oqtane.Client/Themes/Theme1/Container1.razor
Normal file
@ -0,0 +1,15 @@
|
||||
@using Oqtane.Themes
|
||||
@using Oqtane.Client.Themes.Controls
|
||||
@using Oqtane.Client.Shared
|
||||
@inherits ContainerBase
|
||||
<div class="container">
|
||||
<div class="row px-4">
|
||||
<ModuleActions /><h2><ModuleTitle /></h2>
|
||||
<hr style="width: 100%; color: gray; height: 1px; background-color:gray;" />
|
||||
</div>
|
||||
<div class="row px-4">
|
||||
<div class="container">
|
||||
<ModuleInstance />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
13
Oqtane.Client/Themes/Theme1/Theme.cs
Normal file
13
Oqtane.Client/Themes/Theme1/Theme.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Oqtane.Themes.Theme1
|
||||
{
|
||||
public class Theme : ITheme
|
||||
{
|
||||
public string Name { get { return "Theme1"; } }
|
||||
public string Version { get { return "1.0.0"; } }
|
||||
public string Owner { get { return ""; } }
|
||||
public string Url { get { return ""; } }
|
||||
public string Contact { get { return ""; } }
|
||||
public string License { get { return ""; } }
|
||||
public string Dependencies { get { return ""; } }
|
||||
}
|
||||
}
|
33
Oqtane.Client/Themes/Theme1/Theme1.razor
Normal file
33
Oqtane.Client/Themes/Theme1/Theme1.razor
Normal file
@ -0,0 +1,33 @@
|
||||
@using Oqtane.Themes
|
||||
@using Oqtane.Client.Themes.Controls
|
||||
@using Oqtane.Client.Shared
|
||||
@inherits ThemeBase
|
||||
|
||||
<div class="sidebar">
|
||||
<div align="center"><Logo /></div>
|
||||
<Menu />
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<div class="top-row px-4">
|
||||
<h1>@PageState.Page.Name - Theme #1</h1> <div class="ml-md-auto"><Profile /> <Login /> <ControlPanel /></div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row px-4">
|
||||
<div class="col-sm">
|
||||
<Pane Name="Left" />
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<Pane Name="Right" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row px-4">
|
||||
<Pane Name="Admin" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
public override string Name { get { return "Theme1"; } }
|
||||
public override string Panes { get { return "Left;Right"; } }
|
||||
}
|
Reference in New Issue
Block a user