[CHANGE] ApplicationContext removed and related classes. Added Drive info to library info page.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<MudStack Spacing="2">
|
||||
<MudTable @ref="@_table" ServerData="ServerReload">
|
||||
<ToolBarContent>
|
||||
<MudText Typo="Typo.h6">Channels stored in the library</MudText>
|
||||
<MudText Typo="Typo.h6">Channels</MudText>
|
||||
<MudSpacer />
|
||||
<MudTextField T="string" ValueChanged="@(s=>OnSearch(s))" Placeholder="Search" Adornment="Adornment.Start" DebounceInterval="300"
|
||||
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="mt-0"></MudTextField>
|
||||
|
||||
@@ -26,6 +26,18 @@
|
||||
<td>Library size:</td>
|
||||
<td>@($"{Suffix.BytesToSizeSuffix(_libraryInformation.TotalSizeBytes)} ({_libraryInformation.TotalSizeBytes} bytes)")</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Drive total size:</td>
|
||||
<td>@($"{Suffix.BytesToSizeSuffix(_libraryInformation.DriveTotalSpaceBytes)} ({_libraryInformation.DriveTotalSpaceBytes} bytes)")</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Drive used space:</td>
|
||||
<td>@($"{Suffix.BytesToSizeSuffix(_libraryInformation.DriveUsedSpaceBytes)} ({_libraryInformation.DriveUsedSpaceBytes} bytes)")</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Drive free space available:</td>
|
||||
<td>@($"{Suffix.BytesToSizeSuffix(_libraryInformation.DriveFreeSpaceBytes)} ({_libraryInformation.DriveFreeSpaceBytes} bytes)")</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Total media:</td>
|
||||
|
||||
Reference in New Issue
Block a user