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
d1b16e89
Commit
d1b16e89
authored
Jul 17, 2012
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some interactivities fixes
parent
47923e9e
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
65 additions
and
38 deletions
+65
-38
basic.css
resources/library/interactivities/Ass sons.wgt/css/basic.css
+1
-1
basic.css
resources/library/interactivities/Cat text.wgt/css/basic.css
+1
-0
basic.css
...es/library/interactivities/Ordre images.wgt/css/basic.css
+3
-2
script.js
...ces/library/interactivities/Ordre images.wgt/js/script.js
+14
-7
basic.css
...s/library/interactivities/Ordre lettres.wgt/css/basic.css
+4
-3
script.js
...es/library/interactivities/Ordre lettres.wgt/js/script.js
+10
-5
template2.js
...brary/interactivities/Ordre mots.wgt/scripts/template2.js
+6
-5
of_puppets.css
...rary/interactivities/Ordre mots.wgt/styles/of_puppets.css
+4
-2
template2.js
...ary/interactivities/Ordre phrase.wgt/scripts/template2.js
+6
-5
of_puppets.css
...ry/interactivities/Ordre phrase.wgt/styles/of_puppets.css
+2
-2
basic.css
...es/library/interactivities/Selectionner.wgt/css/basic.css
+11
-3
script.js
...ces/library/interactivities/Selectionner.wgt/js/script.js
+2
-2
config.xml
...rces/library/interactivities/Separe phrase.wgt/config.xml
+1
-1
No files found.
resources/library/interactivities/Ass sons.wgt/css/basic.css
View file @
d1b16e89
...
@@ -214,7 +214,7 @@ body{
...
@@ -214,7 +214,7 @@ body{
.audio_desc
{
.audio_desc
{
width
:
73%
;
width
:
73%
;
max-height
:
40px
;
max-height
:
40px
;
overflow-
y
:
auto
;
overflow-
x
:
hidden
;
float
:
right
;
float
:
right
;
margin-left
:
20px
;
margin-left
:
20px
;
}
}
...
...
resources/library/interactivities/Cat text.wgt/css/basic.css
View file @
d1b16e89
...
@@ -103,6 +103,7 @@ body{
...
@@ -103,6 +103,7 @@ body{
overflow
:
hidden
;
overflow
:
hidden
;
display
:
block
;
display
:
block
;
cursor
:
pointer
;
cursor
:
pointer
;
word-wrap
:
break-word
;
}
}
.close_cont
{
.close_cont
{
...
...
resources/library/interactivities/Ordre images.wgt/css/basic.css
View file @
d1b16e89
...
@@ -85,12 +85,13 @@ body{
...
@@ -85,12 +85,13 @@ body{
.text_cont
{
.text_cont
{
width
:
80%
;
width
:
80%
;
min-height
:
40px
;
min-height
:
40px
;
max-height
:
60px
;
float
:
right
;
float
:
right
;
overflow-x
:
hidden
;
background-color
:
#ccc
;
background-color
:
#ccc
;
border-top-left-radius
:
10px
;
border-top-left-radius
:
10px
;
border-bottom-left-radius
:
10px
;
border-bottom-left-radius
:
10px
;
padding-left
:
10px
;
padding-left
:
10px
;
/*font-family: 'SFToontimeRegular';*/
}
}
.close_cont
{
.close_cont
{
...
...
resources/library/interactivities/Ordre images.wgt/js/script.js
View file @
d1b16e89
...
@@ -58,6 +58,7 @@ function start(){
...
@@ -58,6 +58,7 @@ function start(){
$
(
"#wgt_display, #wgt_edit"
).
click
(
function
(
event
){
$
(
"#wgt_display, #wgt_edit"
).
click
(
function
(
event
){
if
(
this
.
id
==
"wgt_display"
){
if
(
this
.
id
==
"wgt_display"
){
if
(
!
$
(
this
).
hasClass
(
"selected"
)){
if
(
!
$
(
this
).
hasClass
(
"selected"
)){
if
(
window
.
sankore
)
sankore
.
enableDropOnWidget
(
false
);
sankore
.
enableDropOnWidget
(
false
);
$
(
this
).
addClass
(
"selected"
);
$
(
this
).
addClass
(
"selected"
);
$
(
"#wgt_edit"
).
removeClass
(
"selected"
);
$
(
"#wgt_edit"
).
removeClass
(
"selected"
);
...
@@ -104,6 +105,7 @@ function start(){
...
@@ -104,6 +105,7 @@ function start(){
}
}
}
else
{
}
else
{
if
(
!
$
(
this
).
hasClass
(
"selected"
)){
if
(
!
$
(
this
).
hasClass
(
"selected"
)){
if
(
window
.
sankore
)
sankore
.
enableDropOnWidget
(
true
);
sankore
.
enableDropOnWidget
(
true
);
$
(
this
).
addClass
(
"selected"
);
$
(
this
).
addClass
(
"selected"
);
$
(
"#wgt_display"
).
removeClass
(
"selected"
);
$
(
"#wgt_display"
).
removeClass
(
"selected"
);
...
@@ -212,11 +214,16 @@ function exportData(){
...
@@ -212,11 +214,16 @@ function exportData(){
cont_obj
.
tmp
=
"clear"
;
cont_obj
.
tmp
=
"clear"
;
array_to_export
.
push
(
cont_obj
);
array_to_export
.
push
(
cont_obj
);
}
}
if
(
window
.
sankore
)
sankore
.
setPreference
(
"odr_des_imgs"
,
JSON
.
stringify
(
array_to_export
));
sankore
.
setPreference
(
"odr_des_imgs"
,
JSON
.
stringify
(
array_to_export
));
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
))
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
if
(
window
.
sankore
)
sankore
.
setPreference
(
"odr_des_imgs_state"
,
"display"
);
sankore
.
setPreference
(
"odr_des_imgs_state"
,
"display"
);
else
}
else
{
if
(
window
.
sankore
)
sankore
.
setPreference
(
"odr_des_imgs_state"
,
"edit"
);
sankore
.
setPreference
(
"odr_des_imgs_state"
,
"edit"
);
}
}
}
//import
//import
...
...
resources/library/interactivities/Ordre lettres.wgt/css/basic.css
View file @
d1b16e89
...
@@ -166,9 +166,10 @@ body{
...
@@ -166,9 +166,10 @@ body{
}
}
.audio_desc
{
.audio_desc
{
min-height
:
30px
;
width
:
73%
;
margin
:
5px
0
;
max-height
:
40px
;
float
:
left
;
overflow-x
:
hidden
;
float
:
right
;
margin-left
:
20px
;
margin-left
:
20px
;
}
}
...
...
resources/library/interactivities/Ordre lettres.wgt/js/script.js
View file @
d1b16e89
...
@@ -240,11 +240,16 @@ function exportData(){
...
@@ -240,11 +240,16 @@ function exportData(){
array_to_export
.
push
(
cont_obj
);
array_to_export
.
push
(
cont_obj
);
});
});
}
}
if
(
window
.
sankore
)
sankore
.
setPreference
(
"associer_sound"
,
JSON
.
stringify
(
array_to_export
));
sankore
.
setPreference
(
"associer_sound"
,
JSON
.
stringify
(
array_to_export
));
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
))
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
if
(
window
.
sankore
)
sankore
.
setPreference
(
"associer_sound_state"
,
"display"
);
sankore
.
setPreference
(
"associer_sound_state"
,
"display"
);
else
}
else
{
if
(
window
.
sankore
)
sankore
.
setPreference
(
"associer_sound_state"
,
"edit"
);
sankore
.
setPreference
(
"associer_sound_state"
,
"edit"
);
}
}
}
//import
//import
...
...
resources/library/interactivities/Ordre mots.wgt/scripts/template2.js
View file @
d1b16e89
...
@@ -64,6 +64,7 @@ var widget_padding = 0;
...
@@ -64,6 +64,7 @@ var widget_padding = 0;
var
min_view_width
=
400
;
var
min_view_width
=
400
;
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
if
(
window
.
sankore
)
if
(
sankore
.
preference
(
"ord_words_style"
,
""
)){
if
(
sankore
.
preference
(
"ord_words_style"
,
""
)){
changeStyle
(
sankore
.
preference
(
"ord_words_style"
,
""
));
changeStyle
(
sankore
.
preference
(
"ord_words_style"
,
""
));
$
(
".style_select"
).
val
(
sankore
.
preference
(
"ord_words_style"
,
""
));
$
(
".style_select"
).
val
(
sankore
.
preference
(
"ord_words_style"
,
""
));
...
...
resources/library/interactivities/Ordre mots.wgt/styles/of_puppets.css
View file @
d1b16e89
...
@@ -11,11 +11,13 @@ body{
...
@@ -11,11 +11,13 @@ body{
}
}
.letter
{
.letter
{
min-width
:
30px
;
height
:
40px
;
min-width
:
30px
;
max-width
:
500px
;
height
:
40px
;
overflow
:
hidden
;
border
:
solid
1px
#ccc
;
border
:
solid
1px
#ccc
;
margin
:
4px
;
margin
:
4px
;
padding
:
4px
10px
;
padding
:
4px
10px
;
float
:
left
;
float
:
left
;
font
:
28px
tahoma
;
font
:
28px
tahoma
;
text-align
:
center
;
text-align
:
center
;
...
...
resources/library/interactivities/Ordre phrase.wgt/scripts/template2.js
View file @
d1b16e89
...
@@ -66,6 +66,7 @@ var input_width = 606;
...
@@ -66,6 +66,7 @@ var input_width = 606;
var
widget_padding
=
0
;
var
widget_padding
=
0
;
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
if
(
window
.
sankore
)
if
(
sankore
.
preference
(
"ord_phrases_style"
,
""
)){
if
(
sankore
.
preference
(
"ord_phrases_style"
,
""
)){
changeStyle
(
sankore
.
preference
(
"ord_phrases_style"
,
""
));
changeStyle
(
sankore
.
preference
(
"ord_phrases_style"
,
""
));
$
(
".style_select"
).
val
(
sankore
.
preference
(
"ord_phrases_style"
,
""
));
$
(
".style_select"
).
val
(
sankore
.
preference
(
"ord_phrases_style"
,
""
));
...
...
resources/library/interactivities/Ordre phrase.wgt/styles/of_puppets.css
View file @
d1b16e89
...
@@ -24,7 +24,7 @@ body{
...
@@ -24,7 +24,7 @@ body{
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.phrase
{
.phrase
{
height
:
40px
;
min-
height
:
40px
;
border
:
solid
1px
#ccc
;
border
:
solid
1px
#ccc
;
margin
:
4px
;
margin
:
4px
;
padding
:
4px
10px
;
padding
:
4px
10px
;
...
@@ -33,7 +33,7 @@ body{
...
@@ -33,7 +33,7 @@ body{
text-align
:
center
;
text-align
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
overflow
:
hidden
;
}
}
.right
{
.right
{
...
...
resources/library/interactivities/Selectionner.wgt/css/basic.css
View file @
d1b16e89
...
@@ -85,11 +85,14 @@ body{
...
@@ -85,11 +85,14 @@ body{
.text_cont
{
.text_cont
{
width
:
80%
;
width
:
80%
;
min-height
:
40px
;
min-height
:
40px
;
max-height
:
60px
;
float
:
right
;
float
:
right
;
overflow-x
:
hidden
;
background-color
:
#ccc
;
background-color
:
#ccc
;
border-top-left-radius
:
10px
;
border-top-left-radius
:
10px
;
border-bottom-left-radius
:
10px
;
border-bottom-left-radius
:
10px
;
padding-left
:
10px
;
padding-left
:
10px
;
display
:
block
;
}
}
.close_cont
{
.close_cont
{
...
@@ -120,7 +123,8 @@ body{
...
@@ -120,7 +123,8 @@ body{
.img_block
,
.text_block
{
.img_block
,
.text_block
{
width
:
120px
;
width
:
120px
;
height
:
120px
;
height
:
119px
;
max-height
:
120px
;
margin
:
10px
20px
;
margin
:
10px
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
float
:
left
;
float
:
left
;
...
@@ -147,9 +151,13 @@ body{
...
@@ -147,9 +151,13 @@ body{
}
}
.text_subblock
{
.text_subblock
{
max-height
:
120px
;
min-width
:
116px
;
max-width
:
200px
;
display
:
table-cell
;
display
:
table-cell
;
vertical-align
:
middle
;
vertical-align
:
middle
;
font-size
:
120%
;
font-size
:
120%
;
word-wrap
:
break-word
;
}
}
.close_img
,
.clear_img
,
.numb_img
{
.close_img
,
.clear_img
,
.numb_img
{
...
...
resources/library/interactivities/Selectionner.wgt/js/script.js
View file @
d1b16e89
...
@@ -262,7 +262,7 @@ function exportData(){
...
@@ -262,7 +262,7 @@ function exportData(){
});
});
array_to_export
.
push
(
cont_obj
);
array_to_export
.
push
(
cont_obj
);
});
});
if
(
window
.
sankore
)
sankore
.
setPreference
(
"selectionner"
,
JSON
.
stringify
(
array_to_export
));
sankore
.
setPreference
(
"selectionner"
,
JSON
.
stringify
(
array_to_export
));
}
}
...
...
resources/library/interactivities/Separe phrase.wgt/config.xml
View file @
d1b16e89
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
xmlns:ub=
"http://uniboard.mnemis.com/widgets"
xmlns:ub=
"http://uniboard.mnemis.com/widgets"
id=
"http://www.example.net/widgets/helloworld"
id=
"http://www.example.net/widgets/helloworld"
version=
"1.0"
version=
"1.0"
width=
"
7
50"
width=
"
8
50"
height=
"300"
height=
"300"
ub:resizable=
"true"
>
ub:resizable=
"true"
>
...
...
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