Ajout de connexion et inscription #6
Closed
rayhan.hassou
wants to merge 1 commits from rayhan_pageConnexionInscription
into master
@ -0,0 +1,5 @@
|
|||||||
|
<h3>Component</h3>
|
||||||
|
|
||||||
|
@code {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,37 @@
|
|||||||
|
@page "/connexion"
|
||||||
|
@layout InscriptionLayout
|
||||||
|
@inject NavigationManager NavManager
|
||||||
|
|
||||||
|
<div class="option">
|
||||||
|
<h1>Connexion</h1>
|
||||||
|
<div>
|
||||||
|
<EditForm Model="@connexion" OnValidSubmit="@seConnecter">
|
||||||
|
<DataAnnotationsValidator />
|
||||||
|
<ValidationSummary />
|
||||||
|
|
||||||
|
<div class="editForm">
|
||||||
|
<p>
|
||||||
|
<label for="display-name">
|
||||||
|
Pseudonyme:
|
||||||
|
<InputText id="name" @bind-Value="@connexion.Name" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="name">
|
||||||
|
Mot de passe:
|
||||||
|
<InputText id="password" type="password" @bind-Value="@connexion.Password" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="choix">
|
||||||
|
<button classtype="submit"> Se connecter </button>
|
||||||
|
</div>
|
||||||
|
</EditForm>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<object>
|
||||||
|
<param name="autostart" value="true">
|
||||||
|
<param name="src" value="../audio/audio.mp3">
|
||||||
|
<param name="autoplay" value="true">
|
||||||
|
<embed src="../audio/audio.mp3" controller="true" autoplay="true" autostart="True" type="audio/mp3" />
|
||||||
|
</object>
|
@ -0,0 +1,50 @@
|
|||||||
|
@page "/inscription"
|
||||||
|
@layout InscriptionLayout
|
||||||
|
@inject NavigationManager NavManager
|
||||||
|
|
||||||
|
<div class="option">
|
||||||
|
<h1>Inscription</h1>
|
||||||
|
<div>
|
||||||
|
<EditForm Model="@inscription" OnValidSubmit="@inscrire">
|
||||||
|
<DataAnnotationsValidator />
|
||||||
|
<ValidationSummary />
|
||||||
|
|
||||||
|
<div class="editForm">
|
||||||
|
<p>
|
||||||
|
<label for="email">
|
||||||
|
Email:
|
||||||
|
<InputText id="email" @bind-Value="@inscription.Email" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="pseudo">
|
||||||
|
Pseudonyme:
|
||||||
|
<InputText id="pseudo" @bind-Value="@inscription.Pseudo" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="password">
|
||||||
|
Mot de passe:
|
||||||
|
<InputText id="password" type="password" @bind-Value="@inscription.Password" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="confimPasswd">
|
||||||
|
Mot de passe:
|
||||||
|
<InputText id="confimPasswd" type="password" @bind-Value="@inscription.ConfirmPasswd" />
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="choix">
|
||||||
|
<button classtype="submit"> Valider </button>
|
||||||
|
</div>
|
||||||
|
</EditForm>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<object>
|
||||||
|
<param name="autostart" value="true">
|
||||||
|
<param name="src" value="../audio/audio.mp3">
|
||||||
|
<param name="autoplay" value="true">
|
||||||
|
<embed src="../audio/audio.mp3" controller="true" autoplay="true" autostart="True" type="audio/mp3" />
|
||||||
|
</object>
|
@ -0,0 +1,18 @@
|
|||||||
|
@inherits LayoutComponentBase
|
||||||
|
@inject NavigationManager navigationManager
|
||||||
|
|
||||||
|
<div class="connexionBody">
|
||||||
|
<button @onclick=@getBack id="back">Retour</button>
|
||||||
|
<header>
|
||||||
|
<img src="../images/CraftSharp-Logo.png"/>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
@Body
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p class="p1">Craft# 1.0</p>
|
||||||
|
<p class="p2">Copyright KARTAL Emre, VALIN Arthur, HASSOU Rayhan</p>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 400 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 911 KiB |
Loading…
Reference in new issue