Settings rebuild
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:pages="using:FoxTube.Pages"
|
||||
xmlns:settingspages="using:FoxTube.Pages.SettingsPages"
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
@@ -14,7 +15,7 @@
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<ScrollViewer Grid.Row="1">
|
||||
<Pivot SelectedIndex="0" Name="content" Grid.Row="1" IsHeaderItemsCarouselEnabled="False" SelectionChanged="content_SelectionChanged">
|
||||
<Pivot SelectedIndex="0" Name="pivot" Grid.Row="1" IsHeaderItemsCarouselEnabled="False" SelectionChanged="content_SelectionChanged">
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
<StackPanel Orientation="Vertical" Margin="10">
|
||||
<TextBlock Text="Preferences" FontSize="28"/>
|
||||
@@ -49,87 +50,21 @@
|
||||
|
||||
<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/>
|
||||
<settingspages: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>
|
||||
<settingspages:About/>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
<local:Translate/>
|
||||
<settingspages:Translate/>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
<pages:Inbox/>
|
||||
<settingspages:Inbox/>
|
||||
</PivotItem>
|
||||
</Pivot>
|
||||
</ScrollViewer>
|
||||
@@ -138,9 +73,6 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user