sidebar
This commit is contained in:
@@ -42,25 +42,33 @@
|
|||||||
</MudAppBar>
|
</MudAppBar>
|
||||||
|
|
||||||
<MudMainContent Style="height: 100%">
|
<MudMainContent Style="height: 100%">
|
||||||
<MudPaper Height="100%" Class="" Style="overflow:hidden; position:relative;">
|
<MudStack Style="height: 100%" Row="true" Spacing="0" StretchItems="StretchItems.Middle">
|
||||||
<MudDrawerContainer Style="height: 100%" Class="mud-height-full">
|
<MudStack>
|
||||||
<MudDrawer @bind-Open="@_drawerOpen" Style="height: 100%" Width="400px" Fixed="false" Elevation="0" Variant="@DrawerVariant.Persistent">
|
<MudToggleIconButton Icon="@Icons.Material.Filled.PlayArrow"/>
|
||||||
@if (_solutionFilePath is not null)
|
<MudToggleIconButton Icon="@Icons.Material.Filled.PlayArrow"/>
|
||||||
{
|
<MudToggleIconButton Icon="@Icons.Material.Filled.Terminal"/>
|
||||||
<SolutionExplorer @bind-SelectedFile="@_selectedFile" SolutionModel="@_solutionModel"/>
|
</MudStack>
|
||||||
}
|
<MudPaper Height="100%" Style="overflow:hidden; position:relative;">
|
||||||
</MudDrawer>
|
<MudDrawerContainer Style="height: 100%" Class="mud-height-full">
|
||||||
<div class="d-flex justify-center align-center mud-height-full">
|
<MudDrawer @bind-Open="@_drawerOpen" Style="height: 100%" Width="400px" Fixed="false" Variant="@DrawerVariant.Persistent">
|
||||||
<MudContainer MaxWidth="MaxWidth.False" Class="mt-2">
|
|
||||||
@* @Body *@
|
|
||||||
@if (_solutionFilePath is not null)
|
@if (_solutionFilePath is not null)
|
||||||
{
|
{
|
||||||
<CodeViewer SelectedFile="@_selectedFile" />
|
<SolutionExplorer @bind-SelectedFile="@_selectedFile" SolutionModel="@_solutionModel"/>
|
||||||
}
|
}
|
||||||
</MudContainer>
|
</MudDrawer>
|
||||||
</div>
|
<div class="d-flex justify-center align-center mud-height-full">
|
||||||
</MudDrawerContainer>
|
<MudContainer MaxWidth="MaxWidth.False" Class="mt-2">
|
||||||
</MudPaper>
|
@* @Body *@
|
||||||
|
@if (_solutionFilePath is not null)
|
||||||
|
{
|
||||||
|
<CodeViewer SelectedFile="@_selectedFile"/>
|
||||||
|
}
|
||||||
|
</MudContainer>
|
||||||
|
</div>
|
||||||
|
</MudDrawerContainer>
|
||||||
|
</MudPaper>
|
||||||
|
<div>@* fake for StretchItems.Middle *@</div>
|
||||||
|
</MudStack>
|
||||||
</MudMainContent>
|
</MudMainContent>
|
||||||
<MudDrawer @bind-Open="@_terminalDrawerOpen" Elevation="2" Variant="DrawerVariant.Temporary" Overlay="false" Anchor="Anchor.Bottom">
|
<MudDrawer @bind-Open="@_terminalDrawerOpen" Elevation="2" Variant="DrawerVariant.Temporary" Overlay="false" Anchor="Anchor.Bottom">
|
||||||
@if (_solutionFilePath is not null)
|
@if (_solutionFilePath is not null)
|
||||||
|
|||||||
Reference in New Issue
Block a user