1.0.5 Manueller Login
This commit is contained in:
@@ -5,27 +5,50 @@
|
||||
xmlns:zxing="clr-namespace:ZXing.Net.Maui.Controls;assembly=ZXing.Net.MAUI.Controls"
|
||||
x:Class="Jugenddienst_Stunden.Views.LoginPage"
|
||||
Title="{Binding Title}">
|
||||
|
||||
|
||||
<ContentPage.BindingContext>
|
||||
<models:LoginViewModel />
|
||||
</ContentPage.BindingContext>
|
||||
|
||||
<VerticalStackLayout Spacing="10" Margin="15">
|
||||
<HorizontalStackLayout Spacing="10">
|
||||
<Label FontSize="22" FontAttributes="Bold" Text="{Binding AppTitle}" VerticalOptions="End" />
|
||||
<Label FontSize="22" Text="{Binding Version}" VerticalOptions="End" />
|
||||
</HorizontalStackLayout>
|
||||
<ScrollView>
|
||||
<VerticalStackLayout Spacing="10" Margin="15">
|
||||
<HorizontalStackLayout Spacing="10">
|
||||
<Label FontSize="22" FontAttributes="Bold" Text="{Binding AppTitle}" VerticalOptions="End" />
|
||||
<Label FontSize="22" Text="{Binding Version}" VerticalOptions="End" />
|
||||
</HorizontalStackLayout>
|
||||
|
||||
|
||||
<Label Text="{Binding Message}" HeightRequest="40" />
|
||||
<Label x:Name="ServerLabel" Text="{Binding Server}" HeightRequest="40" Margin="0,0,0,40" />
|
||||
<Label Text="{Binding Message}" HeightRequest="40" />
|
||||
<Label x:Name="ServerLabel" Text="{Binding Server}" HeightRequest="25" Margin="0,0,0,10" />
|
||||
|
||||
<zxing:CameraBarcodeReaderView x:Name="barcodeScannerView"
|
||||
<Frame HeightRequest="300" Padding="0" CornerRadius="0">
|
||||
<zxing:CameraBarcodeReaderView x:Name="barcodeScannerView"
|
||||
BarcodesDetected="BarcodesDetected"
|
||||
HorizontalOptions="FillAndExpand"
|
||||
VerticalOptions="FillAndExpand"/>
|
||||
</VerticalStackLayout>
|
||||
</Frame>
|
||||
|
||||
<VerticalStackLayout Padding="30" Spacing="15">
|
||||
<Label Text="Manueller Login"
|
||||
FontSize="32"
|
||||
HorizontalOptions="Start" />
|
||||
|
||||
<Entry x:Name="UsernameEntry"
|
||||
Placeholder="Benutzername"
|
||||
Keyboard="Email" />
|
||||
|
||||
<Entry x:Name="PasswordEntry"
|
||||
Placeholder="Passwort"
|
||||
IsPassword="True" />
|
||||
|
||||
<Entry x:Name="ServerEntry"
|
||||
Placeholder="Server"
|
||||
Keyboard="Url" />
|
||||
|
||||
<Button Text="Login" Clicked="OnLoginButtonClicked" />
|
||||
|
||||
</VerticalStackLayout>
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
||||
|
||||
|
||||
</ContentPage>
|
||||
Reference in New Issue
Block a user