blob: 9aa5bb4471e97edac9942daf48cb91791e7ca444 (
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
|
<UserControl x:Class="Tango.FSE.Statistics.Dialogs.JobRunStreamingView"
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:controls="clr-namespace:Tango.FSE.Common.Controls;assembly=Tango.FSE.Common"
xmlns:material="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Tango.FSE.Statistics.Dialogs"
mc:Ignorable="d"
Width="600" Height="300" d:DataContext="{d:DesignInstance Type=local:JobRunStreamingViewVM, IsDesignTimeCreatable=False}" Background="{StaticResource FSE_PrimaryBackgroundLightBrush}" Foreground="{StaticResource FSE_PrimaryForegroundBrush}">
<Grid>
<DockPanel Margin="10">
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
<Image Source="../Images/streaming.png" Width="42" Height="42" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="Fant" />
<TextBlock VerticalAlignment="Center" Margin="10 0 0 0" FontSize="{StaticResource FSE_LargeFontSize}">
Job Runs Streaming
</TextBlock>
</StackPanel>
<Grid Margin="0 30 0 0">
<StackPanel Margin="20 0 0 0">
<StackPanel>
<CheckBox x:Name="chkEnable" IsChecked="{Binding Config.Enable}">Enable Streaming</CheckBox>
<DockPanel Margin="18 2 0 0" TextElement.Foreground="{StaticResource FSE_GrayBrush}">
<material:PackIcon Kind="InfoOutline" Width="18" Height="18" />
<TextBlock Margin="2 1 0 0" VerticalAlignment="Center" FontSize="{StaticResource FSE_SmallerFontSize}">
Automatically update this view when the remote machine completes a job.
</TextBlock>
</DockPanel>
</StackPanel>
<StackPanel Margin="0 20 0 0" IsEnabled="{Binding ElementName=chkEnable,Path=IsChecked,Mode=OneWay}">
<CheckBox IsChecked="{Binding Config.EnableCsvReports}">Enable CSV Report Streaming</CheckBox>
<DockPanel Margin="18 2 0 0" TextElement.Foreground="{StaticResource FSE_GrayBrush}">
<material:PackIcon Kind="InfoOutline" Width="18" Height="18" />
<TextBlock Margin="2 1 0 0" VerticalAlignment="Center" FontSize="{StaticResource FSE_SmallerFontSize}">
Automatically create a new csv report file when a new job run is received.
</TextBlock>
</DockPanel>
<StackPanel Margin="20 10 20 0">
<TextBlock FontSize="{StaticResource FSE_SmallFontSize}">Reports Output Folder</TextBlock>
<DockPanel>
<Button ToolTip="Select Folder" DockPanel.Dock="Right" Margin="10 0 0 0" Style="{StaticResource FSE_FlatButton_OpacityHover}" Padding="0" Command="{Binding BrowseCsvReportsFolderCommand}">
<material:PackIcon Kind="FolderOpenOutline" Width="20" Height="20" />
</Button>
<TextBox Style="{StaticResource FSE_Rounded_Corners_TextBox}" FontSize="{StaticResource FSE_SmallFontSize}" Text="{Binding Config.CsvReportsFolder}" IsReadOnly="True"></TextBox>
</DockPanel>
</StackPanel>
</StackPanel>
</StackPanel>
</Grid>
</DockPanel>
</Grid>
</UserControl>
|