Change Skin -> Theme
To better align with commonly used terminology in industry renamed all references from Skin -> Theme.
This commit is contained in:
17
Oqtane.Client/Themes/Theme3/HorizontalLayout.razor
Normal file
17
Oqtane.Client/Themes/Theme3/HorizontalLayout.razor
Normal file
@ -0,0 +1,17 @@
|
||||
@using Oqtane.Themes
|
||||
@using Oqtane.Client.Shared
|
||||
@inherits ThemeBase
|
||||
|
||||
<div class="row px-4">
|
||||
<div class="col-sm">
|
||||
<Pane Name="Left" />
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<Pane Name="Right" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
public override string Name { get { return "Horizontal Layout"; } }
|
||||
public override string Panes { get { return "Left;Right"; } }
|
||||
}
|
13
Oqtane.Client/Themes/Theme3/Theme.cs
Normal file
13
Oqtane.Client/Themes/Theme3/Theme.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Oqtane.Themes.Theme3
|
||||
{
|
||||
public class Theme : ITheme
|
||||
{
|
||||
public string Name { get { return "Theme3"; } }
|
||||
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 ""; } }
|
||||
}
|
||||
}
|
26
Oqtane.Client/Themes/Theme3/Theme3.razor
Normal file
26
Oqtane.Client/Themes/Theme3/Theme3.razor
Normal file
@ -0,0 +1,26 @@
|
||||
@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 #3</h1> <div class="ml-md-auto"><Profile /> <Login /> <ControlPanel /></div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<PaneLayout />
|
||||
<div class="row px-4">
|
||||
<Pane Name="Admin" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
public override string Name { get { return "Theme3"; } }
|
||||
public override string Panes { get { return ""; } }
|
||||
}
|
15
Oqtane.Client/Themes/Theme3/VerticalLayout.razor
Normal file
15
Oqtane.Client/Themes/Theme3/VerticalLayout.razor
Normal file
@ -0,0 +1,15 @@
|
||||
@using Oqtane.Themes
|
||||
@using Oqtane.Client.Shared
|
||||
@inherits ThemeBase
|
||||
|
||||
<div class="row px-4">
|
||||
<Pane Name="Top" />
|
||||
</div>
|
||||
<div class="row px-4">
|
||||
<Pane Name="Bottom" />
|
||||
</div>
|
||||
|
||||
@functions {
|
||||
public override string Name { get { return "Vertical Layout"; } }
|
||||
public override string Panes { get { return "Top;Bottom"; } }
|
||||
}
|
Reference in New Issue
Block a user