-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScheduleUpdateCheckWindow.xaml
More file actions
58 lines (57 loc) · 4.56 KB
/
Copy pathScheduleUpdateCheckWindow.xaml
File metadata and controls
58 lines (57 loc) · 4.56 KB
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
<Window x:Class="BedrockServerManager.ScheduleUpdateCheckWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Schedule Update Check" Height="320" Width="450"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize" Background="#24273A"
FontFamily="pack://application:,,,/Fonts/#NOTOSANSMONO-REGULAR">
<Window.Resources>
<SolidColorBrush x:Key="BgCard" Color="#363A4F"/>
<SolidColorBrush x:Key="BgInput" Color="#494D64"/>
<SolidColorBrush x:Key="BorderDefault" Color="#5B6078"/>
<SolidColorBrush x:Key="TextPrimary" Color="#CAD3F5"/>
<SolidColorBrush x:Key="TextSecondary" Color="#B8C0E0"/>
<SolidColorBrush x:Key="TextMuted" Color="#A5ADCB"/>
<SolidColorBrush x:Key="AccentBlue" Color="#8AADF4"/>
<SolidColorBrush x:Key="AccentGreen" Color="#A6DA95"/>
<Style x:Key="ComboBoxItemStyle" TargetType="ComboBoxItem">
<Setter Property="Foreground" Value="Black"/>
</Style>
</Window.Resources>
<Grid Margin="15">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="Schedule Update Check" FontWeight="Bold" FontSize="14" Margin="0,0,0,10" Foreground="{StaticResource TextPrimary}"/>
<GroupBox Grid.Row="1" Header="Frequency Settings" Padding="10" Background="{StaticResource BgCard}" BorderBrush="{StaticResource BorderDefault}" Foreground="{StaticResource TextPrimary}" x:Name="ConfigPanel">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,10">
<RadioButton Name="rbDaily" Content="Daily" IsChecked="True" Margin="0,0,15,0" VerticalAlignment="Center" Foreground="{StaticResource TextSecondary}"/>
<RadioButton Name="rbWeekly" Content="Weekly" Margin="0,0,15,0" VerticalAlignment="Center" Foreground="{StaticResource TextSecondary}"/>
<RadioButton Name="rbBiweekly" Content="Biweekly" Margin="0,0,15,0" VerticalAlignment="Center" Foreground="{StaticResource TextSecondary}"/>
<RadioButton Name="rbMonthly" Content="Monthly" VerticalAlignment="Center" Foreground="{StaticResource TextSecondary}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,10">
<Label Name="lblDate" Content="Day:" Width="90" Padding="0" VerticalAlignment="Center" Foreground="{StaticResource TextSecondary}"/>
<ComboBox Name="cbDate" Width="100" IsEnabled="False" Background="{StaticResource BgInput}" Foreground="Black" ItemContainerStyle="{StaticResource ComboBoxItemStyle}"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<Label Content="Time:" Width="90" Padding="0" VerticalAlignment="Center" Foreground="{StaticResource TextSecondary}"/>
<ComboBox Name="cbHour" Width="50" Background="{StaticResource BgInput}" Foreground="Black" ItemContainerStyle="{StaticResource ComboBoxItemStyle}"/>
<Label Content=":" VerticalAlignment="Center" Margin="2,0,2,0" Foreground="{StaticResource TextSecondary}"/>
<ComboBox Name="cbMinute" Width="50" Background="{StaticResource BgInput}" Foreground="Black" ItemContainerStyle="{StaticResource ComboBoxItemStyle}"/>
<TextBlock Text="(24h format)" VerticalAlignment="Center" Margin="10,0,0,0" Foreground="{StaticResource TextMuted}"/>
</StackPanel>
<Border BorderBrush="{StaticResource BorderDefault}" BorderThickness="0,1,0,0" Padding="0,10,0,0">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Next Scheduled Check:" FontWeight="Bold" VerticalAlignment="Center" Foreground="{StaticResource TextPrimary}"/>
<TextBlock Name="txtNextCheck" Text=" N/A" VerticalAlignment="Center" Margin="5,0,0,0" Foreground="{StaticResource AccentBlue}"/>
</StackPanel>
</Border>
</StackPanel>
</GroupBox>
<Button Name="btnSave" Grid.Row="2" Content="Save Configuration" HorizontalAlignment="Right" Width="120" Padding="5" Margin="0,10,0,0" Background="{StaticResource AccentGreen}" Foreground="#24273A" FontWeight="SemiBold"
FontFamily="pack://application:,,,/Fonts/#NOTOSANS-REGULAR"/>
</Grid>
</Window>