mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
25 lines
905 B
Plaintext
25 lines
905 B
Plaintext
@page "/Gallery"
|
|
|
|
@using Wabbajack.DTOs
|
|
@using Wabbajack.RateLimiter
|
|
|
|
@namespace Wabbajack.App.Blazor.Pages
|
|
|
|
<div id="content">
|
|
@foreach (ModlistMetadata modlist in _listItems)
|
|
{
|
|
<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>
|
|
}
|
|
@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>
|
|
}
|
|
</div>
|