Binding essai encore
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
ff86a3943d
commit
87533de711
@ -0,0 +1,74 @@
|
|||||||
|
<?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"
|
||||||
|
xmlns:toolkit="http://schemas.microsoft.com/dodnet/2022/maui/toolkit"
|
||||||
|
x:Class="notus.ProfilPage"
|
||||||
|
Title="ProfilPage"
|
||||||
|
BackgroundColor="#1C1C1C">
|
||||||
|
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="1.5*"/>
|
||||||
|
<RowDefinition Height="1.5*"/>
|
||||||
|
<RowDefinition Height="1.5*"/>
|
||||||
|
<RowDefinition Height="1.5*"/>
|
||||||
|
<RowDefinition Height="1.5*"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="1*"/>
|
||||||
|
<ColumnDefinition Width="1*"/>
|
||||||
|
<ColumnDefinition Width="1*"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
Text="Modifier Profil"
|
||||||
|
TextColor="#74fabd"
|
||||||
|
BackgroundColor="#4A4A4A"
|
||||||
|
Grid.Column="1"
|
||||||
|
Grid.Row="4"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HeightRequest="80"
|
||||||
|
FontSize="30"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
Text="Modifier Theme"
|
||||||
|
TextColor="#74fabd"
|
||||||
|
BackgroundColor="#4A4A4A"
|
||||||
|
Grid.Column="1"
|
||||||
|
Grid.Row="5"
|
||||||
|
FontSize="30"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HeightRequest="80"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Label
|
||||||
|
Text="Profil"
|
||||||
|
FontSize="30"
|
||||||
|
HorizontalTextAlignment="Center"
|
||||||
|
VerticalTextAlignment="Center"
|
||||||
|
TextColor="#74fabd"
|
||||||
|
BackgroundColor="#4A4A4A"
|
||||||
|
Grid.Column="1"
|
||||||
|
Grid.Row="3"
|
||||||
|
VerticalOptions="End"
|
||||||
|
HeightRequest="80"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
Source="profil.png"
|
||||||
|
Aspect="AspectFit"
|
||||||
|
Grid.Column="1"
|
||||||
|
Grid.Row="2"
|
||||||
|
WidthRequest="550"
|
||||||
|
HeightRequest="250"
|
||||||
|
BackgroundColor="#6E6E6E"
|
||||||
|
CornerRadius="10"
|
||||||
|
Clicked="ProfilClicked"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
</ContentPage>
|
@ -0,0 +1,17 @@
|
|||||||
|
using Microsoft.Maui.Controls;
|
||||||
|
using Biblioteque_de_Class;
|
||||||
|
using Notus_Persistance;
|
||||||
|
|
||||||
|
namespace notus;
|
||||||
|
|
||||||
|
public partial class ProfilPage : ContentPage
|
||||||
|
{
|
||||||
|
public ProfilPage()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
void ProfilClicked(System.Object sender, System.EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -1,24 +1,19 @@
|
|||||||
|
using Microsoft.Maui.Controls;
|
||||||
|
using Biblioteque_de_Class;
|
||||||
|
using Notus_Persistance;
|
||||||
|
|
||||||
|
|
||||||
namespace notus;
|
namespace notus;
|
||||||
|
|
||||||
public partial class RecherPage : ContentPage
|
public partial class RecherPage : ContentPage
|
||||||
{
|
{
|
||||||
|
public PersistenceManager manager { get; private set; } = new PersistenceManager(new Stub());
|
||||||
public RecherPage()
|
public RecherPage()
|
||||||
{
|
{
|
||||||
|
manager.LoadDatabaseData();
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
ListNote.BindingContext = manager;
|
||||||
|
NomNote.BindingContext = manager;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProfilClicked()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditCLicked()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void SuppClicked()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in new issue