mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-12 07:48:05 +00:00
76 lines
2.9 KiB
XML
76 lines
2.9 KiB
XML
<!--
|
|
Copyright NetFoundry Inc.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<UserControl x:Class="ZitiDesktopEdge.MenuEditToggle"
|
|
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:ZitiDesktopEdge"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="31"
|
|
Height="31"
|
|
HorizontalAlignment="Stretch"
|
|
d:DesignWidth="350">
|
|
<Grid >
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="40"/>
|
|
<ColumnDefinition Width="40"/>
|
|
<ColumnDefinition Width="40"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBox Name="MainLabel"
|
|
Background="White"
|
|
FontWeight="Bold"
|
|
IsReadOnly="True"
|
|
HorizontalContentAlignment="Stretch"
|
|
VerticalContentAlignment="Center"
|
|
BorderThickness="0"
|
|
ClipToBounds="True"
|
|
Grid.Column="0"
|
|
FontSize="12"
|
|
Foreground="Black"
|
|
/>
|
|
<Image Name="RecoveryButton"
|
|
Source="/Assets/Images/recovery.png"
|
|
Grid.Column="1"
|
|
Width="30" Height="30"
|
|
Cursor="Hand"
|
|
MouseUp="MFARecovery"
|
|
Visibility="Visible"
|
|
/>
|
|
<Image Name="AuthOff" Source="/Assets/Images/mfaoff.png"
|
|
Grid.Column="2"
|
|
Width="30" Height="30"
|
|
Cursor="Hand"
|
|
MouseUp="MFAAuthenticate"
|
|
Visibility="Visible"
|
|
/>
|
|
<Image Name="AuthOn"
|
|
Source="/Assets/Images/mfaon.png"
|
|
Grid.Column="2"
|
|
Width="30" Height="30"
|
|
Visibility="Visible"
|
|
/>
|
|
<local:Toggler x:Name="ToggleField"
|
|
Grid.Column="4"
|
|
HorizontalAlignment="Right"
|
|
OnToggled="Toggled"
|
|
Padding="0,2,15,0"
|
|
Margin="0,0,0,10"
|
|
/>
|
|
</Grid>
|
|
</UserControl>
|