124 lines
5.0 KiB
XML
124 lines
5.0 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="WorkFlowCheck.MAUI.MainPage"
|
|
Title="Főmenü"
|
|
BackgroundColor="#f0f0f0">
|
|
|
|
<Shell.TitleView>
|
|
<Grid Padding="2" VerticalOptions="Center">
|
|
<Label Text="Főmenü"
|
|
FontSize="22"
|
|
FontAttributes="Bold"
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="Start" />
|
|
<HorizontalStackLayout
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="End"
|
|
Spacing="5">
|
|
<Frame CornerRadius="1"
|
|
Padding="5"
|
|
HasShadow="True"
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="End">
|
|
<Label x:Name="DeviceId"
|
|
FontSize="10"
|
|
TextColor="Black"/>
|
|
</Frame>
|
|
<Frame CornerRadius="1"
|
|
Padding="5"
|
|
HasShadow="True"
|
|
VerticalOptions="Center"
|
|
HorizontalOptions="End">
|
|
<Label x:Name="UserInfo"
|
|
FontSize="10"
|
|
FontAttributes="Bold"
|
|
TextColor="Black"/>
|
|
</Frame>
|
|
</HorizontalStackLayout>
|
|
</Grid>
|
|
</Shell.TitleView>
|
|
<Grid RowDefinitions="Auto, * , Auto" Padding="30,0">
|
|
|
|
<ScrollView Grid.Row="1"
|
|
Padding="25">
|
|
<VerticalStackLayout Spacing="25">
|
|
<Frame x:Name="AdminFrame"
|
|
BorderColor="Gray"
|
|
Padding="5"
|
|
CornerRadius="10"
|
|
Margin="1"
|
|
HasShadow="True">
|
|
<VerticalStackLayout>
|
|
<Label Text="Alapműveletek" FontAttributes="Bold" FontSize="Medium" HorizontalOptions="Center" />
|
|
<Button
|
|
x:Name="DownloadAPK" Margin="5"
|
|
Text="Program letöltése"
|
|
SemanticProperties.Hint="Program letöltése"
|
|
Clicked="OnButtonDownloadAPK"
|
|
HorizontalOptions="Fill" />
|
|
<Button
|
|
x:Name="ButtonSync" Margin="5"
|
|
Text="Adatok szinkronizálása"
|
|
SemanticProperties.Hint="Adatok szinkronizálása"
|
|
Clicked="OnButtonSync"
|
|
HorizontalOptions="Fill" />
|
|
<Button
|
|
x:Name="ButtonBase" Margin="5"
|
|
Text="Törzsadatok"
|
|
SemanticProperties.Hint="Törzsadatok"
|
|
Clicked="OnButtonBaseStock"
|
|
HorizontalOptions="Fill" />
|
|
<Button
|
|
x:Name="NFCTestBtn" Margin="5"
|
|
Text="NFC olvasó teszt"
|
|
SemanticProperties.Hint="NFC olvasó teszt"
|
|
Clicked="OnButtonNFCTest"
|
|
HorizontalOptions="Fill" />
|
|
</VerticalStackLayout>
|
|
</Frame>
|
|
<Frame BorderColor="Gray"
|
|
Padding="5"
|
|
Margin="1"
|
|
CornerRadius="10"
|
|
HasShadow="True">
|
|
<VerticalStackLayout>
|
|
<Label Text="Ellenőrzés" FontAttributes="Bold" FontSize="Medium" HorizontalOptions="Center" />
|
|
<Button
|
|
x:Name="ButtonCheckList" Margin="5"
|
|
Text="Ellenőrzési feladatok"
|
|
SemanticProperties.Hint="Ellenőrzési feadatok"
|
|
Clicked="OnButtonCheckList"
|
|
HorizontalOptions="Fill" />
|
|
</VerticalStackLayout>
|
|
</Frame>
|
|
|
|
</VerticalStackLayout>
|
|
</ScrollView>
|
|
|
|
<Frame Grid.Row="2"
|
|
BorderColor="Gray"
|
|
CornerRadius="10"
|
|
Padding="5"
|
|
Margin="1"
|
|
HasShadow="True">
|
|
<Button
|
|
x:Name="LogoutBtn" Margin="5"
|
|
BackgroundColor="DarkRed"
|
|
Text="Kijelentkezés"
|
|
SemanticProperties.Hint="Kijelentkezés"
|
|
Clicked="OnButtonLogout"
|
|
HorizontalOptions="Fill"
|
|
VerticalOptions="Center">
|
|
<Button.ImageSource>
|
|
<FontImageSource FontFamily="FontAwesome" Glyph="" Size="20" />
|
|
</Button.ImageSource>
|
|
</Button>
|
|
</Frame>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</ContentPage>
|