UI style updates.

This commit is contained in:
2025-12-06 15:59:17 -05:00
parent 53228ed658
commit 14f9eb1235
6 changed files with 61 additions and 15 deletions

View File

@@ -167,26 +167,37 @@
</div>
<div class="search-filter-control-span-2"></div>
<div class="search-filter-control-span-1">
<BitDropdown Label="Age Ratings"
MultiSelect
<BitDropdown MultiSelect
Items="ageRatings"
Placeholder="Select..."
TItem="BitDropdownItem<AgeRating>"
TValue="AgeRating"
Values="@Value.AgeRatings"
ValuesChanged="@(values => Update(Value with { AgeRatings = [.. values] }))" />
ValuesChanged="@(values => Update(Value with { AgeRatings = [.. values] }))">
<PrefixTemplate>
<InputPrefix Graphic="Graphic.Age" Tooltip="Age Rating"></InputPrefix>
</PrefixTemplate>
</BitDropdown>
</div>
<div class="search-filter-control-span-1">
<BitDatePicker Label="Release Date Start"
<BitDatePicker IconLocation="BitIconLocation.Left"
ShowClearButton="true"
Value="@ToDto(Value.ReleaseDateStart)"
ValueChanged="@(value => Update(Value with { ReleaseDateStart = FromDto(value) }))" />
ValueChanged="@(value => Update(Value with { ReleaseDateStart = FromDto(value) }))">
<IconTemplate>
<InputPrefix Graphic="Graphic.Calendar" Tooltip="Release Date Start"></InputPrefix>
</IconTemplate>
</BitDatePicker>
</div>
<div class="search-filter-control-span-1">
<BitDatePicker Label="Release Date End"
<BitDatePicker IconLocation="BitIconLocation.Left"
ShowClearButton="true"
Value="@ToDto(Value.ReleaseDateEnd)"
ValueChanged="@(value => Update(Value with { ReleaseDateEnd = FromDto(value) }))" />
ValueChanged="@(value => Update(Value with { ReleaseDateEnd = FromDto(value) }))">
<IconTemplate>
<InputPrefix Graphic="Graphic.Calendar" Tooltip="Release Date End"></InputPrefix>
</IconTemplate>
</BitDatePicker>
</div>
@* <div class="search-filter-control-span-1">
<BitSlider Label="Downloads" Min="0" Max="100000" Value="MinDownloads" ValueChanged="OnMinDownloadsChanged" />