aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Technician/Views/CatalogView.xaml
blob: 78fa17979912378a8a06189b78c19f328370bf27 (plain)
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
<UserControl x:Class="Tango.PPC.Technician.Views.CatalogView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:sys="clr-namespace:System;assembly=mscorlib"
             xmlns:vm="clr-namespace:Tango.PPC.Technician.ViewModels"
             xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
             xmlns:global="clr-namespace:Tango.PPC.Technician"
             xmlns:local="clr-namespace:Tango.PPC.Technician.Views"
             mc:Ignorable="d" 
             d:DesignHeight="1280" d:DesignWidth="800" d:DataContext="{d:DesignInstance Type=vm:CatalogViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.CatalogViewVM}">
    <Grid Background="{StaticResource TangoMidBackgroundBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>

        <Border Padding="20" Background="{StaticResource TangoPrimaryBackgroundBrush}" BorderThickness="0 0 0 1" BorderBrush="{StaticResource TangoDividerBrush}">
            <Border.Effect>
                <DropShadowEffect Color="Silver" ShadowDepth="0" BlurRadius="20" Opacity="1" />
            </Border.Effect>
            <TextBlock VerticalAlignment="Center" FontSize="{StaticResource TangoHeaderFontSize}" FontWeight="SemiBold">Technician</TextBlock>
        </Border>

        <touch:LightTouchScrollViewer Grid.Row="1">
            <Grid Grid.Row="1" VerticalAlignment="Top" Margin="20">
                <StackPanel Margin="30 0 30 0" DockPanel.Dock="Bottom" VerticalAlignment="Center">

                    <StackPanel.Resources>
                        <Style TargetType="touch:TouchButton" x:Key="ButtonMenu">
                            <Setter Property="Padding" Value="10"></Setter>
                            <Setter Property="HorizontalContentAlignment" Value="Left"></Setter>
                            <Setter Property="Height" Value="140"></Setter>
                            <Setter Property="Background" Value="Transparent"></Setter>
                            <Setter Property="BorderBrush" Value="{StaticResource TangoDarkForegroundBrush}"></Setter>
                            <Setter Property="BorderThickness" Value="1"></Setter>
                            <Setter Property="Foreground" Value="{StaticResource TangoDarkForegroundBrush}"></Setter>
                            <Setter Property="EnableDropShadow" Value="False"></Setter>
                            <Setter Property="CornerRadius" Value="5"></Setter>
                            <Setter Property="Margin" Value="0 0 0 20"></Setter>
                            <Setter Property="RippleBrush" Value="#4BB8B8B8"></Setter>
                        </Style>
                    </StackPanel.Resources>

                    <TextBlock Margin="0 20 0 40" Foreground="{StaticResource TangoGrayTextBrush}">The technician module enables additional diagnostic tools.</TextBlock>

                    <touch:TouchButton Command="{Binding NavigationCommand}" CommandParameter="LoggingView" Style="{StaticResource ButtonMenu}">
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                            <Image Source="../Images/logging.png" Width="80" Height="80" />
                            <StackPanel Margin="10 0 0 0">
                                <TextBlock FontSize="{StaticResource TangoButtonFontSize}">Logging</TextBlock>
                                <TextBlock Foreground="{StaticResource TangoGrayTextBrush}" TextWrapping="Wrap" Width="580">
                                 Display and investigate issues using application and embedded device logs.
                                </TextBlock>
                            </StackPanel>
                        </StackPanel>
                    </touch:TouchButton>

                    <touch:TouchButton Command="{Binding NavigationCommand}" CommandParameter="SystemView" Style="{StaticResource ButtonMenu}">
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                            <Image Source="../Images/system.png" Width="80" Height="80" />
                            <StackPanel Margin="10 0 0 0">
                                <TextBlock FontSize="{StaticResource TangoTitleFontSize}">System</TextBlock>
                                <TextBlock Foreground="{StaticResource TangoGrayTextBrush}" TextWrapping="Wrap" Width="580">
                                 Display system properties, perform system actions, reset, shutdown etc...
                                </TextBlock>
                            </StackPanel>
                        </StackPanel>
                    </touch:TouchButton>

                    <touch:TouchButton Command="{Binding NavigationCommand}" CommandParameter="DispensersView" Style="{StaticResource ButtonMenu}">
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                            <Image Source="../Images/dispensers.png" Width="80" Height="80" />
                            <StackPanel Margin="10 0 0 0">
                                <TextBlock FontSize="{StaticResource TangoButtonFontSize}">Dispensers</TextBlock>
                                <TextBlock Foreground="{StaticResource TangoGrayTextBrush}" TextWrapping="Wrap" Width="580">
                                 Perform manual dispensers homing priming.
                                </TextBlock>
                            </StackPanel>
                        </StackPanel>
                    </touch:TouchButton>

                    <touch:TouchButton Command="{Binding NavigationCommand}" CommandParameter="PackagesView" Style="{StaticResource ButtonMenu}">
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                            <Image Source="../Images/packages.png" Width="80" Height="80" />
                            <StackPanel Margin="10 0 0 0">
                                <TextBlock FontSize="{StaticResource TangoButtonFontSize}">Installed Packages</TextBlock>
                                <TextBlock Foreground="{StaticResource TangoGrayTextBrush}" TextWrapping="Wrap" Width="580">
                                 View the history of update packages installation.
                                </TextBlock>
                            </StackPanel>
                        </StackPanel>
                    </touch:TouchButton>

                    <touch:TouchButton Command="{Binding NavigationCommand}" CommandParameter="UpdatesView" Style="{StaticResource ButtonMenu}">
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                            <Image Source="../Images/sync.png" Width="80" Height="80" />
                            <StackPanel Margin="10 0 0 0">
                                <TextBlock FontSize="{StaticResource TangoButtonFontSize}">Updates &amp; Synchronization</TextBlock>
                                <TextBlock Foreground="{StaticResource TangoGrayTextBrush}" TextWrapping="Wrap" Width="580">
                                 View the current status and history of update and synchronization operations.
                                </TextBlock>
                            </StackPanel>
                        </StackPanel>
                    </touch:TouchButton>

                    <touch:TouchButton Command="{Binding NavigationCommand}" CommandParameter="RemoteConnectionsView" Style="{StaticResource ButtonMenu}">
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                            <Image Source="../Images/remote_connections.png" Width="80" Height="80" />
                            <StackPanel Margin="10 0 0 0">
                                <TextBlock FontSize="{StaticResource TangoButtonFontSize}">Remote Connections</TextBlock>
                                <TextBlock Foreground="{StaticResource TangoGrayTextBrush}" TextWrapping="Wrap" Width="580">
                                 View the current status of remote connections to this machine.
                                </TextBlock>
                            </StackPanel>
                        </StackPanel>
                    </touch:TouchButton>

                    <!--<touch:TouchButton Command="{Binding BrowserCommand}" Style="{StaticResource ButtonMenu}">
                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
                            <Image Source="../Images/browser.png" RenderOptions.BitmapScalingMode="Fant" Width="80" Height="80" />
                            <StackPanel Margin="10 0 0 0">
                                <TextBlock FontSize="{StaticResource TangoButtonFontSize}">Browser</TextBlock>
                                <TextBlock Foreground="{StaticResource TangoGrayTextBrush}" TextWrapping="Wrap" Width="580">
                                 Open the browser module and navigate the web.
                                </TextBlock>
                            </StackPanel>
                        </StackPanel>
                    </touch:TouchButton>-->
                </StackPanel>
            </Grid>
        </touch:LightTouchScrollViewer>
    </Grid>
</UserControl>