more work on the view
This commit is contained in:
parent
f526610b86
commit
e8ab2980ec
@ -1,17 +1,16 @@
|
|||||||
<UserControl
|
<UserControl
|
||||||
xmlns="https://github.com/avaloniaui"
|
xmlns="https://github.com/avaloniaui"
|
||||||
x:Class="Project.View.LoginPage"
|
x:Class="Project.View.LoginPage"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
>
|
|
||||||
<Grid Background="SandyBrown">
|
<Grid Background="SandyBrown">
|
||||||
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||||
<Image Source="avares://Project.View/Images/keywi_logo_2.png" Height="400" Width="400"/>
|
<Image Source="avares://Project.View/Images/keywi_logo_2.png" Height="400" Width="400"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
|
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||||
<TextBlock>Your Login Name:</TextBlock>
|
<TextBlock>Your Login Name:</TextBlock>
|
||||||
<TextBox Watermark="Login-Name" TextWrapping="NoWrap"/>
|
<TextBox Watermark="Login-Name" TextWrapping="Wrap"/>
|
||||||
<TextBlock>Password:</TextBlock>
|
<TextBlock>Password:</TextBlock>
|
||||||
<TextBox Watermark="Password" TextWrapping="NoWrap" PasswordChar="*"/>
|
<TextBox Watermark="Password" TextWrapping="Wrap" PasswordChar="*"/>
|
||||||
<Button Name="ConfirmButton" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Center" Margin="20"> LOGIN </Button>
|
<Button Name="ConfirmButton" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Center" Margin="20"> LOGIN </Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@ public partial class MainWindow : Window
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
_controller = new();
|
_controller = new();
|
||||||
MainGrid.Children.Add(new LoginPage());
|
MainGrid.Children.Add(new MenuView());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -8,16 +8,34 @@
|
|||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" />
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<ScrollViewer Grid.Column="0" VerticalScrollBarVisibility="Auto">
|
<ScrollViewer Margin="0, 0, 0, 40" Grid.Column="0" VerticalScrollBarVisibility="Auto">
|
||||||
|
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<Button Name="btn1" Width="200" Background="Pink" BorderBrush="Black" BorderThickness="1">BeispielButton</Button>
|
<Button Name="btn1" Width="200" Background="Pink" BorderBrush="Black" BorderThickness="1">BeispielButton</Button>
|
||||||
<Button Name="btn2" Width="200" Background="Pink" BorderBrush="Black" BorderThickness="1">BeispielButton2</Button>
|
<Button Name="btn2" Width="200" Background="Pink" BorderBrush="Black" BorderThickness="1">BeispielButton2</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</ScrollViewer>
|
</ScrollViewer>
|
||||||
|
<Button Name="NewEntry" VerticalAlignment="Bottom" HorizontalAlignment="Left" Content="+"/>
|
||||||
|
|
||||||
<Border Grid.Column="1" Background="RosyBrown">
|
<Border Grid.Column="1" Background="RosyBrown">
|
||||||
<TextBlock Text="Hauptinhalt" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="24"/>
|
<StackPanel Orientation="Horizontal">
|
||||||
|
|
||||||
|
<StackPanel Orientation="Vertical" Margin="20,20,100,20">
|
||||||
|
<TextBlock Margin="23" Text="Name:" HorizontalAlignment="Left" FontSize="20"/>
|
||||||
|
<TextBlock Margin="23" Text="URL:" HorizontalAlignment="Left" FontSize="20"/>
|
||||||
|
<TextBlock Margin="23" Text="Password:" HorizontalAlignment="Left" FontSize="20"/>
|
||||||
|
<TextBlock Margin="23" Text="Note:" HorizontalAlignment="Left" FontSize="20"/>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Orientation="Vertical" Margin="20,20,20,20">
|
||||||
|
<TextBox Margin="20" Text="THE NAME OF YOUR SAVED LOGIN" Height="30" TextWrapping="Wrap"/>
|
||||||
|
<TextBox Margin="20" Text="THE URL TO YOUR PAGE" Height="30" TextWrapping="Wrap"/>
|
||||||
|
<TextBox Margin="20" Text="PASSWORT" Height="30" TextWrapping="Wrap" PasswordChar="*"/>
|
||||||
|
<TextBox Margin="20" Height="150" Text="YOUR NOTES" TextWrapping="Wrap"/>
|
||||||
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user