2024-12-21 13:11:30 +03:00
|
|
|
<UserControl
|
|
|
|
|
d:DesignHeight="450"
|
|
|
|
|
d:DesignWidth="800"
|
|
|
|
|
mc:Ignorable="d"
|
2024-12-22 16:38:47 +03:00
|
|
|
x:Class="Nebula.Launcher.Views.Pages.ServerListView"
|
2025-01-14 22:10:16 +03:00
|
|
|
x:DataType="pages:ServerListViewModel"
|
2024-12-21 13:11:30 +03:00
|
|
|
xmlns="https://github.com/avaloniaui"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2025-01-14 22:10:16 +03:00
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:pages="clr-namespace:Nebula.Launcher.ViewModels.Pages">
|
2024-12-22 16:38:47 +03:00
|
|
|
|
|
|
|
|
<Design.DataContext>
|
2025-01-14 22:10:16 +03:00
|
|
|
<pages:ServerListViewModel />
|
2024-12-22 16:38:47 +03:00
|
|
|
</Design.DataContext>
|
|
|
|
|
|
2025-01-11 20:39:58 +03:00
|
|
|
<Grid
|
|
|
|
|
ColumnDefinitions="*"
|
2025-01-21 20:44:36 +03:00
|
|
|
Margin="0"
|
2025-01-11 20:39:58 +03:00
|
|
|
RowDefinitions="*,40">
|
2025-01-15 19:47:27 +03:00
|
|
|
<ScrollViewer Margin="0,0,0,10" Padding="0,0,10,0" Grid.RowSpan="2">
|
2025-01-07 19:14:42 +03:00
|
|
|
<ItemsControl
|
2024-12-22 16:38:47 +03:00
|
|
|
ItemsSource="{Binding ServerInfos}"
|
|
|
|
|
Padding="0">
|
2025-01-07 19:14:42 +03:00
|
|
|
</ItemsControl>
|
2024-12-21 13:11:30 +03:00
|
|
|
</ScrollViewer>
|
2025-01-21 20:44:36 +03:00
|
|
|
|
2025-01-22 21:06:05 +03:00
|
|
|
<Border Grid.Row="1" Background="{StaticResource DefaultBackground}" BorderThickness="0">
|
2025-01-21 20:44:36 +03:00
|
|
|
|
2024-12-21 13:11:30 +03:00
|
|
|
</Border>
|
2025-01-21 20:44:36 +03:00
|
|
|
|
|
|
|
|
<Grid Grid.Row="1" ColumnDefinitions="*,40,40" RowDefinitions="*" Margin="5,0,0,0">
|
|
|
|
|
<TextBox
|
|
|
|
|
Margin="0"
|
|
|
|
|
Text="{Binding SearchText}"
|
|
|
|
|
TextChanged="TextBox_OnTextChanged"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
Watermark="Server name..." />
|
|
|
|
|
<Button
|
|
|
|
|
Command="{Binding FilterRequired}"
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
Padding="10">
|
|
|
|
|
<Svg Path="/Assets/svg/filter.svg"></Svg>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button
|
|
|
|
|
Command="{Binding UpdateRequired}"
|
|
|
|
|
Grid.Column="2"
|
|
|
|
|
Padding="10">
|
|
|
|
|
<Svg Path="/Assets/svg/refresh.svg"></Svg>
|
|
|
|
|
</Button>
|
|
|
|
|
</Grid>
|
2024-12-21 13:11:30 +03:00
|
|
|
</Grid>
|
2025-01-14 22:10:16 +03:00
|
|
|
</UserControl>
|