Commit b9fce54d authored by Zohten's avatar Zohten
parents 44d4b43d ac5279e4
<?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'
......
<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>
......
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