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
ca3d3edb
Commit
ca3d3edb
authored
Jul 24, 2012
by
Aleksei Kanash
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Sankore/Sankore-3.1
parents
1ed51386
16293724
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
121 additions
and
22 deletions
+121
-22
index.html
resources/library/interactivities/Ass images.wgt/index.html
+0
-1
script.js
...urces/library/interactivities/Ass images.wgt/js/script.js
+7
-2
script.js
...ry/interactivities/Ass images.wgt/locales/fr/js/script.js
+2
-2
script.js
...ry/interactivities/Ass images.wgt/locales/ru/js/script.js
+5
-3
basic.css
resources/library/interactivities/Ass sons.wgt/css/basic.css
+26
-5
slate-help-white.png
...ary/interactivities/Ass sons.wgt/img/slate-help-white.png
+0
-0
slate-help.png
...s/library/interactivities/Ass sons.wgt/img/slate-help.png
+0
-0
index.html
resources/library/interactivities/Ass sons.wgt/index.html
+2
-0
script.js
resources/library/interactivities/Ass sons.wgt/js/script.js
+25
-3
index.html
...ibrary/interactivities/Ass sons.wgt/locales/fr/index.html
+2
-0
script.js
...rary/interactivities/Ass sons.wgt/locales/fr/js/script.js
+25
-3
index.html
...ibrary/interactivities/Ass sons.wgt/locales/ru/index.html
+2
-0
script.js
...rary/interactivities/Ass sons.wgt/locales/ru/js/script.js
+25
-3
No files found.
resources/library/interactivities/Ass images.wgt/index.html
View file @
ca3d3edb
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
lang
=
sankore
.
locale
().
substr
(
0
,
2
);
lang
=
sankore
.
locale
().
substr
(
0
,
2
);
}
else
}
else
lang
=
"en"
;
lang
=
"en"
;
lang
=
"fr"
;
if
(
lang
==
"en"
){
if
(
lang
==
"en"
){
if
(
window
.
sankore
)
if
(
window
.
sankore
)
sankore
.
enableDropOnWidget
(
false
);
sankore
.
enableDropOnWidget
(
false
);
...
...
resources/library/interactivities/Ass images.wgt/js/script.js
View file @
ca3d3edb
...
@@ -43,6 +43,10 @@ function start(){
...
@@ -43,6 +43,10 @@ function start(){
}
}
}
}
$
(
".imgs_cont"
).
click
(
function
(){
alert
(
$
(
this
).
html
())
});
$
(
"#wgt_help"
).
click
(
function
(){
$
(
"#wgt_help"
).
click
(
function
(){
var
tmp
=
$
(
this
);
var
tmp
=
$
(
this
);
if
(
$
(
this
).
hasClass
(
"open"
)){
if
(
$
(
this
).
hasClass
(
"open"
)){
...
@@ -359,7 +363,8 @@ function importData(data){
...
@@ -359,7 +363,8 @@ function importData(data){
for
(
var
j
in
data
[
i
].
imgs
){
for
(
var
j
in
data
[
i
].
imgs
){
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
var
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
).
width
(
data
[
i
].
imgs
[
j
].
wd
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
...
@@ -445,7 +450,7 @@ function importData(data){
...
@@ -445,7 +450,7 @@ function importData(data){
for
(
j
in
data
[
i
].
imgs
){
for
(
j
in
data
[
i
].
imgs
){
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
...
resources/library/interactivities/Ass images.wgt/locales/fr/js/script.js
View file @
ca3d3edb
...
@@ -357,7 +357,7 @@ function importData(data){
...
@@ -357,7 +357,7 @@ function importData(data){
for
(
var
j
in
data
[
i
].
imgs
){
for
(
var
j
in
data
[
i
].
imgs
){
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -440,7 +440,7 @@ function importData(data){
...
@@ -440,7 +440,7 @@ function importData(data){
for
(
j
in
data
[
i
].
imgs
){
for
(
j
in
data
[
i
].
imgs
){
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
...
resources/library/interactivities/Ass images.wgt/locales/ru/js/script.js
View file @
ca3d3edb
...
@@ -8,7 +8,9 @@ var sankoreLang = {
...
@@ -8,7 +8,9 @@ var sankoreLang = {
reload
:
"Обновить"
,
reload
:
"Обновить"
,
slate
:
"Узор"
,
slate
:
"Узор"
,
pad
:
"Планшет"
,
pad
:
"Планшет"
,
none
:
"Нет"
none
:
"Нет"
,
help
:
"Помощь"
,
help_content
:
"Пример текста помощи ..."
};
};
...
@@ -356,7 +358,7 @@ function importData(data){
...
@@ -356,7 +358,7 @@ function importData(data){
for
(
var
j
in
data
[
i
].
imgs
){
for
(
var
j
in
data
[
i
].
imgs
){
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -439,7 +441,7 @@ function importData(data){
...
@@ -439,7 +441,7 @@ function importData(data){
for
(
j
in
data
[
i
].
imgs
){
for
(
j
in
data
[
i
].
imgs
){
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
...
resources/library/interactivities/Ass sons.wgt/css/basic.css
View file @
ca3d3edb
...
@@ -4,6 +4,7 @@ html, body{
...
@@ -4,6 +4,7 @@ html, body{
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
border-radius
:
50px
;
border-radius
:
50px
;
overflow
:
hidden
;
}
}
body
{
body
{
...
@@ -318,7 +319,6 @@ body{
...
@@ -318,7 +319,6 @@ body{
#wgt_name
{
#wgt_name
{
height
:
44px
;
height
:
44px
;
width
:
300px
;
margin
:
10px
10px
0
10px
;
margin
:
10px
10px
0
10px
;
padding
:
0
;
padding
:
0
;
float
:
left
;
float
:
left
;
...
@@ -327,9 +327,8 @@ body{
...
@@ -327,9 +327,8 @@ body{
color
:
#8c5730
;
color
:
#8c5730
;
}
}
#wgt_reload
,
#wgt_edit
,
#wgt_display
{
#wgt_reload
,
#wgt_edit
,
#wgt_display
,
#wgt_help
{
cursor
:
pointer
;
cursor
:
pointer
;
width
:
80px
;
height
:
44px
;
height
:
44px
;
margin
:
10px
10px
0
0
;
margin
:
10px
10px
0
0
;
float
:
right
;
float
:
right
;
...
@@ -339,7 +338,6 @@ body{
...
@@ -339,7 +338,6 @@ body{
}
}
#wgt_display
{
#wgt_display
{
width
:
100px
;
padding-left
:
40px
;
padding-left
:
40px
;
background-image
:
url(../img/slate-edit.png)
;
background-image
:
url(../img/slate-edit.png)
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
...
@@ -348,7 +346,6 @@ body{
...
@@ -348,7 +346,6 @@ body{
}
}
#wgt_edit
{
#wgt_edit
{
width
:
100px
;
padding-left
:
40px
;
padding-left
:
40px
;
background-image
:
url(../img/slate-edit.png)
;
background-image
:
url(../img/slate-edit.png)
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
...
@@ -440,4 +437,28 @@ body{
...
@@ -440,4 +437,28 @@ body{
background-color
:
#333
!important
;
background-color
:
#333
!important
;
color
:
white
!important
;
color
:
white
!important
;
background-image
:
url(../img/ar_down_white.png)
!important
;
background-image
:
url(../img/ar_down_white.png)
!important
;
}
.pad_help
{
background-image
:
url(../img/slate-help-white.png)
!important
;
}
#wgt_help
{
padding-left
:
32px
;
background-image
:
url(../img/slate-help.png)
;
background-repeat
:
no-repeat
;
background-position
:
top
0
;
}
#help
{
width
:
100%
;
height
:
100%
;
overflow
:
auto
;
display
:
none
;
background-color
:
#ccc
;
padding
:
5px
;
}
.open
{
}
}
\ No newline at end of file
resources/library/interactivities/Ass sons.wgt/img/slate-help-white.png
0 → 100644
View file @
ca3d3edb
553 Bytes
resources/library/interactivities/Ass sons.wgt/img/slate-help.png
0 → 100644
View file @
ca3d3edb
1.75 KB
resources/library/interactivities/Ass sons.wgt/index.html
View file @
ca3d3edb
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
<td
class=
"b_top_left"
>
</td>
<td
class=
"b_top_left"
>
</td>
<td
class=
"b_top_center"
>
<td
class=
"b_top_center"
>
<div
id=
"wgt_name"
></div>
<div
id=
"wgt_name"
></div>
<div
id=
"wgt_help"
></div>
<div
id=
"wgt_reload"
></div>
<div
id=
"wgt_reload"
></div>
<div
id=
"wgt_display"
class=
"selected"
></div>
<div
id=
"wgt_display"
class=
"selected"
></div>
<div
id=
"wgt_edit"
></div>
<div
id=
"wgt_edit"
></div>
...
@@ -63,6 +64,7 @@
...
@@ -63,6 +64,7 @@
<tr>
<tr>
<td
class=
"b_center_left"
>
</td>
<td
class=
"b_center_left"
>
</td>
<td>
<td>
<div
id=
"help"
></div>
<div
id=
"data"
>
<div
id=
"data"
>
</div>
</div>
...
...
resources/library/interactivities/Ass sons.wgt/js/script.js
View file @
ca3d3edb
...
@@ -8,7 +8,9 @@ var sankoreLang = {
...
@@ -8,7 +8,9 @@ var sankoreLang = {
reload
:
"Reload"
,
reload
:
"Reload"
,
slate
:
"Wood"
,
slate
:
"Wood"
,
pad
:
"Pad"
,
pad
:
"Pad"
,
none
:
"None"
none
:
"None"
,
help
:
"Help"
,
help_content
:
"This is an example of help content ..."
};
};
//main function
//main function
...
@@ -18,6 +20,8 @@ function start(){
...
@@ -18,6 +20,8 @@ function start(){
$
(
"#wgt_edit"
).
text
(
sankoreLang
.
edit
);
$
(
"#wgt_edit"
).
text
(
sankoreLang
.
edit
);
$
(
"#wgt_name"
).
text
(
sankoreLang
.
wgt_name
);
$
(
"#wgt_name"
).
text
(
sankoreLang
.
wgt_name
);
$
(
"#wgt_reload"
).
text
(
sankoreLang
.
reload
);
$
(
"#wgt_reload"
).
text
(
sankoreLang
.
reload
);
$
(
"#wgt_help"
).
text
(
sankoreLang
.
help
);
$
(
"#help"
).
html
(
sankoreLang
.
help_content
);
$
(
".style_select option[value='1']"
).
text
(
sankoreLang
.
slate
);
$
(
".style_select option[value='1']"
).
text
(
sankoreLang
.
slate
);
$
(
".style_select option[value='2']"
).
text
(
sankoreLang
.
pad
);
$
(
".style_select option[value='2']"
).
text
(
sankoreLang
.
pad
);
$
(
".style_select option[value='3']"
).
text
(
sankoreLang
.
none
);
$
(
".style_select option[value='3']"
).
text
(
sankoreLang
.
none
);
...
@@ -46,6 +50,21 @@ function start(){
...
@@ -46,6 +50,21 @@ function start(){
}
}
}
}
$
(
"#wgt_help"
).
click
(
function
(){
var
tmp
=
$
(
this
);
if
(
$
(
this
).
hasClass
(
"open"
)){
$
(
"#help"
).
slideUp
(
"100"
,
function
(){
tmp
.
removeClass
(
"open"
);
$
(
"#data"
).
show
();
});
}
else
{
$
(
"#data"
).
hide
();
$
(
"#help"
).
slideDown
(
"100"
,
function
(){
tmp
.
addClass
(
"open"
);
});
}
});
$
(
"#wgt_reload"
).
click
(
function
(){
$
(
"#wgt_reload"
).
click
(
function
(){
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
$
(
"#wgt_edit"
).
trigger
(
"click"
);
$
(
"#wgt_edit"
).
trigger
(
"click"
);
...
@@ -385,7 +404,7 @@ function importData(data){
...
@@ -385,7 +404,7 @@ function importData(data){
for
(
var
j
in
data
[
i
].
imgs
){
for
(
var
j
in
data
[
i
].
imgs
){
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
var
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -476,7 +495,7 @@ function importData(data){
...
@@ -476,7 +495,7 @@ function importData(data){
for
(
j
in
data
[
i
].
imgs
){
for
(
j
in
data
[
i
].
imgs
){
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
=
$
(
"<img src='"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -756,6 +775,7 @@ function changeStyle(val){
...
@@ -756,6 +775,7 @@ function changeStyle(val){
$
(
".b_bottom_left"
).
removeClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_left"
).
removeClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
removeClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
removeClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
"#wgt_reload"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_reload"
);
$
(
"#wgt_help"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_help"
);
$
(
"#wgt_edit"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_name"
).
removeClass
(
"pad_color"
);
$
(
"#wgt_name"
).
removeClass
(
"pad_color"
);
...
@@ -772,6 +792,7 @@ function changeStyle(val){
...
@@ -772,6 +792,7 @@ function changeStyle(val){
$
(
".b_bottom_left"
).
addClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_left"
).
addClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
addClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
addClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_help"
).
addClass
(
"pad_color"
).
addClass
(
"pad_help"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_name"
).
addClass
(
"pad_color"
);
$
(
"#wgt_name"
).
addClass
(
"pad_color"
);
...
@@ -787,6 +808,7 @@ function changeStyle(val){
...
@@ -787,6 +808,7 @@ function changeStyle(val){
$
(
".b_bottom_right"
).
addClass
(
"without_back"
).
removeClass
(
"bbr_pad"
);
$
(
".b_bottom_right"
).
addClass
(
"without_back"
).
removeClass
(
"bbr_pad"
);
$
(
".b_bottom_left"
).
addClass
(
"without_back"
).
removeClass
(
"bbl_pad"
);
$
(
".b_bottom_left"
).
addClass
(
"without_back"
).
removeClass
(
"bbl_pad"
);
$
(
".b_bottom_center"
).
addClass
(
"without_back"
).
removeClass
(
"bbc_pad"
);
$
(
".b_bottom_center"
).
addClass
(
"without_back"
).
removeClass
(
"bbc_pad"
);
$
(
"#wgt_help"
).
addClass
(
"pad_color"
).
addClass
(
"pad_help"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
...
...
resources/library/interactivities/Ass sons.wgt/locales/fr/index.html
View file @
ca3d3edb
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
<td
class=
"b_top_left"
>
</td>
<td
class=
"b_top_left"
>
</td>
<td
class=
"b_top_center"
>
<td
class=
"b_top_center"
>
<div
id=
"wgt_name"
></div>
<div
id=
"wgt_name"
></div>
<div
id=
"wgt_help"
></div>
<div
id=
"wgt_reload"
></div>
<div
id=
"wgt_reload"
></div>
<div
id=
"wgt_display"
class=
"selected"
></div>
<div
id=
"wgt_display"
class=
"selected"
></div>
<div
id=
"wgt_edit"
></div>
<div
id=
"wgt_edit"
></div>
...
@@ -37,6 +38,7 @@
...
@@ -37,6 +38,7 @@
<tr>
<tr>
<td
class=
"b_center_left"
>
</td>
<td
class=
"b_center_left"
>
</td>
<td>
<td>
<div
id=
"help"
></div>
<div
id=
"data"
>
<div
id=
"data"
>
</div>
</div>
...
...
resources/library/interactivities/Ass sons.wgt/locales/fr/js/script.js
View file @
ca3d3edb
...
@@ -8,7 +8,9 @@ var sankoreLang = {
...
@@ -8,7 +8,9 @@ var sankoreLang = {
reload
:
"Recharger"
,
reload
:
"Recharger"
,
slate
:
"Bois"
,
slate
:
"Bois"
,
pad
:
"Pad"
,
pad
:
"Pad"
,
none
:
"Aucun"
none
:
"Aucun"
,
help
:
"Aide"
,
help_content
:
"Ceci est un exemple de contenu de l'aide ..."
};
};
//main function
//main function
...
@@ -18,6 +20,8 @@ function start(){
...
@@ -18,6 +20,8 @@ function start(){
$
(
"#wgt_edit"
).
text
(
sankoreLang
.
edit
);
$
(
"#wgt_edit"
).
text
(
sankoreLang
.
edit
);
$
(
"#wgt_name"
).
text
(
sankoreLang
.
wgt_name
);
$
(
"#wgt_name"
).
text
(
sankoreLang
.
wgt_name
);
$
(
"#wgt_reload"
).
text
(
sankoreLang
.
reload
);
$
(
"#wgt_reload"
).
text
(
sankoreLang
.
reload
);
$
(
"#wgt_help"
).
text
(
sankoreLang
.
help
);
$
(
"#help"
).
html
(
sankoreLang
.
help_content
);
$
(
".style_select option[value='1']"
).
text
(
sankoreLang
.
slate
);
$
(
".style_select option[value='1']"
).
text
(
sankoreLang
.
slate
);
$
(
".style_select option[value='2']"
).
text
(
sankoreLang
.
pad
);
$
(
".style_select option[value='2']"
).
text
(
sankoreLang
.
pad
);
$
(
".style_select option[value='3']"
).
text
(
sankoreLang
.
none
);
$
(
".style_select option[value='3']"
).
text
(
sankoreLang
.
none
);
...
@@ -46,6 +50,21 @@ function start(){
...
@@ -46,6 +50,21 @@ function start(){
}
}
}
}
$
(
"#wgt_help"
).
click
(
function
(){
var
tmp
=
$
(
this
);
if
(
$
(
this
).
hasClass
(
"open"
)){
$
(
"#help"
).
slideUp
(
"100"
,
function
(){
tmp
.
removeClass
(
"open"
);
$
(
"#data"
).
show
();
});
}
else
{
$
(
"#data"
).
hide
();
$
(
"#help"
).
slideDown
(
"100"
,
function
(){
tmp
.
addClass
(
"open"
);
});
}
});
$
(
"#wgt_reload"
).
click
(
function
(){
$
(
"#wgt_reload"
).
click
(
function
(){
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
$
(
"#wgt_edit"
).
trigger
(
"click"
);
$
(
"#wgt_edit"
).
trigger
(
"click"
);
...
@@ -382,7 +401,7 @@ function importData(data){
...
@@ -382,7 +401,7 @@ function importData(data){
for
(
var
j
in
data
[
i
].
imgs
){
for
(
var
j
in
data
[
i
].
imgs
){
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -473,7 +492,7 @@ function importData(data){
...
@@ -473,7 +492,7 @@ function importData(data){
for
(
j
in
data
[
i
].
imgs
){
for
(
j
in
data
[
i
].
imgs
){
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -741,6 +760,7 @@ function changeStyle(val){
...
@@ -741,6 +760,7 @@ function changeStyle(val){
$
(
".b_bottom_left"
).
removeClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_left"
).
removeClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
removeClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
removeClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
"#wgt_reload"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_reload"
);
$
(
"#wgt_help"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_help"
);
$
(
"#wgt_edit"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_name"
).
removeClass
(
"pad_color"
);
$
(
"#wgt_name"
).
removeClass
(
"pad_color"
);
...
@@ -757,6 +777,7 @@ function changeStyle(val){
...
@@ -757,6 +777,7 @@ function changeStyle(val){
$
(
".b_bottom_left"
).
addClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_left"
).
addClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
addClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
addClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_help"
).
addClass
(
"pad_color"
).
addClass
(
"pad_help"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_name"
).
addClass
(
"pad_color"
);
$
(
"#wgt_name"
).
addClass
(
"pad_color"
);
...
@@ -772,6 +793,7 @@ function changeStyle(val){
...
@@ -772,6 +793,7 @@ function changeStyle(val){
$
(
".b_bottom_right"
).
addClass
(
"without_back"
).
removeClass
(
"bbr_pad"
);
$
(
".b_bottom_right"
).
addClass
(
"without_back"
).
removeClass
(
"bbr_pad"
);
$
(
".b_bottom_left"
).
addClass
(
"without_back"
).
removeClass
(
"bbl_pad"
);
$
(
".b_bottom_left"
).
addClass
(
"without_back"
).
removeClass
(
"bbl_pad"
);
$
(
".b_bottom_center"
).
addClass
(
"without_back"
).
removeClass
(
"bbc_pad"
);
$
(
".b_bottom_center"
).
addClass
(
"without_back"
).
removeClass
(
"bbc_pad"
);
$
(
"#wgt_help"
).
addClass
(
"pad_color"
).
addClass
(
"pad_help"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
...
...
resources/library/interactivities/Ass sons.wgt/locales/ru/index.html
View file @
ca3d3edb
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
<td
class=
"b_top_left"
>
</td>
<td
class=
"b_top_left"
>
</td>
<td
class=
"b_top_center"
>
<td
class=
"b_top_center"
>
<div
id=
"wgt_name"
></div>
<div
id=
"wgt_name"
></div>
<div
id=
"wgt_help"
></div>
<div
id=
"wgt_reload"
></div>
<div
id=
"wgt_reload"
></div>
<div
id=
"wgt_display"
class=
"selected"
></div>
<div
id=
"wgt_display"
class=
"selected"
></div>
<div
id=
"wgt_edit"
></div>
<div
id=
"wgt_edit"
></div>
...
@@ -37,6 +38,7 @@
...
@@ -37,6 +38,7 @@
<tr>
<tr>
<td
class=
"b_center_left"
>
</td>
<td
class=
"b_center_left"
>
</td>
<td>
<td>
<div
id=
"help"
></div>
<div
id=
"data"
>
<div
id=
"data"
>
</div>
</div>
...
...
resources/library/interactivities/Ass sons.wgt/locales/ru/js/script.js
View file @
ca3d3edb
...
@@ -8,7 +8,9 @@ var sankoreLang = {
...
@@ -8,7 +8,9 @@ var sankoreLang = {
reload
:
"Обновить"
,
reload
:
"Обновить"
,
slate
:
"Узор"
,
slate
:
"Узор"
,
pad
:
"Планшет"
,
pad
:
"Планшет"
,
none
:
"Нет"
none
:
"Нет"
,
help
:
"Помощь"
,
help_content
:
"Пример текста помощи ..."
};
};
//main function
//main function
...
@@ -18,6 +20,8 @@ function start(){
...
@@ -18,6 +20,8 @@ function start(){
$
(
"#wgt_edit"
).
text
(
sankoreLang
.
edit
);
$
(
"#wgt_edit"
).
text
(
sankoreLang
.
edit
);
$
(
"#wgt_name"
).
text
(
sankoreLang
.
wgt_name
);
$
(
"#wgt_name"
).
text
(
sankoreLang
.
wgt_name
);
$
(
"#wgt_reload"
).
text
(
sankoreLang
.
reload
);
$
(
"#wgt_reload"
).
text
(
sankoreLang
.
reload
);
$
(
"#wgt_help"
).
text
(
sankoreLang
.
help
);
$
(
"#help"
).
html
(
sankoreLang
.
help_content
);
$
(
".style_select option[value='1']"
).
text
(
sankoreLang
.
slate
);
$
(
".style_select option[value='1']"
).
text
(
sankoreLang
.
slate
);
$
(
".style_select option[value='2']"
).
text
(
sankoreLang
.
pad
);
$
(
".style_select option[value='2']"
).
text
(
sankoreLang
.
pad
);
$
(
".style_select option[value='3']"
).
text
(
sankoreLang
.
none
);
$
(
".style_select option[value='3']"
).
text
(
sankoreLang
.
none
);
...
@@ -46,6 +50,21 @@ function start(){
...
@@ -46,6 +50,21 @@ function start(){
}
}
}
}
$
(
"#wgt_help"
).
click
(
function
(){
var
tmp
=
$
(
this
);
if
(
$
(
this
).
hasClass
(
"open"
)){
$
(
"#help"
).
slideUp
(
"100"
,
function
(){
tmp
.
removeClass
(
"open"
);
$
(
"#data"
).
show
();
});
}
else
{
$
(
"#data"
).
hide
();
$
(
"#help"
).
slideDown
(
"100"
,
function
(){
tmp
.
addClass
(
"open"
);
});
}
});
$
(
"#wgt_reload"
).
click
(
function
(){
$
(
"#wgt_reload"
).
click
(
function
(){
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
if
(
$
(
"#wgt_display"
).
hasClass
(
"selected"
)){
$
(
"#wgt_edit"
).
trigger
(
"click"
);
$
(
"#wgt_edit"
).
trigger
(
"click"
);
...
@@ -382,7 +401,7 @@ function importData(data){
...
@@ -382,7 +401,7 @@ function importData(data){
for
(
var
j
in
data
[
i
].
imgs
){
for
(
var
j
in
data
[
i
].
imgs
){
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
var
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -473,7 +492,7 @@ function importData(data){
...
@@ -473,7 +492,7 @@ function importData(data){
for
(
j
in
data
[
i
].
imgs
){
for
(
j
in
data
[
i
].
imgs
){
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img_block
=
$
(
"<div class='img_block img_gray' style='text-align: center;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
=
$
(
"<img src='../../"
+
data
[
i
].
imgs
[
j
].
link
+
"' style='display: inline;'>"
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
)
.
width
(
data
[
i
].
imgs
[
j
].
wd
)
;
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
...
@@ -741,6 +760,7 @@ function changeStyle(val){
...
@@ -741,6 +760,7 @@ function changeStyle(val){
$
(
".b_bottom_left"
).
removeClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_left"
).
removeClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
removeClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
removeClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
"#wgt_reload"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_reload"
);
$
(
"#wgt_help"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_help"
);
$
(
"#wgt_edit"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
removeClass
(
"pad_color"
).
removeClass
(
"pad_edit"
);
$
(
"#wgt_name"
).
removeClass
(
"pad_color"
);
$
(
"#wgt_name"
).
removeClass
(
"pad_color"
);
...
@@ -757,6 +777,7 @@ function changeStyle(val){
...
@@ -757,6 +777,7 @@ function changeStyle(val){
$
(
".b_bottom_left"
).
addClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_left"
).
addClass
(
"bbl_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
addClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
".b_bottom_center"
).
addClass
(
"bbc_pad"
).
removeClass
(
"without_back"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_help"
).
addClass
(
"pad_color"
).
addClass
(
"pad_help"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_name"
).
addClass
(
"pad_color"
);
$
(
"#wgt_name"
).
addClass
(
"pad_color"
);
...
@@ -772,6 +793,7 @@ function changeStyle(val){
...
@@ -772,6 +793,7 @@ function changeStyle(val){
$
(
".b_bottom_right"
).
addClass
(
"without_back"
).
removeClass
(
"bbr_pad"
);
$
(
".b_bottom_right"
).
addClass
(
"without_back"
).
removeClass
(
"bbr_pad"
);
$
(
".b_bottom_left"
).
addClass
(
"without_back"
).
removeClass
(
"bbl_pad"
);
$
(
".b_bottom_left"
).
addClass
(
"without_back"
).
removeClass
(
"bbl_pad"
);
$
(
".b_bottom_center"
).
addClass
(
"without_back"
).
removeClass
(
"bbc_pad"
);
$
(
".b_bottom_center"
).
addClass
(
"without_back"
).
removeClass
(
"bbc_pad"
);
$
(
"#wgt_help"
).
addClass
(
"pad_color"
).
addClass
(
"pad_help"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_reload"
).
addClass
(
"pad_color"
).
addClass
(
"pad_reload"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_edit"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
$
(
"#wgt_display"
).
addClass
(
"pad_color"
).
addClass
(
"pad_edit"
);
...
...
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