Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
PhonoDrop
Commits
83735065
Commit
83735065
authored
Jan 29, 2022
by
Sylvain Coulange
🌼
Browse files
mise à jour ergo
parent
afbdc526
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/index.html
View file @
83735065
...
...
@@ -346,26 +346,27 @@
</div>
</td>
</tr>
<tr>
<td></td>
<td>
<button
type=
"button"
class=
"btn-espace"
onclick=
"space()"
>
Espace
</button>
</td>
</tr>
</table>
</div>
<div
class=
"tab-pane fade d-flex flex-column justify-content-center align-items-center"
id=
"nav-pinyin"
role=
"tabpanel"
aria-labelledby=
"nav-pinyin-tab"
>
<!-- PINYIN -->
<div
style=
"text-align: center;"
>
<div
id=
"pinyinLabAPI"
style=
"height: 25px;display:none"
></div>
<div
id=
"pinyinLab"
class=
"contours"
style=
"font-size: 6em; height:150px"
></div>
</div>
<div
class=
"d-flex justify-content-around m-2"
style=
"width:100%"
>
<div
class=
"d-flex justify-content-around m-2"
style=
"width:100%;"
>
<button
type=
"button"
class=
"btn btn-primary"
onclick=
"space()"
>
空格
</button>
<button
type=
"button"
class=
"btn btn-outline-success px-5"
onclick=
"
validPinyin(
)"
>
OK了!
</button>
<button
type=
"button"
class=
"btn btn-outline-success px-5"
onclick=
"
recupPhon('syll_'+[currentSyll.initiale.phon, currentSyll.glide.phon, currentSyll.tonale.phon, currentSyll.finale.phon, currentSyll.tone].join('.')
)"
>
OK了!
</button>
<button
type=
"button"
class=
"btn btn-danger"
onclick=
"erasePinyin()"
>
重置
</button>
</div>
</div>
<div
class=
"tab-pane fade"
id=
"nav-pinyin"
role=
"tabpanel"
aria-labelledby=
"nav-pinyin-tab"
>
<div
class=
"d-flex flex-column justify-content-center align-items-center"
>
<!-- PINYIN -->
<div
style=
"text-align: center;"
>
<div
id=
"pinyinLabAPI"
style=
"height: 25px;display:none"
></div>
<div
id=
"pinyinLab"
class=
"contours"
style=
"font-size: 6em; height:150px"
></div>
</div>
<div
class=
"d-flex justify-content-around m-2"
style=
"width:100%; padding-top:20px"
>
<button
type=
"button"
class=
"btn btn-primary"
onclick=
"space()"
>
空格
</button>
<button
type=
"button"
class=
"btn btn-outline-success px-5"
onclick=
"validPinyin()"
>
OK了!
</button>
<button
type=
"button"
class=
"btn btn-danger"
onclick=
"erasePinyin()"
>
重置
</button>
</div>
</div>
</div>
<div
class=
"tab-pane fade show active"
id=
"nav-aide"
role=
"tabpanel"
aria-labelledby=
"nav-aide-tab"
>
<strong>
Bienvenue dans la nouvelle version du PhonoDrop !
</strong>
...
...
public/scripts/sinosyllabe.js
View file @
83735065
...
...
@@ -397,6 +397,11 @@ function validPinyin() {
}
function
erasePinyin
()
{
$
(
"
#syll1
"
).
click
();
$
(
"
#syll2
"
).
click
();
$
(
"
#syll3
"
).
click
();
$
(
"
#syll4
"
).
click
();
toggleTone
(
5
);
document
.
getElementById
(
'
pinyinLab
'
).
innerHTML
=
''
;
document
.
getElementById
(
'
pinyinLabAPI
'
).
innerHTML
=
''
;
document
.
getElementById
(
'
pinyinLab
'
).
classList
.
remove
(
"
pinyinAtteste
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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