-
Notifications
You must be signed in to change notification settings - Fork 0
/
EODWindow.xaml
90 lines (90 loc) · 5.5 KB
/
EODWindow.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
<Window x:Class="Worksly.EODWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:tb="http://www.hardcodet.net/taskbar"
xmlns:local="clr-namespace:Worksly"
mc:Ignorable="d"
Title="Worksly" SizeToContent="WidthAndHeight" ResizeMode="NoResize"
WindowStyle="None" ShowInTaskbar="False" Topmost="True"
WindowStartupLocation="CenterScreen" AllowsTransparency="True"
Background="Transparent" MouseLeftButtonDown="Window_MouseLeftButtonDown" Visibility="Visible">
<Canvas Width="500" Height="252" Name="RootLayout">
<Rectangle Stroke="Black" StrokeThickness="1" Name="UIPath"
Width="500" Height="252" RadiusX="35" RadiusY="35">
<Rectangle.Fill>
<RadialGradientBrush>
<GradientStop Color="#FF0F0F0F" Offset="1"/>
<GradientStop Color="#FF212123" Offset="0.291"/>
</RadialGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Button x:Name="CloseButton" Content="X" Style="{StaticResource exitBtn}"
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="16"
FontFamily="Arial" ForceCursor="True" Width="20" Height="20"
RenderTransformOrigin="1.2,1.25" Canvas.Left="470" Canvas.Top="10" IsTabStop="False"
Click="CloseButton_Click" Visibility="Hidden"/>
<Label Canvas.Left="192" Foreground="White" FontSize="18" FontFamily="Courier New" Canvas.Top="6">
<TextBlock><Run Typography.Capitals="SmallCaps" Text="End of Day"/></TextBlock>
</Label>
<Border Height="1" Canvas.Left="146" Canvas.Top="31" Width="210">
<Border.Background>
<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
<GradientStop Color="Black" Offset="1" />
<GradientStop Color="#FFC3C3C3" Offset="0.35"/>
<GradientStop Color="#FFC3C3C3" Offset="0.65"/>
<GradientStop Color="Black" Offset="0" />
</LinearGradientBrush>
</Border.Background>
</Border>
<TextBox x:Name="selfWins" Height="60" Canvas.Left="35" TextWrapping="Wrap" Canvas.Top="61"
Width="430" Foreground="White" SelectionBrush="#FF575757" Padding="4"
SpellCheck.IsEnabled="True" BorderThickness="0" CaretBrush="White" FontSize="16"
MaxLines="2" MinLines="1" AcceptsReturn="True">
<TextBox.Background>
<SolidColorBrush Color="White" Opacity="0.1"/>
</TextBox.Background>
</TextBox>
<TextBox x:Name="feedback" Height="60" Canvas.Left="35" TextWrapping="Wrap" Canvas.Top="146"
Width="430" Foreground="White" SelectionBrush="#FF575757" Padding="4"
SpellCheck.IsEnabled="True" BorderThickness="0" CaretBrush="White" FontSize="16"
AcceptsReturn="True">
<TextBox.Background>
<SolidColorBrush Color="White" Opacity="0.1"/>
</TextBox.Background>
</TextBox>
<Button x:Name="submitButton" Style="{StaticResource submitBtn}" Content="Submit" Canvas.Left="212"
Canvas.Top="215" Width="75" Height="27"/>
<Label Canvas.Left="36" Foreground="#FF959595" FontSize="14" FontFamily="Courier New" Canvas.Top="36">
<TextBlock><Run Typography.Capitals="SmallCaps" Text="Personal Wins"/></TextBlock>
</Label>
<Label Canvas.Left="36" Foreground="#FF959595" FontSize="14" FontFamily="Courier New" Canvas.Top="122">
<TextBlock><Run Typography.Capitals="SmallCaps" Text="Feedback To Give"/></TextBlock>
</Label>
<Rectangle Stroke="Black" StrokeThickness="1" Name="warningMask"
Width="500" Height="252" RadiusX="35" RadiusY="35" Opacity="0.7" Visibility="Hidden">
<Rectangle.Fill>
<RadialGradientBrush>
<GradientStop Color="#FF0F0F0F" Offset="1"/>
<GradientStop Color="#FF212123" Offset="0.291"/>
</RadialGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Rectangle Stroke="Gray" StrokeThickness="1" Name="warningMessage"
Width="400" Height="75" RadiusX="35" RadiusY="35" Canvas.Left="50"
Canvas.Top="100" Fill="Black" Visibility="Hidden">
</Rectangle>
<Label Canvas.Left="100" Foreground="#FF959595" FontSize="14" FontFamily="Courier New" Canvas.Top="103"
Name="warningLabel" Visibility="Hidden">
<TextBlock TextAlignment="Center" Width ="300" TextWrapping="WrapWithOverflow" Foreground="Red">
<Run FontWeight="Bold" Typography.Capitals="SmallCaps" Text="You have not entered any feedback!"/>
<Run FontWeight="Bold" Typography.Capitals="SmallCaps" Text="Do you want to continue?"/>
</TextBlock>
</Label>
<Button x:Name="warningYes" Style="{StaticResource submitBtn}" Content="Yes" Width="75" Height="25"
Canvas.Left="160" Canvas.Top="145" Visibility="Hidden"/>
<Button x:Name="warningNo" Style="{StaticResource submitBtn}" Content="No" Width="75" Height="25"
Canvas.Left="270" Canvas.Top="145" Visibility="Hidden"/>
</Canvas>
</Window>