34 lines
1.9 KiB
Plaintext
34 lines
1.9 KiB
Plaintext
@namespace Oqtane.Themes.OqtaneTheme
|
|
@inherits ThemeBase
|
|
@implements IThemeControl
|
|
|
|
<main role="main">
|
|
<nav class="navbar navbar-expand-md navbar-dark bg-primary fixed-top">
|
|
<Logo /><Menu Orientation="Horizontal" />
|
|
<div class="controls ml-md-auto">
|
|
<div class="controls-group"><UserProfile /> <Login /> <ControlPanel /></div>
|
|
</div>
|
|
</nav>
|
|
<div class="content container">
|
|
<PaneLayout />
|
|
<div class="row px-4">
|
|
<Pane Name="Admin" />
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
@code {
|
|
public override string Name => "Default";
|
|
|
|
public override string Panes => string.Empty;
|
|
|
|
public override List<Resource> Resources => new List<Resource>()
|
|
{
|
|
new Resource { ResourceType = ResourceType.Stylesheet, Url = "https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/cyborg/bootstrap.min.css", Integrity = "sha384-l7xaoY0cJM4h9xh1RfazbgJVUZvdtyLWPueWNtLAphf/UbBgOVzqbOTogxPwYLHM", CrossOrigin = "anonymous" },
|
|
new Resource { ResourceType = ResourceType.Stylesheet, Url = ThemePath() + "Theme.css" },
|
|
new Resource { ResourceType = ResourceType.Script, Bundle = "Bootstrap", Url = "https://code.jquery.com/jquery-3.3.1.slim.min.js", Integrity = "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo", CrossOrigin = "anonymous" },
|
|
new Resource { ResourceType = ResourceType.Script, Bundle = "Bootstrap", Url = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js", Integrity = "sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1", CrossOrigin = "anonymous" },
|
|
new Resource { ResourceType = ResourceType.Script, Bundle = "Bootstrap", Url = "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js", Integrity = "sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM", CrossOrigin = "anonymous" }
|
|
};
|
|
}
|