Commit 7ec9a830 authored by thibaut-felten's avatar thibaut-felten

Time to call it a day

parent d559cbad
......@@ -7,7 +7,7 @@
<router-link to="/inscription">Inscription</router-link>
</button>
<button class="btn-login" v-if="user.id >= 1000000">
<router-link to="/login">Connection</router-link>
<router-link to="/login">Connexion</router-link>
</button>
<button class="btn-user" v-if="user.id!==0">
<router-link to="/updateUser">{{user.name}}</router-link>
......
......@@ -7,19 +7,19 @@
<form action="post" class="form" v-on:submit.prevent="check">
<div class="row lmargin">
<label for="FirstName"> Prénom </label>
<input v-model="firstname" type="text" name="FirstName" required>
<input v-model="firstname" type="text" name="FirstName" >
</div>
<div class="row lmargin">
<label for="LastName"> Nom </label>
<input v-model="lastname" type="text" name="LastName" required>
<input v-model="lastname" type="text" name="LastName" >
</div>
<div class="row lmargin">
<label for="Login"> Login </label>
<input v-model="login" type="text" name="Login" required>
<input v-model="login" type="text" name="Login" >
</div>
<div class="row lmargin">
<label for="Email"> Email </label>
<input v-model="email" type="email" name="Email" required>
<input v-model="email" type="email" name="Email" >
</div>
<div class="row lmargin">
<button type="submit" class="btn"> Valider </button>
......
......@@ -2,31 +2,31 @@
<div class="stats">
<LoginNavbar></LoginNavbar>
<div class="row _centered">
<div class="column _600">
<center class="column _600">
<h1>Statistiques des parties</h1>
<table>
<tr>
<th>Victoires</th>
<th>Victoires : </th>
<td>{{user.win}}</td>
</tr>
<tr>
<th>Défaites</th>
<th>Défaites : </th>
<td>{{user.lost}}</td>
</tr>
<tr>
<th>Pierres</th>
<th>Pierres : </th>
<td>{{user.rock}}</td>
</tr>
<tr>
<th>Papiers</th>
<th>Papiers : </th>
<td>{{user.paper}}</td>
</tr>
<tr>
<th>Ciseaux</th>
<th>Ciseaux : </th>
<td>{{user.scissors}}</td>
</tr>
</table>
</div>
</center>
</div>
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment