Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
Phonographe
Commits
c2a3c407
Commit
c2a3c407
authored
Mar 26, 2021
by
Sylvain Coulange
Browse files
debug bravo_div
parent
1e97a110
Changes
2
Hide whitespace changes
Inline
Side-by-side
static/js/playerPhono.js
View file @
c2a3c407
...
...
@@ -254,7 +254,7 @@ function getFelicitations() {
document
.
getElementById
(
"
bravo_next
"
).
style
.
display
=
"
none
"
document
.
getElementById
(
"
bravo_end
"
).
style
.
display
=
"
block
"
document
.
getElementById
(
"
bravo_again
"
).
parentElement
.
href
=
window
.
location
.
href
document
.
getElementById
(
"
bravo_again
"
).
href
=
window
.
location
.
href
bravoDiv
.
style
.
display
=
"
block
"
}
...
...
templates/playerPhono.html
View file @
c2a3c407
...
...
@@ -115,18 +115,20 @@
<img
id=
"bravo_img"
src=
"http://example.com"
style=
"height:30vh;"
>
<div
id=
"bravo_text"
></div>
<button
id=
"bravo_next"
onclick=
"loadNext()"
type=
"button"
class=
"btn btn-success btn-lg"
>
Continuer
</button>
<div
id=
"bravo_end"
class=
"d-flex justify-content-between"
style=
"display:none"
>
<a
href=
"/player/"
><button
id=
"bravo_again"
title=
"Recommencer"
type=
"button"
class=
"btn btn-success btn-lg ml-0"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"30"
height=
"30"
fill=
"currentColor"
class=
"bi bi-arrow-counterclockwise"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z"
/>
<path
d=
"M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z"
/>
</svg></button></a>
<a
href=
"/player/serie-bac-a-sable/play"
id=
"toBacASable"
><button
type=
"button"
class=
"btn btn-outline-secondary"
>
Bac à Sable
</button></a>
<a
href=
"/player/"
><button
id=
"bravo_quit"
title=
"Quitter"
type=
"button"
class=
"btn btn-primary btn-lg mr-0"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"30"
height=
"30"
fill=
"currentColor"
class=
"bi bi-box-arrow-right"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z"
/>
<path
fill-rule=
"evenodd"
d=
"M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z"
/>
</svg></button></a>
<div
id=
"bravo_end"
style=
"display:none"
>
<div
class=
"d-flex justify-content-between"
>
<a
href=
"/player/"
id=
"bravo_again"
><button
title=
"Recommencer"
type=
"button"
class=
"btn btn-success btn-lg ml-0"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"30"
height=
"30"
fill=
"currentColor"
class=
"bi bi-arrow-counterclockwise"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z"
/>
<path
d=
"M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z"
/>
</svg></button></a>
<a
href=
"/player/serie-bac-a-sable/play"
id=
"toBacASable"
><button
type=
"button"
class=
"btn btn-outline-secondary"
>
Bac à Sable
</button></a>
<a
href=
"/player/"
id=
"bravo_quit"
><button
title=
"Quitter"
type=
"button"
class=
"btn btn-primary btn-lg mr-0"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"30"
height=
"30"
fill=
"currentColor"
class=
"bi bi-box-arrow-right"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z"
/>
<path
fill-rule=
"evenodd"
d=
"M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z"
/>
</svg></button></a>
</div>
</div>
</div>
</div>
...
...
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