2015-10-07 14:30:53 +08:00
|
|
|
<Page
|
2015-10-07 16:22:06 +08:00
|
|
|
x:Class="BuildFeedApp.MainPage"
|
2015-10-07 14:30:53 +08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2015-10-07 16:22:06 +08:00
|
|
|
xmlns:local="using:BuildFeedApp"
|
2015-10-07 14:30:53 +08:00
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2015-10-07 16:22:06 +08:00
|
|
|
mc:Ignorable="d" Loaded="Page_Loaded">
|
2015-11-18 04:44:00 +08:00
|
|
|
<Page.Resources>
|
|
|
|
<SolidColorBrush x:Key="BuildFeedBaseColour" Color="#272b30" Opacity="1" />
|
|
|
|
</Page.Resources>
|
2015-10-07 14:30:53 +08:00
|
|
|
|
2015-11-18 04:44:00 +08:00
|
|
|
<Grid Background="{StaticResource BuildFeedBaseColour}">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="2*" />
|
|
|
|
<ColumnDefinition Width="3*" />
|
|
|
|
<ColumnDefinition Width="7*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<ListView x:Name="lvGroups" Grid.Column="0" IncrementalLoadingTrigger="Edge" IncrementalLoadingThreshold="0" DataFetchSize="0.4" Background="Black" SelectionChanged="lvGroups_SelectionChanged" ScrollViewer.VerticalScrollBarVisibility="Hidden">
|
2015-10-07 16:22:06 +08:00
|
|
|
<ListView.ItemTemplate>
|
|
|
|
<DataTemplate>
|
2015-11-18 04:44:00 +08:00
|
|
|
<TextBlock Text="{Binding Key}" />
|
2015-10-07 16:22:06 +08:00
|
|
|
</DataTemplate>
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
<ListView.ItemsPanel>
|
|
|
|
<ItemsPanelTemplate>
|
2015-10-12 17:02:50 +08:00
|
|
|
<ItemsStackPanel Orientation="Vertical" />
|
2015-10-07 16:22:06 +08:00
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ListView.ItemsPanel>
|
|
|
|
</ListView>
|
2015-11-18 04:44:00 +08:00
|
|
|
<ListView x:Name="lvBuilds" Grid.Column="1" Background="{StaticResource BuildFeedBaseColour}" SelectionChanged="lvBuilds_SelectionChanged">
|
|
|
|
<ListView.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBlock TextTrimming="CharacterEllipsis">
|
|
|
|
<Run Text="{Binding Lab}" />.<Run Text="{Binding DateString}" />
|
|
|
|
</TextBlock>
|
|
|
|
</DataTemplate>
|
|
|
|
</ListView.ItemTemplate>
|
|
|
|
<ListView.ItemsPanel>
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
<ItemsStackPanel Orientation="Vertical" />
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ListView.ItemsPanel>
|
|
|
|
</ListView>
|
|
|
|
<StackPanel x:Name="spDetails" Grid.Column="2" Background="Black" HorizontalAlignment="Stretch">
|
|
|
|
<local:DetailsRow Label="Major Version:" Value="{Binding MajorVersion}" />
|
|
|
|
<local:DetailsRow Label="Minor Version:" Value="{Binding MinorVersion}" />
|
|
|
|
<local:DetailsRow Label="Build Number:" Value="{Binding Number}" />
|
|
|
|
<local:DetailsRow Label="Revision:" Value="{Binding MajorVersion}" />
|
|
|
|
<local:DetailsRow Label="Lab:" Value="{Binding Lab}" />
|
|
|
|
<local:DetailsRow Label="Compile Date:" Value="{Binding BuildTime}" />
|
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
2015-10-07 14:30:53 +08:00
|
|
|
</Page>
|