sourcegit/src/Views/Popups/Configure.xaml

79 lines
2.9 KiB
Text
Raw Normal View History

2021-04-29 05:05:55 -07:00
<controls:PopupWidget
x:Class="SourceGit.Views.Popups.Configure"
x:Name="me"
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:SourceGit.Views.Controls"
mc:Ignorable="d"
d:DesignWidth="500">
2021-04-29 05:05:55 -07:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="32"/>
<RowDefinition Height="32"/>
<RowDefinition Height="32"/>
<RowDefinition Height="32"/>
<RowDefinition Height="32"/>
2021-04-29 05:05:55 -07:00
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock
Grid.Row="0" Grid.Column="0"
Margin="0,0,8,0"
Text="{DynamicResource Text.Configure.User}"
2021-04-29 05:05:55 -07:00
HorizontalAlignment="Right"/>
<controls:TextEdit
Grid.Row="0" Grid.Column="1"
Text="{Binding ElementName=me, Path=UserName, Mode=TwoWay}"
Height="24"
Placeholder="{DynamicResource Text.Configure.User.Placeholder}"/>
2021-04-29 05:05:55 -07:00
<TextBlock
Grid.Row="1" Grid.Column="0"
Margin="0,0,8,0"
Text="{DynamicResource Text.Configure.Email}"
2021-04-29 05:05:55 -07:00
HorizontalAlignment="Right"/>
<controls:TextEdit
Grid.Row="1" Grid.Column="1"
Text="{Binding ElementName=me, Path=UserEmail, Mode=TwoWay}"
Height="24"
Placeholder="{DynamicResource Text.Configure.Email.Placeholder}"/>
<TextBlock
Grid.Row="2" Grid.Column="0"
Margin="0,0,8,0"
Text="{DynamicResource Text.Configure.Proxy}"
HorizontalAlignment="Right"/>
<controls:TextEdit
Grid.Row="2" Grid.Column="1"
Text="{Binding ElementName=me, Path=Proxy, Mode=TwoWay}"
Height="24"
Placeholder="{DynamicResource Text.Configure.Proxy.Placeholder}"/>
<TextBlock
Grid.Row="3" Grid.Column="0"
Margin="0,0,8,0"
Text="{DynamicResource Text.GPG.Enabled}"
HorizontalAlignment="Right"/>
<CheckBox
Grid.Row="3" Grid.Column="1"
IsChecked="{Binding ElementName=me, Path=GPGSigningEnabled, Mode=TwoWay}"/>
<TextBlock
Grid.Row="4" Grid.Column="0"
Margin="0,0,8,0"
Text="{DynamicResource Text.GPG.UserKey}"
HorizontalAlignment="Right"/>
<controls:TextEdit
Grid.Row="4" Grid.Column="1"
Text="{Binding ElementName=me, Path=GPGUserSigningKey, Mode=TwoWay}"
Height="24"
Placeholder="{DynamicResource Text.GPG.UserKey.Placeholder}"/>
2021-04-29 05:05:55 -07:00
</Grid>
</controls:PopupWidget>