mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added basic profile list
This commit is contained in:
1 parent
65f81ab768
commit
428bbd73e3
12 files changed
+231
-22
No files matched your search
@@ -9,7 +9,10 @@
|
||||
<Border Classes="router-container">
|
||||
<Grid ColumnDefinitions="300,*" Margin="10">
|
||||
<Border Classes="card-condensed" Grid.Column="0" Margin="0 0 10 0">
|
||||
<TextBlock>Side panel</TextBlock>
|
||||
<StackPanel>
|
||||
<TextBlock Classes="h3">Categories</TextBlock>
|
||||
<ContentControl Content="{CompiledBinding CategoriesViewModel}"></ContentControl>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<Border Classes="card-condensed" Grid.Column="1">
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Artemis.UI.Screens.Workshop.Categories;
|
||||
using Artemis.UI.Screens.Workshop.Parameters;
|
||||
using Artemis.UI.Screens.Workshop.Search;
|
||||
using Artemis.UI.Shared;
|
||||
using Artemis.UI.Shared.Routing;
|
||||
using Artemis.WebClient.Workshop;
|
||||
@@ -13,11 +13,13 @@ public class LayoutListViewModel : RoutableScreen<ActivatableViewModelBase, Work
|
||||
{
|
||||
private int _page;
|
||||
|
||||
/// <inheritdoc />
|
||||
public LayoutListViewModel()
|
||||
public LayoutListViewModel(CategoriesViewModel categoriesViewModel)
|
||||
{
|
||||
CategoriesViewModel = categoriesViewModel;
|
||||
}
|
||||
|
||||
public CategoriesViewModel CategoriesViewModel { get; }
|
||||
|
||||
public int Page
|
||||
{
|
||||
get => _page;
|
||||
|
||||
Reference in new issue
Block a user