-
Notifications
You must be signed in to change notification settings - Fork 0
/
SettingsPage.xaml
137 lines (136 loc) · 10.2 KB
/
SettingsPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<Page
x:Class="FileEx.SettingsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:FileEx"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<Grid>
<Grid.Background>
<SolidColorBrush Color="{ThemeResource ApplicationPageBackgroundThemeBrush}" Opacity="0.92"/>
</Grid.Background>
<Grid.RenderTransform>
<CompositeTransform/>
</Grid.RenderTransform>
<ScrollViewer>
<ScrollViewer.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.3">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="#00000000" Offset="0.02"/>
</LinearGradientBrush>
</ScrollViewer.Background>
<StackPanel Margin="10">
<TextBlock Text="general" HorizontalAlignment="Center"/>
<TextBlock Text="use built in viewer for"/>
<StackPanel Orientation="Horizontal">
<ToggleButton x:Name="musicToggle" Checked="musicToggle_Checked" Unchecked="musicToggle_Unchecked">
<StackPanel>
<TextBlock HorizontalAlignment="Center" Text="b" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
<TextBlock Text="music"/>
</StackPanel>
</ToggleButton>
<ToggleButton x:Name="videosToggle" Checked="videosToggle_Checked" Unchecked="videosToggle_Unchecked">
<StackPanel>
<TextBlock HorizontalAlignment="Center" Text=")" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
<TextBlock Text="videos"/>
</StackPanel>
</ToggleButton>
<ToggleButton Visibility="Collapsed" x:Name="ebookToggle" Checked="ebookToggle_Checked" Unchecked="ebookToggle_Unchecked">
<StackPanel>
<TextBlock HorizontalAlignment="Center" Text="m" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
<TextBlock Text="ebook"/>
</StackPanel>
</ToggleButton>
<ToggleButton x:Name="picturesToggle" Checked="picturesToggle_Checked" Unchecked="picturesToggle_Unchecked">
<StackPanel>
<TextBlock HorizontalAlignment="Center" Text="M" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
<TextBlock Text="pictures"/>
</StackPanel>
</ToggleButton>
</StackPanel>
<TextBlock Text="show thumbnail for"/>
<CheckBox Visibility="Collapsed" x:Name="musThumbnailToggle" Content="music" Checked="musThumbnailToggle_Checked" Unchecked="musThumbnailToggle_Unchecked" />
<CheckBox x:Name="vidThumbnailToggle" Content="videos" Checked="vidThumbnailToggle_Checked" Unchecked="vidThumbnailToggle_Unchecked" />
<CheckBox x:Name="picThumbnailToggle" Content="pictures" Checked="picThumbnailToggle_Checked" Unchecked="picThumbnailToggle_Unchecked" />
<TextBlock Text="personalization" HorizontalAlignment="Center"/>
<StackPanel>
<!--<local:ColorPicker ColorSet="2" x:Name="folderColor" OptionName="folder" Foreground="Black" />
<local:ColorPicker ColorSet="0" x:Name="accentColor" OptionName="app accent" />
<local:ColorPicker ColorSet="1" x:Name="themeColor" OptionName="app theme" />-->
<ToggleSwitch Header="use slideshow" Margin="0,5" Height="75"/>
<TextBlock Text="folder view type"/>
<ComboBox x:Name="typeComboBox" SelectionChanged="FolderViewChanged">
<ComboBoxItem>
<StackPanel>
<TextBlock TextAlignment="Center" Text="c" FontFamily="Assets/Font/iconfont.ttf#iconfont" FontSize="29.333"/>
<TextBlock TextAlignment="Center" Text="list" FontSize="21.333"/>
</StackPanel>
</ComboBoxItem>
<ComboBoxItem>
<StackPanel>
<TextBlock TextAlignment="Center" Text="N" FontFamily="Assets/Font/iconfont.ttf#iconfont" FontSize="24"/>
<TextBlock TextAlignment="Center" Text="grid" />
</StackPanel>
</ComboBoxItem>
</ComboBox>
</StackPanel>
<Grid>
<Button x:Name="button" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5" Click="OpenFTP">
<Button.RenderTransform>
<CompositeTransform/>
</Button.RenderTransform>
<Border CornerRadius="50" VerticalAlignment="Center" Background="{ThemeResource SystemAccentColor}">
<TextBlock Margin="20" Text="ftp" HorizontalAlignment="Center"/>
</Border>
</Button>
<Border x:Name="border" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<CompositeTransform ScaleX="0" ScaleY="0" TranslateY="-30"/>
</Border.RenderTransform>
<StackPanel Margin="0,20" Background="{ThemeResource SystemAccentColor}">
<TextBlock Text="Address"/>
<TextBlock Margin="0,5" Text="192.162.1.103:23" FontSize="13.333"/>
</StackPanel>
</Border>
</Grid>
<Grid HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Button Margin="25,0" HorizontalAlignment="Center" VerticalAlignment="Center" Click="OpenBluetoothSettings">
<StackPanel Margin="0,25" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Text="b" FontSize="26.667" FontFamily="Assets/Font/settingsfont.ttf#settingsfont" HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Top" Margin="5,0,10,5" Foreground="{ThemeResource SystemAccentColor}" Opacity="0.95" LineStackingStrategy="MaxHeight" FontWeight="Thin"/>
<TextBlock Text="bluetooth" FontSize="23.333" FontWeight="Thin" HorizontalAlignment="Center"/>
<TextBlock Text="configure bluetooth settings" HorizontalAlignment="Center" FontSize="13"/>
</StackPanel>
</Button>
<Button Margin="25,0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Click="HelpOpen">
<StackPanel Margin="0,25" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Text="h" FontSize="26.667" FontFamily="Assets/Font/settingsfont.ttf#settingsfont" HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Top" Margin="5,0,10,5" Foreground="{ThemeResource SystemAccentColor}" Opacity="0.95" LineStackingStrategy="MaxHeight" FontWeight="Thin"/>
<TextBlock Text="help" FontSize="23.333" FontWeight="Thin" HorizontalAlignment="Center"/>
<TextBlock Text="check out this guide" HorizontalAlignment="Center" FontFamily="Helvetica Neue" FontSize="13" FontWeight="Normal"/>
</StackPanel>
</Button>
</Grid>
<StackPanel Margin="0,10" Background="{ThemeResource ApplicationForegroundThemeBrush}">
<TextBlock Text="security" HorizontalAlignment="Center" Margin="0,10,0,0"/>
<ToggleSwitch Header="password protection" Toggled="PasswordToggle"/>
<Grid Margin="30,10" Background="{StaticResource ContentDialogDimmingThemeBrush}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock VerticalAlignment="Center" MaxLines="1" Height="50" FontSize="20" TextWrapping="NoWrap" x:Name="securityBlock" Margin="10,0" HorizontalAlignment="Center"/>
<Button Grid.Column="1" Content="clear" FontSize="12" Background="{StaticResource ContentDialogDimmingThemeBrush}"/>
</Grid>
<Grid Visibility="Collapsed" x:Name="wrapPanel" Height="260"/>
</StackPanel>
</StackPanel>
</ScrollViewer>
</Grid>
</Grid>
</Page>