wabbajack/Wabbajack.App.Blazor/Pages/Gallery.razor

25 lines
905 B
Plaintext
Raw Normal View History

2022-01-20 08:34:38 +00:00
@page "/Gallery"
2022-01-09 13:33:22 +00:00
@using Wabbajack.DTOs
@using Wabbajack.RateLimiter
2022-01-09 13:33:22 +00:00
2022-01-20 08:34:38 +00:00
@namespace Wabbajack.App.Blazor.Pages
2022-01-09 13:33:22 +00:00
<div id="content">
2022-01-20 08:34:38 +00:00
@foreach (ModlistMetadata modlist in _listItems)
2022-01-09 13:33:22 +00:00
{
2022-01-20 08:34:38 +00:00
<ModlistItem Metadata=@modlist>
<InteractionIcon Icon="images/icons/install.svg" Label="Install" Size="75px" OnClick="@(() => OnClickDownload(modlist))"/>
<InteractionIcon Icon="images/icons/info.svg" Label="Information" Size="75px" OnClick="@(() => OnClickInformation(modlist))"/>
</ModlistItem>
2022-01-09 13:33:22 +00:00
}
@if (DownloadProgress != Percent.Zero)
{
<BottomBar Image="@DownloadingMetaData.Links.ImageUri" Title="Downloading..." Subtitle="@DownloadingMetaData.Title">
<div style="height:1.5rem;">
<ProgressBar Percentage="@DownloadProgress" Text="@DownloadProgress.Value.ToString()"/>
</div>
</BottomBar>
}
2022-01-11 16:26:47 +00:00
</div>