Initial commit
This commit is contained in:
151
Valheim Dashboard/Views/LizenzView.axaml
Normal file
151
Valheim Dashboard/Views/LizenzView.axaml
Normal file
@@ -0,0 +1,151 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="1280" d:DesignHeight="800"
|
||||
x:Class="Valheim_Dashboard.Views.LizenzView">
|
||||
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="0"
|
||||
x:Name="ueberschrift"
|
||||
Text="Bitte trage deinen Lizenzkey ein"
|
||||
FontSize="36"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
Opacity="100"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,50,0,0"
|
||||
>
|
||||
<TextBlock.Effect>
|
||||
<DropShadowEffect
|
||||
Color="Gray"
|
||||
BlurRadius="8"
|
||||
OffsetX="4"
|
||||
OffsetY="4"
|
||||
/>
|
||||
</TextBlock.Effect>
|
||||
</TextBlock>
|
||||
|
||||
|
||||
<TextBox x:Name="LizenzKeyTextBox"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
VerticalContentAlignment="Center"
|
||||
Text="Lizenzkey eingeben"
|
||||
IsEnabled="true"
|
||||
Height="100"
|
||||
Margin="50,0,200,0"
|
||||
/>
|
||||
<Button
|
||||
x:Name="verifizieren_button"
|
||||
Content="Verifizieren"
|
||||
Width="100"
|
||||
Height="100"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
VerticalContentAlignment="Center"
|
||||
IsVisible="true"
|
||||
IsEnabled="False"
|
||||
Margin="0,0,50,0"
|
||||
Click="Verifizieren_button_OnClick"
|
||||
/>
|
||||
|
||||
<StackPanel Grid.Row="0"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="0,100,0,0"
|
||||
Height="200"
|
||||
>
|
||||
<TextBlock
|
||||
x:Name="verbindung_lizenz_server"
|
||||
Text="Verbindung zum Lizenz Server wird hergestellt"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
Opacity="100"
|
||||
IsVisible="false"
|
||||
>
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
x:Name="verbindung_fehler_lizenz_server"
|
||||
Text="Verbindung konnte nicht hergestellt werden"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
Opacity="100"
|
||||
IsVisible="false"
|
||||
>
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock
|
||||
x:Name="verbindung_erfolgreich_lizenz_server"
|
||||
Text="Verbindung erfolgreich Hergestellt"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
Opacity="100"
|
||||
IsVisible="false"
|
||||
>
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
x:Name="lizenz_prüfung"
|
||||
Text="Lizenz wird überprüft"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
Opacity="100"
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="false"
|
||||
>
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
x:Name="lizenz_erfolgreich"
|
||||
Text="Lizenz erfolgreich aktiviert!"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
Opacity="100"
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="false"
|
||||
>
|
||||
</TextBlock>
|
||||
<TextBlock
|
||||
x:Name="lizenz_fehler"
|
||||
Text="Lizenz konnte nicht aktiviert werden!"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
Opacity="100"
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="false"
|
||||
>
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
|
||||
|
||||
<Button
|
||||
Grid.Row="0"
|
||||
x:Name="weiter"
|
||||
Content="Weiter"
|
||||
HorizontalAlignment="Right"
|
||||
HorizontalContentAlignment="Center"
|
||||
VerticalContentAlignment="Center"
|
||||
FontWeight="Bold"
|
||||
VerticalAlignment="Bottom"
|
||||
Margin="10"
|
||||
Width="100"
|
||||
Height="100"
|
||||
IsVisible="False"
|
||||
Click="Weiter_Click">
|
||||
</Button>
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user