aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-05-11 23:18:38 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-05-11 23:18:38 +0300
commitc53bba3c1e20af982f7f4774f22e6fa5061db6d8 (patch)
tree45a262c62480af463c3a2eaa31cd7befc0aa36d6 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views
parent3e98c83bd81875797e8fe954fb31a5a0e817323a (diff)
parent995fa3bfa4536e0462e42231328855d2e1a6bfda (diff)
downloadTango-c53bba3c1e20af982f7f4774f22e6fa5061db6d8.tar.gz
Tango-c53bba3c1e20af982f7f4774f22e6fa5061db6d8.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MachineLoginView.xaml23
1 files changed, 15 insertions, 8 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MachineLoginView.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MachineLoginView.xaml
index 5be9ba089..e4cdfe199 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MachineLoginView.xaml
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/MachineLoginView.xaml
@@ -17,14 +17,21 @@
<Grid>
<DockPanel LastChildFill="True">
- <StackPanel Margin="10" Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Right" DockPanel.Dock="Bottom">
- <Button Command="{Binding LoginCommand}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=Password}" Style="{StaticResource MaterialDesignFlatButton}" IsDefault="True" Margin="0 8 8 0">
- LOGIN
- </Button>
- <Button Command="{Binding CancelCommand}" Style="{StaticResource MaterialDesignFlatButton}" Margin="0 8 0 0">
- CANCEL
- </Button>
- </StackPanel>
+ <Grid DockPanel.Dock="Bottom">
+
+ <CheckBox IsChecked="{Binding RequireSafetyOperations}" VerticalAlignment="Center" Margin="68 0 0 0" ToolTip="Require safety level operations permission from a near-by machine user">
+ <TextBlock Margin="0 -2 0 0">Require Safety Level Operations</TextBlock>
+ </CheckBox>
+
+ <StackPanel Margin="10" Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Right">
+ <Button Command="{Binding LoginCommand}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=Password}" Style="{StaticResource MaterialDesignFlatButton}" IsDefault="True" Margin="0 8 8 0">
+ LOGIN
+ </Button>
+ <Button Command="{Binding CancelCommand}" Style="{StaticResource MaterialDesignFlatButton}" Margin="0 8 0 0">
+ CANCEL
+ </Button>
+ </StackPanel>
+ </Grid>
<Grid Margin="10">
<StackPanel>
<StackPanel Orientation="Horizontal" VerticalAlignment="Top">