Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
lifo
Nicolas Ollinger
OpenBoard
Commits
2af209f9
Commit
2af209f9
authored
Nov 19, 2012
by
bmagnin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inter activities en help : étudier, mopion, memory
parent
feb6ab69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
34 deletions
+48
-34
script.js
resources/library/interactivities/Etudier.wgt/js/script.js
+17
-2
help-template.js
...es/library/interactivities/Memory.wgt/js/help-template.js
+15
-13
help-template.js
...s/library/interactivities/Morpion.wgt/js/help-template.js
+16
-19
No files found.
resources/library/interactivities/Etudier.wgt/js/script.js
View file @
2af209f9
...
@@ -6,10 +6,25 @@ var sankoreLang = {
...
@@ -6,10 +6,25 @@ var sankoreLang = {
new_slide
:
"This is new slide."
,
new_slide
:
"This is new slide."
,
wgt_name
:
"Slider"
,
wgt_name
:
"Slider"
,
slate
:
"slate"
,
slate
:
"slate"
,
pad
:
"
pad
"
,
pad
:
"
tablet
"
,
none
:
"none"
,
none
:
"none"
,
help
:
"Help"
,
help
:
"Help"
,
help_content
:
"This is an example of help content ..."
,
help_content
:
"<p><h2>Slider</h2></p>"
+
"<p><h3>Booklet pages.</h3></p>"
+
"<p>Slider is a booklet with pages. This booklet can be enriched with text, images, sound and videos.</p>"
+
"<p>Enter the “Edit” mode to :</p>"
+
"<ul><li>choose the theme of interactivity : tablet, slate or none (none by default),</li>"
+
"<li>edit the pages of the booklet.</li></ul>"
+
"<p>On each page, you can :</p>"
+
"<ul><li> insert text boxes with the “T+” on the left (to modify these text boxes, click inside the text and write),</li>"
+
"<li>insert pictures, sounds and videos dragging and dropping files from the library,</li>"
+
"<li>move texts, pictures, sounds and videos inside the page by clicking and dragging the multidirectional arrows located on the frame,</li>"
+
"<li>enlarge the size of an element with the double arrow at the bottom right of the frame,</li>"
+
"<li>delete an item with the “X”.</li></ul>"
+
"<p>To add a page, click on the “+” green arrow at the bottom.</p>"
+
"<p>To delete a page, click on the red cross.</p>"
+
"<p>“Display” button comes back to the activity.</p>"
,
theme
:
"Theme"
theme
:
"Theme"
};
};
...
...
resources/library/interactivities/Memory.wgt/js/help-template.js
View file @
2af209f9
<
h3
>
Memory
<
/h3
>
<
h3
>
Memory
<
/h3
>
<
h4
>
Mental
calculation
,
matching
game
<
/h4
>
<
h4
>
Mental
calculation
,
matching
game
<
/h4
>
<
p
>
The
goal
of
the
App
Memory
is
to
make
pairs
and
remembering
the
location
of
the
various
cards
.
<
/p
>
<
p
>
The
goal
of
the
App
Memory
is
to
make
pairs
and
remembering
the
location
of
the
various
cards
.
<
/p
>
<
p
>
Cards
are
laid
out
in
a
grid
face
down
.
The
player
turns
two
cards
.
If
the
two
cards
match
,
cards
are
not
covered
.
If
they
do
not
match
,
the
cards
are
turned
back
over
.
<
/p
>
<
p
>
Cards
are
laid
out
in
a
grid
face
down
.
The
player
turns
two
cards
.
If
the
two
cards
match
,
cards
are
not
covered
.
If
they
do
not
match
,
the
cards
are
turned
back
over
.
<
/p
>
<
p
>
The
game
is
over
when
all
pairs
have
been
found
.
<
/p
>
<
p
>
The
game
is
over
when
all
pairs
have
been
found
.
<
/p
>
<
p
>
The
"Edit"
button
allows
you
to
:
<
/p
>
<
p
>
Cards
are
randomly
arranged
in
the
game
mode
.
<
/p
>
<
ul
>
<
p
>
"Reload"
button
resets
the
game
.
<
/p
>
<
li
>
change
the
theme
of
the
App
:
tablet
,
slate
,
or
none
(
by
default
tablet
),
<
/li
>
<
li
>
choose
the
number
of
cards
(
4
,
6
or
8
cards
),
<
/li
>
<
li
>
select
the
displayed
time
of
returned
cards
,
<
/li
>
<
li
>
edit
directly
a
card
.
<
/li
>
<
/ul
>
<
p
>
The
cards
have
by
default
a
text
field
.
To
insert
text
,
click
on
it
.
<
/p
>
<
p
>
To
add
an
image
from
your
library
,
select
the
checkbox
"use image"
and
drag
and
drop
the
item
.
You
need
to
turn
the
card
with
the
blue
button
before
.
<
/p
>
<
p
>
The
cards
are
arranged
randomly
in
the
game
mode
.
<
/p>
<
p
>
The
App
is
able
to
identify
the
equivalent
mathematical
entries
(
authorized
signs
:
"+"
,
"*"
,
"-"
,
"/"
and
parentheses
).
However
avoid
division
by
0
.
<
/p
>
<
p
>
Enter
the
"Edit"
mode
to
:
<
/p
>
<
ul
>
<
li
>
choose
the
theme
of
interactivity
:
tablet
,
slate
or
none
(
by
default
:
tablet
),
<
/li
>
<
li
>
choose
the
number
of
cards
(
4
,
6
or
8
cards
),
<
/li
>
<
li
>
select
the
displayed
time
of
returned
cards
,
<
/li
>
<
li
>
edit
a
card
(
insert
a
picture
or
change
the
text
).
<
/li> </
ul
>
<
p
>
Place
pairs
of
cards
in
the
same
column
(
same
figure
in
each
card
).
<
/p
>
<
p
>
Cards
have
a
default
text
field
.
<
/p
>
<
p
>
Click
on
the
field
to
insert
text
.
<
/p
>
<
p
>
Click
on
the
box
before
dragging
and
dropping
picture
from
your
library
.
<
/p
>
<
p
>
"Display"
button
comes
back
to
the
activity
.
<
/p>
\ No newline at end of file
resources/library/interactivities/Morpion.wgt/js/help-template.js
View file @
2af209f9
<
h3
>
Tic
Tac
Toe
<
/h3
>
<
h3
>
Tic
tac
toe
<
/ h3
>
<
h3
>
Mental
calculation
version
<
/h3
>
<
h4
>
Mental
calculation
version
<
/h4
>
<
p
>
The
two
players
choose
,
complete
and
valid
an
operation
in
turn
.
<
/p
>
<
p
>
<
p
>
Click
the
"check"
button
to
verify
the
entry
.
The
App
is
able
to
verify
the
calculation
.
<
/p
>
The
two
players
choose
,
complete
and
valid
an
operation
in
turn
.
<
br
/>
<
p
>
If
the
answer
is
correct
,
the
box
is
marked
with
a
cross
(
X
)
or
a
circle
(
O
)
according
to
the
player
.
<
/p
>
Click
the
"check"
button
to
verify
the
entry
.
The
App
is
able
to
verify
the
calculation
.
<
br
/>
<
p
>
If
the
answer
is
false
,
the
other
player
takes
the
hand
and
begins
to
play
.
<
/p
>
If
the
answer
is
correct
,
the
box
is
marked
with
a
cross
(
X
)
or
a
circle
(
O
)
according
to
the
player
.
<
p
>
The
name
of
the
player
is
displayed
on
the
left
:
Player
1
(
X
),
Player
2
(
O
).
<
/p
>
If
the
answer
is
false
,
the
other
player
takes
the
hand
and
begins
to
play
.
<
p
>
The
first
player
to
get
3
of
his
marks
(
X
or
O
)
in
a
row
(
up
,
down
,
across
,
or
diagonally
)
is
the
winner
.
<
/p
>
<
/p
>
<
p
>
The
"Reload"
button
restarts
the
game
.
<
/p
>
<
p
>
The
name
of
the
player
is
displayed
on
the
left
:
Player
1
(
X
),
Player
2
(
O
).
<
/p
>
<
p
>
Enter
the
"Edit"
mode
to
:
<
/p
>
<
p
>
The
first
player
to
get
3
of
her
marks
(
X
or
O
)
in
a
row
(
up
,
down
,
across
,
or
diagonally
)
is
the
winner
.
<
/p
>
<
p
>
The
"Edit"
button
allows
you
to
:
<
/p
>
<
ul
>
<
ul
>
<
li
>
choose
the
theme
of
the
App
:
tablet
,
slate
,
or
none
(
by
default
tablet
),
<
/li
>
<
ul
>
<
li
>
choose
the
theme
of
interactivity
:
tablet
,
slate
or
none
(
by
default
:
tablet
),
<
/li
>
<
li
>
change
the
calculations
that
you
want
to
use
for
your
activity
.
<
/li
>
<
li
>
modify
the
calculations
that
you
want
to
use
for
your
activity
.
<
/li> </
ul
>
<
/ul
>
<
p
>
The
App
is
able
to
identify
mathematical
scripture
(
authorized
signs
:
"+"
,
"*"
,
"-"
,
"/"
and
parentheses
).
<
/p
>
<
p
>
Insert
the
calculation
in
each
field
.
<
b
>
Results
of
operations
are
automatically
calculated
by
the
interactivity
.
<
/b> </
p
>
<
p
>
The
"Reload"
button
restarts
the
game
.
<
/p
>
<
p
>
The
App
is
able
to
identify
mathematical
signs
(
"+"
,
"*"
,
"-"
,
"/"
and
parentheses
).
<
/p
>
<
p
>
"Display"
button
comes
back
to
the
activity
.
<
/p>
\ No newline at end of file
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