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/Theme2/Container2.razor
Normal file
15
Oqtane.Client/Themes/Theme2/Container2.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/Theme2/Theme.cs
Normal file
13
Oqtane.Client/Themes/Theme2/Theme.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Oqtane.Themes.Theme2
|
||||
{
|
||||
public class Theme : ITheme
|
||||
{
|
||||
public string Name { get { return "Theme2"; } }
|
||||
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 ""; } }
|
||||
}
|
||||
}
|
31
Oqtane.Client/Themes/Theme2/Theme2.razor
Normal file
31
Oqtane.Client/Themes/Theme2/Theme2.razor
Normal file
@ -0,0 +1,31 @@
|
||||
@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 #2</h1> <div class="ml-md-auto"><Profile /> <Login /> <ControlPanel /></div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row px-4">
|
||||
<Pane Name="Top" />
|
||||
</div>
|
||||
<div class="row px-4">
|
||||
<Pane Name="Bottom" />
|
||||
</div>
|
||||
<div class="row px-4">
|
||||
<Pane Name="Admin" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
public override string Name { get { return "Theme2"; } }
|
||||
public override string Panes { get { return "Top;Bottom"; } }
|
||||
}
|
Reference in New Issue
Block a user