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
1
Issues
1
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
Quentin Vrel
projet-cdaw
Commits
b9fce54d
Commit
b9fce54d
authored
Dec 03, 2020
by
Zohten
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gvipers.imt-lille-douai.fr/QVrel/projet-cdaw
parents
44d4b43d
ac5279e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
Round.sql.php
BackEnd/src/sql/Round.sql.php
+5
-5
PwdInput.vue
frontend/src/components/form/PwdInput.vue
+2
-3
No files found.
BackEnd/src/sql/Round.sql.php
View file @
b9fce54d
<?php
Game
::
addSqlQuery
(
Round
::
addSqlQuery
(
'ROUND_LIST'
,
'SELECT * FROM MJ_ROUND'
);
Game
::
addSqlQuery
(
Round
::
addSqlQuery
(
'ROUND_GET_WITH_ID'
,
'SELECT * FROM MJ_ROUND WHERE ID_ROUND=:id'
);
Game
::
addSqlQuery
(
Round
::
addSqlQuery
(
'ROUND_GET_USERS'
,
'SELECT usr.ID_USER,
usr.ID_ROLE,
...
...
@@ -27,13 +27,13 @@ Game::addSqlQuery(
WHERE r.ID_ROUND=:id'
);
Game
::
addSqlQuery
(
Round
::
addSqlQuery
(
'ROUND_CREATE'
,
'INSERT INTO MJ_ROUND (ID_ROUND ,ID_GAME ,PREVAILING_WIND ,SEED ,BEGINING ,ENDING ,ACTIONS)
VALUES (NULL, :id_game, :prevailing_wind, :seed, :begin_date, NULL, NULL)'
);
Game
::
addSqlQuery
(
Round
::
addSqlQuery
(
'ACTION_UPDATE'
,
'UPDATE MJ_ROUND
SET ACTIONS = :actions WHERE ID_ROUND = :id'
...
...
frontend/src/components/form/PwdInput.vue
View file @
b9fce54d
<
template
>
<div
class=
"form-group row"
>
<label
class=
"col-md-4 col-form-label text-md-right"
:for=
"this.id"
>
{{
label
}}
</label>
<input
class=
"col-md-6 form-control "
type=
"password"
:id=
"this.id"
:name=
"this.id"
:onchange=
"this.toogle"
>
<input
class=
"col-md-6 form-control "
type=
"password"
:id=
"this.id"
:name=
"this.id"
>
</div>
</
template
>
...
...
@@ -10,8 +10,7 @@
export
default
{
props
:
{
id
:
{
type
:
String
,
default
:
''
},
label
:
{
type
:
String
,
default
:
'label'
},
toogle
:
{
type
:
String
,
default
:
''
}
label
:
{
type
:
String
,
default
:
'label'
}
}
}
</
script
>
...
...
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