Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet-cdaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thibaut Felten
projet-cdaw
Commits
7ec9a830
Commit
7ec9a830
authored
Dec 03, 2020
by
thibaut-felten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Time to call it a day
parent
d559cbad
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
LoginNavbar.vue
frontend/src/components/LoginNavbar.vue
+1
-1
UpdateUser.vue
frontend/src/views/UpdateUser.vue
+4
-4
stats.vue
frontend/src/views/stats.vue
+7
-7
No files found.
frontend/src/components/LoginNavbar.vue
View file @
7ec9a830
...
...
@@ -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"
>
Conne
ct
ion
</router-link>
<router-link
to=
"/login"
>
Conne
x
ion
</router-link>
</button>
<button
class=
"btn-user"
v-if=
"user.id!==0"
>
<router-link
to=
"/updateUser"
>
{{
user
.
name
}}
</router-link>
...
...
frontend/src/views/UpdateUser.vue
View file @
7ec9a830
...
...
@@ -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>
...
...
frontend/src/views/stats.vue
View file @
7ec9a830
...
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment