Development 1.1
This commit is contained in:
@@ -0,0 +1,152 @@
|
||||
<Page
|
||||
x:Class="FoxTube.Settings"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:FoxTube"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="47"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<ScrollViewer Grid.Row="1">
|
||||
<Pivot SelectedIndex="0" Name="content" Grid.Row="1" IsHeaderItemsCarouselEnabled="False" SelectionChanged="content_SelectionChanged">
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
<StackPanel Orientation="Vertical" Margin="10">
|
||||
<TextBlock Text="Preferences" FontSize="28"/>
|
||||
<TextBlock Text="Region & search" FontSize="22"/>
|
||||
<ComboBox Header="App interface language" MinWidth="250" Name="language" SelectionChanged="language_SelectionChanged">
|
||||
<ComboBoxItem Content="English"/>
|
||||
<ComboBoxItem Content="Russian"/>
|
||||
</ComboBox>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" BorderBrush="OrangeRed" BorderThickness="3" Margin="0,10,0,0" Padding="2" Visibility="Collapsed" Name="restartNote">
|
||||
<TextBlock FontFamily="Segoe MDL2 Assets" FontWeight="Bold" Text="" FontSize="30" Foreground="OrangeRed"/>
|
||||
<TextBlock FontFamily="Default" FontWeight="Bold" Text="Reopen the app to apply settings" Foreground="OrangeRed" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
<ComboBox Header="Region (for targeted content)" MinWidth="250" Name="region" SelectionChanged="region_SelectionChanged"/>
|
||||
<ComboBox Header="SafeSearch" MinWidth="250" Name="safeSearch" SelectionChanged="safeSearch_SelectionChanged">
|
||||
<ComboBoxItem Content="Moderate"/>
|
||||
<ComboBoxItem Content="None"/>
|
||||
<ComboBoxItem Content="Strict"/>
|
||||
</ComboBox>
|
||||
<TextBlock Text="Playback" FontSize="22"/>
|
||||
<ComboBox Margin="0,0,0,10" Width="250" Header="Default video playback quality" Name="quality" SelectionChanged="quality_SelectionChanged">
|
||||
<!--<ComboBoxItem Content="Auto"/>-->
|
||||
<ComboBoxItem Content="2160p"/>
|
||||
<ComboBoxItem Content="1080p"/>
|
||||
<ComboBoxItem Content="720p"/>
|
||||
<ComboBoxItem Content="480p"/>
|
||||
<ComboBoxItem Content="360p"/>
|
||||
<ComboBoxItem Content="240p"/>
|
||||
<ComboBoxItem Content="144p"/>
|
||||
</ComboBox>
|
||||
<ToggleSwitch OnContent="Notify when playing on metered connection" OffContent="Notify when playing on metered connection" Name="mobileWarning" Toggled="notification_IsEnabledChanged"/>
|
||||
<ToggleSwitch OnContent="Play videos automatically" OffContent="Play videos automatically" Name="autoplay" Margin="0,0,0,10" Toggled="notification_IsEnabledChanged"/>
|
||||
|
||||
<TextBlock Text="Notifications" FontSize="22"/>
|
||||
<CheckBox Content="New video" Name="newVideo" Click="notification_IsEnabledChanged"/>
|
||||
<CheckBox Content="New post" Name="newPost" Click="notification_IsEnabledChanged"/>
|
||||
<CheckBox Content="New commentary" Name="newComment" Click="notification_IsEnabledChanged"/>
|
||||
<CheckBox Content="What's new posts" Visibility="Collapsed" Click="notification_IsEnabledChanged"/>
|
||||
<CheckBox Content="Developer's messages" Name="messages" Margin="0,0,0,10" Click="notification_IsEnabledChanged"/>
|
||||
|
||||
<!--<TextBlock Text="Color scheme" FontSize="22"/>
|
||||
<RadioButton Content="Light" GroupName="color" Name="darkTheme"/>
|
||||
<RadioButton Content="Dark" GroupName="color" Name="lightTheme"/>
|
||||
<RadioButton Content="Use system setting" GroupName="color" Name="systemTheme"/>
|
||||
<TextBlock Text="Accent color" FontSize="22"/>
|
||||
<RadioButton Content="Classic" GroupName="accentColor" Name="classicAccent"/>
|
||||
<RadioButton Content="Custom" GroupName="accentColor" Name="customAccent"/>
|
||||
<StackPanel Name="customColorPicker">
|
||||
<ColorPicker HorizontalAlignment="Left" Margin="0,10,0,0" Name="colorPicker"/>
|
||||
<Button Content="Apply" Margin="0,10,0,0" Name="applyColor"/>
|
||||
</StackPanel>-->
|
||||
</StackPanel>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
|
||||
</PivotItem>
|
||||
<PivotItem Name="feedbackHub" Margin="0,-48,0,0">
|
||||
<local:Feedback/>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
<StackPanel Orientation="Vertical" Margin="10">
|
||||
<TextBlock Text="About us and this app" FontSize="28"/>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="128"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Grid.Column="0">
|
||||
<TextBlock Text="FoxTube" FontSize="24"/>
|
||||
<TextBlock Name="version" Text="[currentVersion]" FontSize="14" Foreground="Gray" Margin="0,-5,0,10"/>
|
||||
<TextBlock Text="Developed by Michael Gordeev (also known as XFox)" Margin="0,0,0,10"/>
|
||||
<TextBlock Visibility="Collapsed" Text="Special thanks to contributors for motivating me, testers and translators for making this app better everyday and you for using this app;)" Margin="0,0,0,10"/>
|
||||
<TextBlock Text="Contacts" FontSize="22" FontWeight="SemiBold"/>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Twitter:" Margin="0,0,5,0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="@XFox_Mike" Padding="0" NavigateUri="https://twitter.com/XFox_Mike"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Visibility="Collapsed">
|
||||
<TextBlock Text="Facebook:" Margin="0,0,5,0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="@XFox.Mike" Padding="0"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="VKontakte:" Margin="0,0,5,0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="@XFox.Mike" Padding="0" NavigateUri="https://vk.com/XFox.Mike"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="YouTube:" Margin="0,0,5,0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="@FoxGameStudioChannel" Padding="0" NavigateUri="https://youtube.com/c/FoxGameStudioChannel"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="E-mail:" Margin="0,0,5,0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="foxgameofficial@gmail.com" Padding="0" NavigateUri="mailto:foxgameofficial+foxtube@gmail.com"/>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Official website (Russian language only):" Margin="0,0,5,0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="http://foxgame.hol.es/" Padding="0" NavigateUri="http://foxgame.hol.es/"/>
|
||||
</StackPanel>
|
||||
<TextBlock/>
|
||||
<TextBlock Text="Legal stuff" FontSize="22" FontWeight="SemiBold"/>
|
||||
<HyperlinkButton Foreground="Red" Content="Our Privacy Policy" NavigateUri="http://foxgame.hol.es/foxtubepp.txt" Padding="0,5,0,0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="Privacy Policy" NavigateUri="https://youtube.com/t/privacy" Padding="0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="Terms of use" NavigateUri="https://youtube.com/t/terms" Padding="0"/>
|
||||
<HyperlinkButton Foreground="Red" Content="Community Guidelines" NavigateUri="https://youtube.com/t/community_guidelines" Padding="0,0,0,10"/>
|
||||
<TextBlock Text="© 2018 Michael Gordeev"/>
|
||||
<TextBlock Text="© 2018 YouTube, LLC"/>
|
||||
<Image Source="Assets/FoxGame.png" Width="300" HorizontalAlignment="Left" Visibility="Collapsed"/>
|
||||
</StackPanel>
|
||||
<Image Grid.Column="1" Source="Assets/LogoAvatar.png" VerticalAlignment="Top"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
<local:Translate/>
|
||||
</PivotItem>
|
||||
</Pivot>
|
||||
</ScrollViewer>
|
||||
<Grid Grid.Row="0" Background="Red">
|
||||
<StackPanel Orientation="Horizontal" Margin="10,0,10,0" Grid.Row="0" Background="Red">
|
||||
<HyperlinkButton Name="toGeneral" Click="toGeneral_Click" Foreground="White" Margin="0,0,10,0">
|
||||
<TextBlock Text="General"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toAccount" Click="toAccount_Click">
|
||||
<TextBlock Text="Account"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toFeedback" Click="toFeedback_Click">
|
||||
<TextBlock Text="Leave feedback"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toAbout" Click="toAbout_Click">
|
||||
<TextBlock Text="About us"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toTranslate" Click="toTranslate_Click">
|
||||
<TextBlock Text="Help us translate this app"/>
|
||||
</HyperlinkButton>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user