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

Time to call it a day

parent d559cbad
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<router-link to="/inscription">Inscription</router-link> <router-link to="/inscription">Inscription</router-link>
</button> </button>
<button class="btn-login" v-if="user.id >= 1000000"> <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>
<button class="btn-user" v-if="user.id!==0"> <button class="btn-user" v-if="user.id!==0">
<router-link to="/updateUser">{{user.name}}</router-link> <router-link to="/updateUser">{{user.name}}</router-link>
......
...@@ -7,19 +7,19 @@ ...@@ -7,19 +7,19 @@
<form action="post" class="form" v-on:submit.prevent="check"> <form action="post" class="form" v-on:submit.prevent="check">
<div class="row lmargin"> <div class="row lmargin">
<label for="FirstName"> Prénom </label> <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>
<div class="row lmargin"> <div class="row lmargin">
<label for="LastName"> Nom </label> <label for="LastName"> Nom </label>
<input v-model="lastname" type="text" name="LastName" required> <input v-model="lastname" type="text" name="LastName" >
</div> </div>
<div class="row lmargin"> <div class="row lmargin">
<label for="Login"> Login </label> <label for="Login"> Login </label>
<input v-model="login" type="text" name="Login" required> <input v-model="login" type="text" name="Login" >
</div> </div>
<div class="row lmargin"> <div class="row lmargin">
<label for="Email"> Email </label> <label for="Email"> Email </label>
<input v-model="email" type="email" name="Email" required> <input v-model="email" type="email" name="Email" >
</div> </div>
<div class="row lmargin"> <div class="row lmargin">
<button type="submit" class="btn"> Valider </button> <button type="submit" class="btn"> Valider </button>
......
...@@ -2,31 +2,31 @@ ...@@ -2,31 +2,31 @@
<div class="stats"> <div class="stats">
<LoginNavbar></LoginNavbar> <LoginNavbar></LoginNavbar>
<div class="row _centered"> <div class="row _centered">
<div class="column _600"> <center class="column _600">
<h1>Statistiques des parties</h1> <h1>Statistiques des parties</h1>
<table> <table>
<tr> <tr>
<th>Victoires</th> <th>Victoires : </th>
<td>{{user.win}}</td> <td>{{user.win}}</td>
</tr> </tr>
<tr> <tr>
<th>Défaites</th> <th>Défaites : </th>
<td>{{user.lost}}</td> <td>{{user.lost}}</td>
</tr> </tr>
<tr> <tr>
<th>Pierres</th> <th>Pierres : </th>
<td>{{user.rock}}</td> <td>{{user.rock}}</td>
</tr> </tr>
<tr> <tr>
<th>Papiers</th> <th>Papiers : </th>
<td>{{user.paper}}</td> <td>{{user.paper}}</td>
</tr> </tr>
<tr> <tr>
<th>Ciseaux</th> <th>Ciseaux : </th>
<td>{{user.scissors}}</td> <td>{{user.scissors}}</td>
</tr> </tr>
</table> </table>
</div> </center>
</div> </div>
</div> </div>
</template> </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