2022-01-15 06:29:44 +00:00
@page "/configure"
2022-01-16 17:38:54 +00:00
@using Wabbajack.App.Blazor.Store
2022-01-15 06:29:44 +00:00
@namespace Wabbajack.App.Blazor.Pages
2022-01-11 03:00:54 +00:00
<div id="content">
2022-01-16 17:38:54 +00:00
<div class="image">
<img src="@Image" alt="">
</div>
@* <div class="image" style="background-image: url('@Image');"></div> *@
2022-01-15 06:29:44 +00:00
<div class="list">
2022-01-16 17:38:54 +00:00
@if (!string.IsNullOrEmpty(ModList.Name))
{
if (_installState.Value.CurrentInstallState != InstallState.InstallStateEnum.Installing)
{
<InfoBlock Title="@ModList.Name" Subtitle="@ModList.Author" Comment="@ModList.Version.ToString()" Description="@ModList.Description"/>
}
else if (_installState.Value.CurrentInstallState == InstallState.InstallStateEnum.Installing)
{
<InfoBlock Supertitle="Installing..." Title="@ModList.Name" Subtitle="@StatusText" Description="@ModList.Description"/>
}
}
@* <div class="modlist-image" style="background-image: url('@Image');"></div> *@
@if (!string.IsNullOrEmpty(Image))
2022-01-16 13:46:16 +00:00
{
2022-01-16 17:38:54 +00:00
if (_installState.Value.CurrentInstallState == InstallState.InstallStateEnum.Configuration)
{
<InfoImage Image="@Image"/>
} else if (_installState.Value.CurrentInstallState == InstallState.InstallStateEnum.Installing)
{
<InfoImage Image="@Image" Title="Some Mod Title" Subtitle="Author and others" Description="This mod adds something cool but I'm not going to tell you anything."/>
}
2022-01-16 13:46:16 +00:00
}
2022-01-11 03:00:54 +00:00
</div>
2022-01-15 06:29:44 +00:00
<div class="settings">
<div class="locations">
<div class="labels">
<span>Target Modlist</span>
2022-01-16 17:38:54 +00:00
<span>Install Location</span>
2022-01-15 06:29:44 +00:00
<span>Download Location</span>
</div>
<div class="paths">
2022-01-16 13:46:16 +00:00
<span class="modlist-file">@ModListPath</span>
<span class="install-location" @onclick="SelectInstallFolder">@InstallPath</span>
<span class="download-location" @onclick="SelectDownloadFolder">@DownloadPath</span>
2022-01-11 15:05:48 +00:00
2022-01-15 06:29:44 +00:00
</div>
</div>
<div class="options">
<label class="option">
2022-01-16 17:38:54 +00:00
Overwrite Installation
2022-01-15 06:29:44 +00:00
<input type="checkbox" checked="checked">
<span class="checkmark"></span>
</label>
2022-01-11 15:05:48 +00:00
2022-01-15 06:29:44 +00:00
<label class="option">
<input type="checkbox">
<span class="checkmark"></span>
2022-01-16 17:38:54 +00:00
NTFS Compression
2022-01-15 06:29:44 +00:00
</label>
2022-01-11 15:05:48 +00:00
2022-01-15 06:29:44 +00:00
<label class="option">
<input type="checkbox">
<span class="checkmark"></span>
2022-01-16 17:38:54 +00:00
Do a sweet trick
2022-01-15 06:29:44 +00:00
</label>
2022-01-11 15:05:48 +00:00
2022-01-15 06:29:44 +00:00
<label class="option">
<input type="checkbox">
<span class="checkmark"></span>
Something else
</label>
</div>
2022-01-16 17:38:54 +00:00
<div class="install">
<img src="images/icons/play.svg" @onclick="Install" alt="Browse Gallery">
</div>
2022-01-15 06:29:44 +00:00
</div>
</div>