Commit b9fce54d authored by Zohten's avatar Zohten
parents 44d4b43d ac5279e4
<?php <?php
Game::addSqlQuery( Round::addSqlQuery(
'ROUND_LIST', 'ROUND_LIST',
'SELECT * FROM MJ_ROUND' 'SELECT * FROM MJ_ROUND'
); );
Game::addSqlQuery( Round::addSqlQuery(
'ROUND_GET_WITH_ID', 'ROUND_GET_WITH_ID',
'SELECT * FROM MJ_ROUND WHERE ID_ROUND=:id' 'SELECT * FROM MJ_ROUND WHERE ID_ROUND=:id'
); );
Game::addSqlQuery( Round::addSqlQuery(
'ROUND_GET_USERS', 'ROUND_GET_USERS',
'SELECT usr.ID_USER, 'SELECT usr.ID_USER,
usr.ID_ROLE, usr.ID_ROLE,
...@@ -27,13 +27,13 @@ Game::addSqlQuery( ...@@ -27,13 +27,13 @@ Game::addSqlQuery(
WHERE r.ID_ROUND=:id' WHERE r.ID_ROUND=:id'
); );
Game::addSqlQuery( Round::addSqlQuery(
'ROUND_CREATE', 'ROUND_CREATE',
'INSERT INTO MJ_ROUND (ID_ROUND ,ID_GAME ,PREVAILING_WIND ,SEED ,BEGINING ,ENDING ,ACTIONS) '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)' VALUES (NULL, :id_game, :prevailing_wind, :seed, :begin_date, NULL, NULL)'
); );
Game::addSqlQuery( Round::addSqlQuery(
'ACTION_UPDATE', 'ACTION_UPDATE',
'UPDATE MJ_ROUND 'UPDATE MJ_ROUND
SET ACTIONS = :actions WHERE ID_ROUND = :id' SET ACTIONS = :actions WHERE ID_ROUND = :id'
......
<template> <template>
<div class="form-group row"> <div class="form-group row">
<label class="col-md-4 col-form-label text-md-right" :for="this.id">{{label}}</label> <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> </div>
</template> </template>
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
export default { export default {
props: { props: {
id: { type: String, default: ''}, id: { type: String, default: ''},
label: { type: String, default: 'label' }, label: { type: String, default: 'label' }
toogle: { type: String, default: '' }
} }
} }
</script> </script>
......
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