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
Raphaël PEIM
projet-cdaw
Commits
edbc0db7
Commit
edbc0db7
authored
Dec 01, 2020
by
raphael.peim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create Profile.vue
parent
005cac1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletion
+31
-1
Navbar.vue
frontend/src/components/Navbar.vue
+1
-1
index.js
frontend/src/router/index.js
+6
-0
Profile.vue
frontend/src/views/Profile.vue
+24
-0
No files found.
frontend/src/components/Navbar.vue
View file @
edbc0db7
...
...
@@ -24,7 +24,7 @@
</b-nav-item-dropdown>
<b-nav-item-dropdown
text=
"Utilisateur"
right
>
<b-dropdown-item><router-link
to=
""
>
Profil
</router-link></b-dropdown-item>
<b-dropdown-item><router-link
to=
"
/profile
"
>
Profil
</router-link></b-dropdown-item>
<b-dropdown-item
@
click=
"onClick"
><router-link
to=
""
>
Déconnexion
</router-link></b-dropdown-item>
</b-nav-item-dropdown>
</b-navbar-nav>
...
...
frontend/src/router/index.js
View file @
edbc0db7
...
...
@@ -8,6 +8,7 @@ import GameChoice from '../views/GameChoice'
import
GameCreate
from
'../views/GameCreate'
import
GameJoin
from
'../views/GameJoin'
import
Game
from
'../views/Game'
import
Profile
from
'../views/Profile'
Vue
.
use
(
VueRouter
)
...
...
@@ -51,6 +52,11 @@ const routes = [
path
:
'/game'
,
name
:
'Game'
,
component
:
Game
},
{
path
:
'/profile'
,
name
:
'Profile'
,
component
:
Profile
}
]
...
...
frontend/src/views/Profile.vue
0 → 100644
View file @
edbc0db7
<
template
>
<div
class=
"body"
>
<Navbar/>
<div
class=
"container d-flex justify-content-center"
>
<div
class=
"card shadow mb-4"
>
<h5
class=
"card-header text-primary"
>
Vos informations
</h5>
<div
class=
"card-body"
style=
"width : 500px;"
>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
Navbar
from
'@/components/Navbar'
export
default
{
name
:
'GameChoice'
,
components
:
{
Navbar
}
}
</
script
>
\ No newline at end of file
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