summaryrefslogtreecommitdiff
path: root/windows/WinUI/NetworkListView.xaml
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2016-11-18 13:52:48 -0800
committerGrant Limberg <grant.limberg@zerotier.com>2016-11-18 13:52:48 -0800
commite48d6880c92b87efb694798b43873dc07a570035 (patch)
tree55e050bddd6ba6106902be4034d6fd70af023c27 /windows/WinUI/NetworkListView.xaml
parentdbe1461886256bb5e9c1f7c6cb02525e57ee12c2 (diff)
downloadinfinitytier-e48d6880c92b87efb694798b43873dc07a570035.tar.gz
infinitytier-e48d6880c92b87efb694798b43873dc07a570035.zip
Wired up connected checkbox and delete button. just something not working with refresh.
Diffstat (limited to 'windows/WinUI/NetworkListView.xaml')
-rw-r--r--windows/WinUI/NetworkListView.xaml64
1 files changed, 9 insertions, 55 deletions
diff --git a/windows/WinUI/NetworkListView.xaml b/windows/WinUI/NetworkListView.xaml
index a1e74531..30a3e257 100644
--- a/windows/WinUI/NetworkListView.xaml
+++ b/windows/WinUI/NetworkListView.xaml
@@ -75,60 +75,14 @@
</Window.Resources>
<DockPanel>
- <StatusBar DockPanel.Dock="Bottom" Height="26" Background="#FF234447" Margin="0">
- <StatusBar.ItemsPanel>
- <ItemsPanelTemplate>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- </Grid>
- </ItemsPanelTemplate>
- </StatusBar.ItemsPanel>
- <StatusBarItem Grid.Column="0" x:Name="networkId_placeholder">
- <TextBox x:Name="networkId" Text="deadbeef00" HorizontalAlignment="Left" Grid.Column="0" Foreground="White" FontFamily="Lucida Console" BorderThickness="0" IsReadOnly="true" Background="Transparent"/>
- </StatusBarItem>
- <StatusBarItem Grid.Column="1" x:Name="onlineStatus" Content="ONLINE" Foreground="White" FontFamily="Lucida Console"/>
- <StatusBarItem Grid.Column="2" x:Name="versionString" Content="1.0.5" Foreground="White" FontFamily="Lucida Console"/>
- <StatusBarItem Grid.Column="3" x:Name="blank" Content="" Height="43" Foreground="White"/>
- <StatusBarItem Grid.Column="4">
- <TextBox x:Name="joinNetworkID" TextWrapping="Wrap" Width="140" HorizontalAlignment="Right" ToolTip="Enter Network ID" PreviewTextInput="OnNetworkEntered" MaxLength="16" FontFamily="Lucida Console" FontSize="12" BorderThickness="1"/>
- </StatusBarItem>
- <StatusBarItem Grid.Column="5" x:Name="statusBarButton" Foreground="White" RenderTransformOrigin="0.789,0.442">
- <Button x:Name="joinButton" Content="Join" Background="#FFFFB354" Width="76" Click="joinButton_Click"/>
- </StatusBarItem>
- </StatusBar>
- <!--<TabControl Margin="0,0,0,0">
- <TabItem x:Name="Networks" Header="Networks" Foreground="White" IsSelected="True" IsManipulationEnabled="True">-->
- <Grid Background="LightGray" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <local:NetworksPage x:Name="networksPage" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="0" Grid.Row="0" Margin="0,0,0,0"/>
- </Grid>
- <!--</TabItem>-->
- <!--<TabItem x:Name="Peers" Header="Peers" Foreground="White">
- <Grid Background="#FFE5E5E5" HorizontalAlignment="Left" VerticalAlignment="Top">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <local:PeersPage x:Name="peersPage" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="0" Grid.Row="0"/>
- </Grid>
- </TabItem>-->
- <!--</TabControl>-->
+ <Grid Background="LightGray" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="*"/>
+ </Grid.ColumnDefinitions>
+ <Grid.RowDefinitions>
+ <RowDefinition Height="*"/>
+ </Grid.RowDefinitions>
+ <local:NetworksPage x:Name="networksPage" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="0" Grid.Row="0" Margin="0,0,0,0"/>
+ </Grid>
</DockPanel>
</Window>