-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStrategyDashboardWindow.xaml
More file actions
128 lines (122 loc) · 6.98 KB
/
StrategyDashboardWindow.xaml
File metadata and controls
128 lines (122 loc) · 6.98 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
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
<Window x:Class="TimeTask.StrategyDashboardWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:TimeTask"
Title="{local:Loc Key=Strategy_Window_Title}"
Width="980"
Height="680"
WindowStartupLocation="CenterOwner"
ResizeMode="CanResize"
Background="#F7F8FA">
<Grid Margin="16">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="#FFFFFF" CornerRadius="10" Padding="12" Margin="0,0,0,12">
<DockPanel>
<StackPanel DockPanel.Dock="Left">
<TextBlock Text="{local:Loc Key=Strategy_Header}" FontSize="22" FontWeight="Bold" Foreground="#1F2937"/>
<TextBlock x:Name="GeneratedAtText" Text="{local:Loc Key=Strategy_LastUpdatedDefault}" Foreground="#6B7280" Margin="0,4,0,0"/>
</StackPanel>
<StackPanel DockPanel.Dock="Right" Orientation="Horizontal">
<Button Content="{local:Loc Key=Strategy_Button_SkillTree}"
Width="88"
Height="32"
Margin="0,0,8,0"
Click="SkillTreeButton_Click"
Background="#10B981"
Foreground="White"
BorderBrush="#059669"/>
<Button Content="{local:Loc Key=Button_Refresh}"
Width="88"
Height="32"
HorizontalAlignment="Right"
Click="RefreshButton_Click"
Background="#2563EB"
Foreground="White"
BorderBrush="#1D4ED8"/>
</StackPanel>
</DockPanel>
</Border>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="3*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Background="White" CornerRadius="10" Padding="12" Margin="0,0,8,0">
<StackPanel>
<TextBlock Text="{local:Loc Key=Strategy_Profile}" FontSize="16" FontWeight="Bold" Foreground="#111827"/>
<TextBlock x:Name="ProfileHeadlineText" Margin="0,8,0,6" Foreground="#374151" TextWrapping="Wrap"/>
<TextBlock Text="{local:Loc Key=Strategy_Strengths}" FontWeight="Bold" Margin="0,8,0,4"/>
<ListBox x:Name="StrengthsList" Height="110"/>
<TextBlock Text="{local:Loc Key=Strategy_Risks}" FontWeight="Bold" Margin="0,10,0,4"/>
<ListBox x:Name="RisksList" Height="110"/>
<TextBlock Text="{local:Loc Key=Strategy_PeakHours}" FontWeight="Bold" Margin="0,10,0,4"/>
<ListBox x:Name="PeakHoursList" Height="90"/>
</StackPanel>
</Border>
<Border Grid.Column="1" Background="White" CornerRadius="10" Padding="12" Margin="4,0,8,0">
<StackPanel>
<TextBlock Text="{local:Loc Key=Strategy_GoalHierarchy}" FontSize="16" FontWeight="Bold" Foreground="#111827"/>
<TextBlock x:Name="GoalHierarchySummaryText" Margin="0,8,0,6" Foreground="#374151" TextWrapping="Wrap"/>
<TextBlock Text="{local:Loc Key=Strategy_YearThemes}" FontWeight="Bold" Margin="0,8,0,4"/>
<ListBox x:Name="YearThemesList" Height="120"/>
<TextBlock Text="{local:Loc Key=Strategy_QuarterMilestones}" FontWeight="Bold" Margin="0,10,0,4"/>
<ListBox x:Name="QuarterMilestonesList" Height="140"/>
<TextBlock Text="{local:Loc Key=Strategy_WeekCommitments}" FontWeight="Bold" Margin="0,10,0,4"/>
<ListBox x:Name="WeekCommitmentsList" Height="90"/>
</StackPanel>
</Border>
<Border Grid.Column="2" Background="White" CornerRadius="10" Padding="12" Margin="4,0,0,0">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="160"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="120"/>
</Grid.RowDefinitions>
<TextBlock Text="{local:Loc Key=Strategy_DecisionReview}" FontSize="16" FontWeight="Bold" Foreground="#111827"/>
<DataGrid Grid.Row="1"
x:Name="FocusTasksGrid"
AutoGenerateColumns="False"
HeadersVisibility="Column"
CanUserAddRows="False"
IsReadOnly="True"
Margin="0,8,0,10">
<DataGrid.Columns>
<DataGridTextColumn Header="{local:Loc Key=Strategy_Column_Task}" Binding="{Binding TaskName}" Width="*"/>
<DataGridTextColumn Header="{local:Loc Key=Strategy_Column_Score}" Binding="{Binding Score}" Width="70"/>
<DataGridTextColumn Header="{local:Loc Key=Strategy_Column_Reason}" Binding="{Binding ReasonText}" Width="170"/>
</DataGrid.Columns>
</DataGrid>
<TextBlock Grid.Row="2" Text="{local:Loc Key=Strategy_WeeklySuggestion}" FontWeight="Bold" Margin="0,0,0,6"/>
<TextBox Grid.Row="3"
x:Name="WeeklyStrategyText"
IsReadOnly="True"
TextWrapping="Wrap"
VerticalScrollBarVisibility="Auto"
Background="#F9FAFB"
BorderBrush="#E5E7EB"/>
<TextBlock Grid.Row="4" Text="{local:Loc Key=Strategy_ThinkingTools}" FontWeight="Bold" Margin="0,10,0,6"/>
<TextBox Grid.Row="5"
x:Name="ThinkingToolsText"
IsReadOnly="True"
TextWrapping="Wrap"
VerticalScrollBarVisibility="Auto"
Background="#F9FAFB"
BorderBrush="#E5E7EB"/>
</Grid>
</Border>
</Grid>
<TextBlock Grid.Row="2"
x:Name="StatusText"
Margin="0,10,0,0"
Foreground="#6B7280"
Text="{local:Loc Key=Strategy_StatusLoadedDefault}"/>
</Grid>
</Window>