Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tomáš Peterka
erp5
Commits
a6914097
Commit
a6914097
authored
Sep 27, 2017
by
Tomáš Peterka
Browse files
Options
Browse Files
Download
Plain Diff
erge branch 'hotfix/rjs-listbox-td' into renderjs/test
parents
17104010
3acc9820
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
21 deletions
+21
-21
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_html.html
...ateItem/web_page_module/rjs_gadget_erp5_listbox_html.html
+15
-15
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_html.xml
...lateItem/web_page_module/rjs_gadget_erp5_listbox_html.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.js
...emplateItem/web_page_module/rjs_gadget_erp5_listbox_js.js
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
...mplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_html.html
View file @
a6914097
...
@@ -49,27 +49,27 @@
...
@@ -49,27 +49,27 @@
<
tr
>
<
tr
>
{{
#
if
..
/
show_anchor
}}
{{
#
if
..
/
show_anchor
}}
<
th
>
<
th
>
<
a
class
=
"
ui-link ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-notext
"
href
=
"
{{jump}}
"
<
/a
>
<
a
class
=
"
ui-link ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-notext
"
href
=
"
{{jump}}
"
>
<
/a
>
<
/th
>
<
/th
>
{{
/
if
}}
{{
/
if
}}
{{
#
each
tr_value
}}
{{
#
each
tr_value
}}
<
t
h
>
<
t
d
>
{{
#
if
type
}}
{{
#
if
type
}}
{{
#
if
editable
}}
{{
#
if
editable
}}
<
div
class
=
"
editable_div
"
column
=
"
{{column}}
"
line
=
"
{{line}}
"
><
/div
>
<
div
class
=
"
editable_div
"
data
-
column
=
"
{{column}}
"
data
-
line
=
"
{{line}}
"
><
/div
>
{{
else
}}
{{
else
}}
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
<
div
class
=
"
editable_div
"
column
=
"
{{column}}
"
line
=
"
{{line}}
"
><
/div
>
<
div
class
=
"
editable_div
"
data
-
column
=
"
{{column}}
"
data
-
line
=
"
{{line}}
"
><
/div
>
<
/a
>
<
/a
>
{{
/
if
}}
{{
/
if
}}
{{
else
}}
{{
else
}}
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
{{
text
}}
<
/a
>
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
{{
text
}}
<
/a
>
{{
/
if
}}
{{
/
if
}}
<
/t
h
>
<
/t
d
>
{{
/
each
}}
{{
/
each
}}
{{
#
if
line_icon
}}
{{
#
if
line_icon
}}
<
th
>
<
th
>
<
a
href
=
"
{{jump}}
"
class
=
"
ui-body-inherit ui-btn-icon-right ui-link ui-btn ui-corner-all ui-icon-mail-forward
"
><
/a
>
<
a
href
=
"
{{jump}}
"
class
=
"
ui-body-inherit ui-btn-icon-right ui-link ui-btn ui-corner-all ui-icon-mail-forward
"
><
/a
>
<
/th
>
<
/th
>
{{
/
if
}}
{{
/
if
}}
<
/tr
>
<
/tr
>
...
@@ -86,26 +86,26 @@
...
@@ -86,26 +86,26 @@
<
tr
>
<
tr
>
{{
#
if
..
/
show_anchor
}}
{{
#
if
..
/
show_anchor
}}
<
th
>
<
th
>
<
a
class
=
"
ui-link ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-notext
"
href
=
"
{{jump}}
"
<
/a
>
<
a
class
=
"
ui-link ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-notext
"
href
=
"
{{jump}}
"
>
<
/a
>
<
/th
>
<
/th
>
{{
/
if
}}
{{
/
if
}}
<
t
h
>
<
t
d
>
<
input
value
=
"
{{value}}
"
type
=
"
checkbox
"
checked
=
"
true
"
class
=
"
hide_element
"
>
<
input
value
=
"
{{value}}
"
type
=
"
checkbox
"
checked
=
"
true
"
class
=
"
hide_element
"
>
<
/th
>
<
/td
>
{{
#
each
tr_value
}}
{{
#
each
tr_value
}}
<
t
h
>
<
t
d
>
{{
#
if
type
}}
{{
#
if
type
}}
{{
#
if
editable
}}
{{
#
if
editable
}}
<
div
class
=
"
editable_div
"
column
=
"
{{column}}
"
line
=
"
{{line}}
"
><
/div
>
<
div
class
=
"
editable_div
"
data
-
column
=
"
{{column}}
"
data
-
line
=
"
{{line}}
"
><
/div
>
{{
else
}}
{{
else
}}
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
<
div
class
=
"
editable_div
"
column
=
"
{{column}}
"
line
=
"
{{line}}
"
><
/div
>
<
div
class
=
"
editable_div
"
data
-
column
=
"
{{column}}
"
data
-
line
=
"
{{line}}
"
><
/div
>
<
/a
>
<
/a
>
{{
/
if
}}
{{
/
if
}}
{{
else
}}
{{
else
}}
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
{{
text
}}
<
/a
>
<
a
href
=
"
{{href}}
"
class
=
"
ui-link
"
>
{{
text
}}
<
/a
>
{{
/
if
}}
{{
/
if
}}
<
/t
h
>
<
/t
d
>
{{
/
each
}}
{{
/
each
}}
{{
#
if
line_icon
}}
{{
#
if
line_icon
}}
<
th
>
<
th
>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_html.xml
View file @
a6914097
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
0.57573.52830.63385
</string>
</value>
<value>
<string>
96
2.24395.32903.29832
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
0651800.2
</float>
<float>
150
6526285.9
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.js
View file @
a6914097
...
@@ -60,8 +60,8 @@
...
@@ -60,8 +60,8 @@
});
});
}
}
for
(
i
=
0
;
i
<
element_list
.
length
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
element_list
.
length
;
i
+=
1
)
{
column
=
element_list
[
i
].
getAttribute
(
"
column
"
);
column
=
element_list
[
i
].
getAttribute
(
"
data-
column
"
);
line
=
element_list
[
i
].
getAttribute
(
"
line
"
);
line
=
element_list
[
i
].
getAttribute
(
"
data-
line
"
);
if
(
gadget
.
props
.
listbox_uid_dict
.
key
===
undefined
)
{
if
(
gadget
.
props
.
listbox_uid_dict
.
key
===
undefined
)
{
gadget
.
props
.
listbox_uid_dict
.
key
=
gadget
.
state
.
allDocs_result
.
data
.
rows
[
line
].
value
[
"
listbox_uid:list
"
].
key
;
gadget
.
props
.
listbox_uid_dict
.
key
=
gadget
.
state
.
allDocs_result
.
data
.
rows
[
line
].
value
[
"
listbox_uid:list
"
].
key
;
gadget
.
props
.
listbox_uid_dict
.
value
=
[
gadget
.
state
.
allDocs_result
.
data
.
rows
[
line
].
value
[
"
listbox_uid:list
"
].
value
];
gadget
.
props
.
listbox_uid_dict
.
value
=
[
gadget
.
state
.
allDocs_result
.
data
.
rows
[
line
].
value
[
"
listbox_uid:list
"
].
value
];
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
View file @
a6914097
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.
37896.32571.61832
</string>
</value>
<value>
<string>
961.
56527.16709.20804
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
3406544.43
</float>
<float>
150
6527031.12
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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