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
d559cbad
Commit
d559cbad
authored
Dec 03, 2020
by
thibaut-felten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stats + Profile
parent
1fcd4e6f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
32 deletions
+7
-32
App.vue
frontend/src/App.vue
+4
-1
panda.jpg
frontend/src/assets/img/panda.jpg
+0
-0
main.js
frontend/src/main.js
+1
-1
index.js
frontend/src/router/index.js
+0
-8
About.vue
frontend/src/views/About.vue
+0
-20
AdminPrivate.vue
frontend/src/views/AdminPrivate.vue
+1
-1
Online.vue
frontend/src/views/Online.vue
+1
-1
No files found.
frontend/src/App.vue
View file @
d559cbad
...
@@ -15,8 +15,11 @@
...
@@ -15,8 +15,11 @@
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
text-align
:
center
;
text-align
:
center
;
background-image
:
linear-gradient
(
to
bottom
,
#fff1eb
0%
,
#ace0f9
100%
);
background-image
:
url('assets/img/panda.jpg')
;
background-position-x
:
right
;
background-position-y
:
bottom
;
height
:
100vh
;
height
:
100vh
;
}
}
*
{
*
{
...
...
frontend/src/assets/img/panda.jpg
View replaced file @
1fcd4e6f
View file @
d559cbad
9.15 KB
|
W:
|
H:
36.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
frontend/src/main.js
View file @
d559cbad
...
@@ -4,7 +4,7 @@ import router from './router'
...
@@ -4,7 +4,7 @@ import router from './router'
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
sessionStorage
.
setItem
(
'APIURL'
,
'http://localhost/
felten/
projet-cdaw/backend/MVC/api.php'
)
sessionStorage
.
setItem
(
'APIURL'
,
'http://localhost/projet-cdaw/backend/MVC/api.php'
)
new
Vue
({
new
Vue
({
router
,
router
,
...
...
frontend/src/router/index.js
View file @
d559cbad
...
@@ -4,14 +4,6 @@ import VueRouter from 'vue-router'
...
@@ -4,14 +4,6 @@ import VueRouter from 'vue-router'
Vue
.
use
(
VueRouter
)
Vue
.
use
(
VueRouter
)
const
routes
=
[
const
routes
=
[
{
path
:
'/about'
,
name
:
'About'
,
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'../views/About.vue'
)
},
{
{
path
:
'/'
,
path
:
'/'
,
name
:
'Accueil'
,
name
:
'Accueil'
,
...
...
frontend/src/views/About.vue
deleted
100644 → 0
View file @
1fcd4e6f
<
template
>
<div
class=
"about"
>
<h1>
This is an about page
</h1>
<v-icon
name=
"beer"
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'About'
,
components
:
{
'v-icon'
:
Icon
}
}
import
'vue-awesome/icons'
import
Icon
from
'vue-awesome/components/Icon'
</
script
>
frontend/src/views/AdminPrivate.vue
View file @
d559cbad
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
"GAME_ID"
:
game
.
id
"GAME_ID"
:
game
.
id
}
}
await
fetch
(
await
fetch
(
`http://localhost/felten/projet-cdaw/backend/MVC/api.php
/online/
${
user
.
id
}
`
,
sessionStorage
.
getItem
(
'APIURL'
)
+
`
/online/
${
user
.
id
}
`
,
{
{
method
:
"DELETE"
,
method
:
"DELETE"
,
body
:
JSON
.
stringify
(
data
)
body
:
JSON
.
stringify
(
data
)
...
...
frontend/src/views/Online.vue
View file @
d559cbad
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
"GAME_ID"
:
game
.
id
"GAME_ID"
:
game
.
id
}
}
await
fetch
(
await
fetch
(
`http://localhost/felten/projet-cdaw/backend/MVC/api.php
/online/
${
user
.
id
}
`
,
sessionStorage
.
getItem
(
'APIURL'
)
+
`
/online/
${
user
.
id
}
`
,
{
{
method
:
"DELETE"
,
method
:
"DELETE"
,
body
:
JSON
.
stringify
(
data
)
body
:
JSON
.
stringify
(
data
)
...
...
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