mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-11-01 12:33:32 +00:00
Add project files.
This commit is contained in:
22
Lantean.QBTMudBlade/Layout/MainLayout.razor
Normal file
22
Lantean.QBTMudBlade/Layout/MainLayout.razor
Normal file
@@ -0,0 +1,22 @@
|
||||
@inherits LayoutComponentBase
|
||||
|
||||
<MudThemeProvider />
|
||||
<MudDialogProvider />
|
||||
<MudSnackbarProvider />
|
||||
|
||||
<PageTitle>qBittorrent Web UI</PageTitle>
|
||||
|
||||
<MudLayout>
|
||||
<MudAppBar Elevation="1">
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="ToggleDrawer" />
|
||||
<MudText Typo="Typo.h5" Class="ml-3">qBittorrent Web UI</MudText>
|
||||
<MudSpacer />
|
||||
@if (ShowMenu)
|
||||
{
|
||||
<Menu />
|
||||
}
|
||||
</MudAppBar>
|
||||
<CascadingValue Value="DrawerOpen" Name="DrawerOpen">
|
||||
@Body
|
||||
</CascadingValue>
|
||||
</MudLayout>
|
||||
Reference in New Issue
Block a user