ajout des différentes vues pour les transactions (demande et envoie d'argent et RIB)

pull/11/head
Antoine PEREDERII 2 years ago
parent b809f60fc9
commit 9c167b978a

@ -19,7 +19,7 @@
Icon="swipe_account_icon.png">
<ShellContent
ContentTemplate="{DataTemplate local:BalancePage}"/>
ContentTemplate="{DataTemplate local:MenuTransferPage}"/>
</Tab>
@ -27,7 +27,7 @@
Icon="help_icon.png">
<ShellContent
ContentTemplate="{DataTemplate local:BalancePage}"/>
ContentTemplate="{DataTemplate local:RibPage}"/>
</Tab>
@ -35,7 +35,7 @@
Icon="swipe_account_icon.png">
<ShellContent
ContentTemplate="{DataTemplate local:BalancePage}"/>
ContentTemplate="{DataTemplate local:TransferPage}"/>
</Tab>

@ -0,0 +1,37 @@
<?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="Banquale.Views.MenuTransferPage">
<Grid RowDefinitions="auto, auto"
ColumnDefinitions="auto, auto"
HorizontalOptions="Center"
VerticalOptions="Center">
<Button
Text="Faire un virement"
Grid.Column="0"
Grid.Row="0"
Margin="20"
MinimumWidthRequest="160"
MinimumHeightRequest="160"/>
<Button
Text="Demander de l'argent"
Grid.Column="1"
Grid.Row="0"
Margin="20"
MinimumWidthRequest="160"
MinimumHeightRequest="160"/>
<Button
Text="Afficher mon RIB"
Grid.ColumnSpan="2"
Grid.Row="1"
Margin="20"
MinimumHeightRequest="160"
MinimumWidthRequest="360"/>
</Grid>
</ContentPage>

@ -0,0 +1,13 @@
namespace Banquale.Views;
public partial class MenuTransferPage : ContentPage
{
public MenuTransferPage()
{
InitializeComponent();
}
void ContentPage_NavigatedTo(System.Object sender, Microsoft.Maui.Controls.NavigatedToEventArgs e)
{
}
}

@ -0,0 +1,20 @@
<?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="Banquale.Views.RequestPage">
<VerticalStackLayout
VerticalOptions="Center">
<SearchBar Placeholder="Destinataire" />
<Entry Placeholder="IBAN" />
<Entry Placeholder="Montant" />
<Button
Text="Effectuer le virement" />
</VerticalStackLayout>
</ContentPage>

@ -0,0 +1,9 @@
namespace Banquale.Views;
public partial class RequestPage : ContentPage
{
public RequestPage()
{
InitializeComponent();
}
}

@ -0,0 +1,40 @@
<?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="Banquale.Views.RibPage">
<VerticalStackLayout>
<Label
Text="RIB"
VerticalOptions="Center"
HorizontalOptions="Center" />
<Label
Text="FR 5466 4654 4554 433"
VerticalOptions="Center"
HorizontalOptions="Center" />
<Grid
RowDefinitions="auto, auto"
ColumnDefinitions="auto, auto">
<Label
Text="Nom"/>
<Label
Text="Prenom"
Grid.Column="1"/>
<Label
Text="Carinne"
Grid.Row="1"
Grid.Column="1"/>
<Label
Text="Perotte"
Grid.Row="1"/>
</Grid>
</VerticalStackLayout>
</ContentPage>

@ -0,0 +1,9 @@
namespace Banquale.Views;
public partial class RibPage : ContentPage
{
public RibPage()
{
InitializeComponent();
}
}

@ -0,0 +1,20 @@
<?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="Banquale.Views.TransferPage">
<VerticalStackLayout
VerticalOptions="Center">
<SearchBar Placeholder="Destinataire" />
<Entry Placeholder="IBAN" />
<Entry Placeholder="Montant" />
<Button
Text="Effectuer le virement" />
</VerticalStackLayout>
</ContentPage>

@ -1,25 +0,0 @@
<?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="Banquale.Views.TransferPage"
Title="TransferPage">
<Grid RowDefinitions="auto, auto"
ColumnDefinitions="*, *">
<Button
Text="Faire un virement"
Grid.Column="0"
Grid.Row="0"/>
<Button
Text="Demander de l'argent"
Grid.Column="1"
Grid.Row="0"/>
<Button
Text="Afficher mon RIB"
Grid.ColumnSpan="1"
Grid.Row="1"/>
</Grid>
</ContentPage>
Loading…
Cancel
Save