Add Windows desktop version
This commit is contained in:
35
windows/StreamPlayer.Desktop/Views/BlockedDialog.axaml
Normal file
35
windows/StreamPlayer.Desktop/Views/BlockedDialog.axaml
Normal file
@@ -0,0 +1,35 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="StreamPlayer.Desktop.Views.BlockedDialog"
|
||||
Width="420"
|
||||
SizeToContent="Height"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
CanResize="False"
|
||||
Title="Dispositivo bloqueado">
|
||||
<Border Padding="20">
|
||||
<StackPanel Spacing="12">
|
||||
<TextBlock Text="Acceso bloqueado"
|
||||
FontSize="20"
|
||||
FontWeight="SemiBold"/>
|
||||
<TextBlock x:Name="ReasonText"
|
||||
TextWrapping="Wrap"/>
|
||||
<StackPanel x:Name="TokenPanel"
|
||||
Spacing="6"
|
||||
IsVisible="False">
|
||||
<TextBlock Text="Token para soporte:"/>
|
||||
<TextBox x:Name="TokenText"
|
||||
IsReadOnly="True"
|
||||
Background="#111"
|
||||
Foreground="White"
|
||||
BorderBrush="#555"/>
|
||||
<Button Content="Copiar token"
|
||||
HorizontalAlignment="Left"
|
||||
Click="OnCopyClicked"/>
|
||||
</StackPanel>
|
||||
<Button Content="Cerrar aplicación"
|
||||
HorizontalAlignment="Right"
|
||||
Width="180"
|
||||
Click="OnCloseClicked"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user