<?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="Northwind.Maui.Blazor.Client.Views.EmployeesPage"
             Title="Pracownicy">
  
  <VerticalStackLayout Spacing="10">

    <Frame BorderColor="{StaticResource PrimaryTextColor}" 
           Margin="5" Padding="5">
      <VerticalStackLayout Spacing="10">
        <Label Text="Integracja ze schowkiem"
               VerticalOptions="Center" 
               HorizontalOptions="Center" />
        <Entry x:Name="NotesTextBox"
               HorizontalOptions="Fill" />
        <HorizontalStackLayout Spacing="10">
          <Button Text="Skopiuj do schowka" 
                  x:Name="CopyToClipboardButton" 
                  Clicked="CopyToClipboardButton_Clicked"
                  HorizontalOptions="Center" />
          <Button Text="Wklej ze schowka" 
                  x:Name="PasteFromClipboardButton" 
                  Clicked="PasteFromClipboardButton_Clicked"
                  HorizontalOptions="Center" />
        </HorizontalStackLayout>
      </VerticalStackLayout>
    </Frame>

    <Frame BorderColor="{StaticResource PrimaryTextColor}" 
           Margin="5" Padding="5">
      <VerticalStackLayout Spacing="10">
        <Label Text="Integracja z systemem plików i mediów"
               VerticalOptions="Center" 
               HorizontalOptions="Center" />
        <HorizontalStackLayout Spacing="10">
          <Button Text="Wybierz plik tekstowy" 
                  x:Name="PickTextFileButton" 
                  Clicked="PickTextFileButton_Clicked"
                  HorizontalOptions="Center" />
          <Button Text="Wybierz obraz" 
                  x:Name="PickImageButton" 
                  Clicked="PickImageButton_Clicked"
                  HorizontalOptions="Center" />
          <Button Text="Zrób zdjęcie" 
                  x:Name="TakePhotoButton" 
                  Clicked="TakePhotoButton_Clicked"
                  HorizontalOptions="Center" />
        </HorizontalStackLayout>
        <Label x:Name="FilePathLabel"
               HorizontalOptions="Fill" />
        <Label x:Name="FileContentsLabel"
               HorizontalOptions="Fill" />
        <Image x:Name="FileImage"
               HeightRequest="375"
               WidthRequest="250"/>
      </VerticalStackLayout>
    </Frame>

  </VerticalStackLayout>

</ContentPage>