<commit_before>﻿<Page
    x:Class="WebCamImageCollector.RemoteControl.Views.Overview"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WebCamImageCollector.RemoteControl.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:converters="using:WebCamImageCollector.RemoteControl.Views.Converters"
    xmlns:vm="using:WebCamImageCollector.RemoteControl.ViewModels"
    mc:Ignorable="d" d:DataContext="{Binding Overview, Source={StaticResource ViewModelLocator}}">
    <Page.Resources>
        <converters:BoolConverter x:Key="TrueToStopSymbolConverter" TrueValue="Stop" FalseValue="Play" />

        <Style x:Key="IconButton" TargetType="Button">
            <Setter Property="Margin" Value="10,0,0,0" />
            <Setter Property="Padding" Value="8" />
        </Style>

        <DataTemplate x:Key="OverviewViewModelTemplate" x:DataType="vm:ClientOverviewViewModel">
            <Border BorderThickness="0,0,0,1" BorderBrush="{ThemeResource AppBarBackground}">
                <Grid Padding="0,8" Margin="8">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>

                    <Border Padding="12,8" Background="{ThemeResource ApplicationForegroundThemeBrush}">
                        <SymbolIcon Symbol="World" Foreground="{ThemeResource ApplicationPageBackgroundThemeBrush}" />
                    </Border>
                    <StackPanel Padding="10,0,0,0" Grid.Column="1">
                        <TextBlock Text="{x:Bind Name}" Style="{ThemeResource SubtitleTextBlockStyle}" />
                        <TextBlock Text="{x:Bind Url}" Opacity=".5" />
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Grid.Column="2">
                        <Button Style="{StaticResource IconButton}">
                            <SymbolIcon Symbol="{Binding IsRunning, Converter={StaticResource TrueToStopSymbolConverter}}" />
                        </Button>
                        <Button Command="{Binding Edit}" Style="{StaticResource IconButton}">
                            <SymbolIcon Symbol="Edit" />
                        </Button>
                    </StackPanel>
                </Grid>
            </Border>
        </DataTemplate>
    </Page.Resources>
    <Page.BottomAppBar>
        <CommandBar>
            <AppBarButton Icon="OpenLocal" Label="Add local" Command="{Binding EditLocal}" Visibility="{Binding Local, Converter={StaticResource NullToVisibilityConverter}}" />
            <AppBarButton Icon="Add" Label="Add remote" Command="{Binding CreateRemote}" />
        </CommandBar>
    </Page.BottomAppBar>

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid Background="{ThemeResource AppBarBackground}" Padding="8">
            <TextBlock Text="Clients" Style="{ThemeResource TitleTextBlockStyle}" /><commit_msg>World icon is white with black foreground.<commit_after>﻿<Page
    x:Class="WebCamImageCollector.RemoteControl.Views.Overview"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WebCamImageCollector.RemoteControl.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:converters="using:WebCamImageCollector.RemoteControl.Views.Converters"
    xmlns:vm="using:WebCamImageCollector.RemoteControl.ViewModels"
    mc:Ignorable="d" d:DataContext="{Binding Overview, Source={StaticResource ViewModelLocator}}">
    <Page.Resources>
        <converters:BoolConverter x:Key="TrueToStopSymbolConverter" TrueValue="Stop" FalseValue="Play" />

        <Style x:Key="IconButton" TargetType="Button">
            <Setter Property="Margin" Value="10,0,0,0" />
            <Setter Property="Padding" Value="8" />
        </Style>

        <DataTemplate x:Key="OverviewViewModelTemplate" x:DataType="vm:ClientOverviewViewModel">
            <Border BorderThickness="0,0,0,1" BorderBrush="{ThemeResource AppBarBackground}">
                <Grid Padding="0,8" Margin="8">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>

                    <Border Padding="12,8">
                        <SymbolIcon Symbol="World" />
                    </Border>
                    <StackPanel Padding="10,0,0,0" Grid.Column="1">
                        <TextBlock Text="{x:Bind Name}" Style="{ThemeResource SubtitleTextBlockStyle}" />
                        <TextBlock Text="{x:Bind Url}" Opacity=".5" />
                    </StackPanel>
                    <StackPanel Orientation="Horizontal" Grid.Column="2">
                        <Button Style="{StaticResource IconButton}">
                            <SymbolIcon Symbol="{Binding IsRunning, Converter={StaticResource TrueToStopSymbolConverter}}" />
                        </Button>
                        <Button Command="{Binding Edit}" Style="{StaticResource IconButton}">
                            <SymbolIcon Symbol="Edit" />
                        </Button>
                    </StackPanel>
                </Grid>
            </Border>
        </DataTemplate>
    </Page.Resources>
    <Page.BottomAppBar>
        <CommandBar>
            <AppBarButton Icon="OpenLocal" Label="Add local" Command="{Binding EditLocal}" Visibility="{Binding Local, Converter={StaticResource NullToVisibilityConverter}}" />
            <AppBarButton Icon="Add" Label="Add remote" Command="{Binding CreateRemote}" />
        </CommandBar>
    </Page.BottomAppBar>

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Grid Background="{ThemeResource AppBarBackground}" Padding="8">
            <TextBlock Text="Clients" Style="{ThemeResource TitleTextBlockStyle}" />
{'fraction_non_alphanumeric': 0.13012156686177398, 'fraction_numerical': 0.012306768722797538, 'mean_word_length': 2.4564315352697097, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '935934', 'n_tokens_mistral': 1834, 'n_tokens_neox': 1661, 'n_words': 264}