about summary refs log tree commit diff
path: root/MatrixUtils.Desktop/LoginWindow.axaml
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-24 02:31:56 +0100
committerRory& <root@rory.gay>2024-01-24 17:05:25 +0100
commit03313562d21d5db9bf6a14ebbeab80e06c883d3a (patch)
treee000546a2ee8e6a886a7ed9fd01ad674178fb7cb /MatrixUtils.Desktop/LoginWindow.axaml
parentMake RMU installable (diff)
downloadMatrixUtils-03313562d21d5db9bf6a14ebbeab80e06c883d3a.tar.xz
MRU->RMU, fixes, cleanup
Diffstat (limited to 'MatrixUtils.Desktop/LoginWindow.axaml')
-rw-r--r--MatrixUtils.Desktop/LoginWindow.axaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/MatrixUtils.Desktop/LoginWindow.axaml b/MatrixUtils.Desktop/LoginWindow.axaml
new file mode 100644
index 0000000..ecfa3f5
--- /dev/null
+++ b/MatrixUtils.Desktop/LoginWindow.axaml
@@ -0,0 +1,25 @@
+<Window 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"
+        xmlns:desktop="clr-namespace:MatrixUtils.Desktop"
+        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+        Title="LoginWindow"
+        x:Class="MatrixUtils.Desktop.LoginWindow"
+        x:DataType="desktop:LoginWindow"
+        DataContext="{Binding $self}"
+        SizeToContent="WidthAndHeight" CanResize="False"
+        MinWidth="250">
+    <StackPanel>
+        <Label>Log in</Label>
+        <StackPanel Orientation="Horizontal">
+            <Label Width="100">User ID</Label>
+            <TextBox MinWidth="250" Text="{Binding Username, Mode=TwoWay}" />
+        </StackPanel>
+        <StackPanel Orientation="Horizontal">
+            <Label Width="100">Password</Label>
+            <MaskedTextBox MinWidth="250" PasswordChar="*" Text="{Binding Password, Mode=TwoWay}" />
+        </StackPanel>
+        <Button Click="Login">Login</Button>
+    </StackPanel>
+</Window>
\ No newline at end of file