<?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.Pages.BaseStock.BaseStockPage"
             BackgroundColor="#f0f0f0"
             Title="Törzs adatok">
    <Shell.TitleView>
        <Grid Padding="2" VerticalOptions="Center">
            <Label Text="Törzs adatok"
               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>
    <VerticalStackLayout Margin="50,50,50,10">
        <Frame BorderColor="Gray" Padding="5" Margin="1" HasShadow="True" CornerRadius="10">
            <VerticalStackLayout Margin="10,10,10,0">
                <Button
                    x:Name="ButtonGetCheckPoints"
                    Margin="0,0,0,10"
                    Text="Ellenőrzési pontok" 
                    SemanticProperties.Hint="Ellenőrzési pontok"
                    Clicked="OnButtonGetCheckPoints"
                    HorizontalOptions="Fill" />
                <!--<Button
                    x:Name="ButtonGetEquipments"
                    Margin="0,0,0,10"
                    Text="Berendezések" 
                    SemanticProperties.Hint="Berendezések"
                    Clicked="OnButtonGetEquipments"
                    HorizontalOptions="Fill" />-->
                <!--<Button
                    x:Name="ButtonGetLocations"
                    Margin="0,0,0,10"
                    Text="Lokációk" 
                    SemanticProperties.Hint="Lokációk"
                    Clicked="OnButtonGetLocations"
                    HorizontalOptions="Fill" />-->
                <Button
                    x:Name="ButtonGetUsers"
                    Margin="0,0,0,10"
                    Text="Felhasználók" 
                    SemanticProperties.Hint="Felhasználók"
                    Clicked="OnButtonGetUsers"
                    HorizontalOptions="Fill" />
            </VerticalStackLayout>
        </Frame>
    </VerticalStackLayout>
</ContentPage>