blob: a7cf658528edf216ecc00bf07c77317881f5e7cc (
plain)
| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 ff 00 00 02 5e 08 06 00 00 00 ba 59 0c | .PNG........IHDR.......^......Y. |
| 0020 | 68 00 00 00 04 67 41 4d 41 00 00 b1 8f 0b fc 61 05 00 00 00 09 70 48 59 73 00 00 2e 22 00 00 2e | h....gAMA......a.....pHYs..."... |
| 0040 | 22 01 aa e2 dd 92 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 70 61 69 6e 74 2e 6e 65 74 | ".........tEXtSoftware.paint.net |
| 0060 | 20 34 2e 30 2e 31 37 33 6e 9f 63 00 00 b1 af 49 44 41 54 78 5e ed bd 79 c0 2d 55 79 e6 9b 08 de | .4.0.173n.c....IDATx^..y.-Uy.... |
| 0080 | 44 66 95 4e 72 e8 0c 7d af 26 ad 49 df 16 6d cc ed e4 e2 41 24 49 df 8e 38 64 e8 ee dc 20 09 78 | Df.Nr..}.&.I..m....A$I..8d.....x |
| 00a0 | bb 83 ca 18 24 83 89 80 63 4b 3a 1a 0c 0e c0 21 28 f3 a0 08 1c 64 16 88 03 22 b3 80 ca e4 00 22 | ....$...cK:....!(....d..."....." |
| 00c0 | e7 30 cb 99 98 0f 59 b7 9e aa ef dd df bb df fd ae 9a f7 de 55 b5 9f 3f 7e df fe 6a d5 aa 55 ab | .0....Y.............U..?~..j..U. |
| 00e0 | d6 5a b5 9e 77 8d f5 13 21 04 42 08 21 3d 67 ed fd f7 87 53 57 1d 1b 4e 3b e1 38 97 23 de 7d 70 | .Z..w...!.B.!=g....SW..N;.8.#.}p |
| 0100 | 78 db ef ed 59 8a 57 bf e2 65 e1 97 7f f1 e7 66 c0 8a f0 f2 5f f8 d9 f4 77 e5 2e 3b 8f c5 01 71 | x...Y.W..e.....f...._...w..;...q |
| 0120 | b6 cf 48 da c3 75 24 84 10 32 3d 1e 5c bb 66 42 a8 45 f4 f6 7a eb 1b 53 de f4 86 d7 a5 02 99 89 | ..H..u$..2=.\.fB.E..z..S........ |
| 0140 | e3 f2 ef 96 5b fe 44 52 73 2f 06 db 6f bd 45 92 5c 7e 1a 92 66 b8 8e 84 10 42 ca 73 cb 8d 37 4c | ....[.DRs/..o.E.\~..f....B.s..7L |
| 0160 | <<UserControl x:Class="Tango.MachineStudio.UsersAndRoles.Views.OrganizationSelectionView"
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:local="clr-namespace:Tango.MachineStudio.UsersAndRoles.Views"
xmlns:global="clr-namespace:Tango.MachineStudio.UsersAndRoles"
xmlns:vm="clr-namespace:Tango.MachineStudio.UsersAndRoles.ViewModels"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:controls="clr-namespace:Tango.SharedUI.Controls;assembly=Tango.SharedUI"
xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
mc:Ignorable="d"
d:DesignHeight="1080" d:DesignWidth="1920" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}" Background="Transparent">
<UserControl.Resources>
<converters:DateTimeUTCToShortDateTimeConverter x:Key="DateTimeUTCToShortDateTimeConverter" />
</UserControl.Resources>
<Grid>
<DockPanel Margin="100" MaxWidth="1200">
<Grid DockPanel.Dock="Top">
<Image Source="../Images/organization.png" Width="300" />
</Grid>
<Grid DockPanel.Dock="Bottom">
<StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0 0 0 0">
<Button Margin="0 0 10 0" MinWidth="160" Height="50" Background="#FF7575" BorderBrush="#FF7575" Command="{Binding RemoveOrganizationCommand}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="Delete" Width="20" Height="20" />
<TextBlock Margin="5 0 0 0" FontSize="16">DELETE</TextBlock>
</StackPanel>
</Button>
<Button Margin="0 0 10 0" MinWidth="160" Height="50" Background="#65C682" BorderBrush="#65C682" Command="{Binding AddOrganizationCommand}">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="Plus" Width="20" Height="20" />
<TextBlock Margin="5 0 0 0" FontSize="16">NEW ORGANIZATION</TextBlock>
</StackPanel>
</Button>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Margin="50 0 0 0" MinWidth="200" Height="60" Command="{Binding ManageOrganizationCommand}">
<StackPanel Orientation="Horizontal">
<TextBlock FontSize="18" VerticalAlignment="Center">MANAGE</TextBlock>
<materialDesign:PackIcon Margin="5 0 0 0" Kind="ChevronRight" Width="30" Height="30" />
</StackPanel>
</Button>
</StackPanel>
</Grid>
<Grid>
<DataGrid Margin="0 0 0 10" BorderBrush="Silver" IsReadOnly="True" BorderThickness="1" Background="#93FFFFFF" AlternatingRowBackground="#C9F6F6F6" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" ItemsSource="{Binding Organizations}" SelectedItem="{Binding SelectedOrganization}">
<DataGrid.CellStyle>
<Style TargetType="DataGridCell" BasedOn="{StaticResource {x:Type DataGridCell}}">
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="VerticalContentAlignment" Value="Center"></Setter>
</Style>
</DataGrid.CellStyle>
<DataGrid.Columns>
<DataGridTextColumn Header="NAME" Binding="{Binding Name}" Width="1*" />
<DataGridTextColumn Header="LAST UPDATED" Binding="{Binding LastUpdated,Converter={StaticResource DateTimeUTCToShortDateTimeConverter}}" Width="1*" />
<DataGridTextColumn Header="CONTACT" Binding="{Binding Contact.FullName}" Width="1*" />
<DataGridTextColumn Header="ADDRESS" Binding="{Binding Address.AddressString}" Width="1*" />
<DataGridTextColumn Header="MACHINES" Binding="{Binding Machines.Count}" Width="1*" />
<DataGridTextColumn Header="USERS" Binding="{Binding Users.Count}" Width="1*" />
</DataGrid.Columns>
</DataGrid>
</Grid>
</DockPanel>
</Grid>
</UserControl>