Merge pull request 'connexionView' (#9) from connexionView into master
Reviewed-on: nicolas.barbosa/mastermind#9master
commit
469f496f8a
@ -1,11 +1,12 @@
|
||||
# mastermind
|
||||
|
||||
SAE2.01 - Développement d'une application
|
||||
R2.02 - Développement d'applications avec IHM
|
||||
R2.03 - Qualité de développement
|
||||
|
||||
Mastermind en C#, MAUI, et .net
|
||||
|
||||
BARBOSA Céleste
|
||||
PRADY Pauline
|
||||
TURPIN--ETIENNE Camille
|
||||
SAE2.01 - Développement d'une application
|
||||
R2.02 - Développement d'applications avec IHM
|
||||
R2.03 - Qualité de développement
|
||||
|
||||
Mastermind en C#, MAUI, et .net
|
||||
|
||||
BARBOSA Céleste
|
||||
PRADY Pauline
|
||||
TURPIN--ETIENNE Camille
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
<?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="mastermind.Connexion">
|
||||
|
||||
|
||||
</ContentPage>
|
@ -1,36 +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="mastermind.MainPage">
|
||||
|
||||
<ScrollView>
|
||||
<VerticalStackLayout
|
||||
Padding="30,0"
|
||||
Spacing="25">
|
||||
<Image
|
||||
Source="dotnet_bot.png"
|
||||
HeightRequest="185"
|
||||
Aspect="AspectFit"
|
||||
SemanticProperties.Description="dot net bot in a race car number eight" />
|
||||
|
||||
<Label
|
||||
Text="Hello, World!"
|
||||
Style="{StaticResource Headline}"
|
||||
SemanticProperties.HeadingLevel="Level1" />
|
||||
|
||||
<Label
|
||||
Text="Welcome to .NET Multi-platform App UI"
|
||||
Style="{StaticResource SubHeadline}"
|
||||
SemanticProperties.HeadingLevel="Level2"
|
||||
SemanticProperties.Description="Welcome to dot net Multi platform App U I" />
|
||||
|
||||
<Button
|
||||
x:Name="CounterBtn"
|
||||
Text="Click me"
|
||||
SemanticProperties.Hint="Counts the number of times you click"
|
||||
Clicked="OnCounterClicked"
|
||||
HorizontalOptions="Fill" />
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
|
||||
</ContentPage>
|
@ -0,0 +1,21 @@
|
||||
<?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:Views="clr-namespace:mastermind.Views"
|
||||
x:Class="mastermind.Pages.ConnexionPage"
|
||||
Title="Connexion">
|
||||
<VerticalStackLayout>
|
||||
<Label
|
||||
Text="JOUEURS"
|
||||
HorizontalOptions="Center"
|
||||
FontSize="Header"
|
||||
Margin="0, 0, 0, 50"/>
|
||||
|
||||
<Views:UsernameEntryView/>
|
||||
<Views:UsernameEntryView/>
|
||||
|
||||
<Button
|
||||
Text="Se connecter"
|
||||
Margin="200, 100, 200, 0"/>
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
@ -0,0 +1,9 @@
|
||||
namespace mastermind.Pages;
|
||||
|
||||
public partial class ConnexionPage : ContentPage
|
||||
{
|
||||
public ConnexionPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="mastermind.Views.UsernameEntryView">
|
||||
|
||||
<Grid
|
||||
Margin="0, 50"
|
||||
ColumnDefinitions="auto, *, 8*, *"
|
||||
RowDefinitions="auto">
|
||||
|
||||
<Label
|
||||
Text="Joueur X"
|
||||
FontSize="Large"
|
||||
Margin="50, 0, 0, 0"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center"/>
|
||||
|
||||
<Entry
|
||||
Grid.Column="2"
|
||||
FontSize="Medium"
|
||||
Margin="50, 0"/>
|
||||
</Grid>
|
||||
|
||||
</ContentView>
|
@ -0,0 +1,9 @@
|
||||
namespace mastermind.Views;
|
||||
|
||||
public partial class UsernameEntryView : ContentView
|
||||
{
|
||||
public UsernameEntryView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
Loading…
Reference in new issue