Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
942670b8
Commit
942670b8
authored
Oct 14, 2014
by
Sven Franck
Committed by
Romain Courteaud
Nov 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: wrap module listviews in collapsible set
parent
dbab2ea9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
+17
-12
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.xml
...tem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.xml
+11
-8
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
+6
-4
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_html.xml
View file @
942670b8
...
@@ -124,12 +124,15 @@
...
@@ -124,12 +124,15 @@
\n
\n
<!-- XXX must set theme here! -->
\n
<!-- XXX must set theme here! -->
\n
<script
id=
"table-template"
type=
"text/x-handlebars-template"
>
\n
<script
id=
"table-template"
type=
"text/x-handlebars-template"
>
\n
<ul
data-role=
"listview"
data-theme=
"c"
data-inset=
"true"
class=
"document-listview"
>
\n
<div
data-role=
"collapsible"
>
\n
<li
data-role=
"list-divider"
><h1>
{{definition_title}}
</h1></li>
\n
<h3>
{{definition_title}}
</h3>
\n
{{#each documentlist}}\n
<ul
data-role=
"listview"
data-theme=
"c"
class=
"document-listview ui-corner-all"
>
\n
<li><a
class=
"ui-body-inherit"
href=
"{{link}}"
>
{{title}}
</a></li>
\n
<!--<li data-role="list-divider"><h1>{{definition_title}}</h1></li>-->
\n
{{/each}}\n
{{#each documentlist}}\n
</ul>
\n
<li><a
class=
"ui-body-inherit"
href=
"{{link}}"
>
{{title}}
</a></li>
\n
{{/each}}\n
</ul>
\n
</div>
\n
</script>
\n
</script>
\n
\n
\n
</head>
\n
</head>
\n
...
@@ -273,7 +276,7 @@
...
@@ -273,7 +276,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
7.51130.19006.10035
</string>
</value>
<value>
<string>
93
8.16173.13985.45960
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -291,7 +294,7 @@
...
@@ -291,7 +294,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
141
1573263.53
</float>
<float>
141
3301675.99
</float>
<string>
GMT
</string>
<string>
GMT
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
View file @
942670b8
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
business_application_list = [],\n
business_application_list = [],\n
business_application,\n
business_application,\n
module_info,\n
module_info,\n
result_html =
""
,\n
result_html =
\'<div data-role="collapsible-set" data-theme="c">
\'
,\n
doc;\n
doc;\n
for (i = 0; i
< document_list.length
;
i
+=
1)
{\n
for (i = 0; i
< document_list.length
;
i
+=
1)
{\n
doc =
document_list[i];\n
doc =
document_list[i];\n
...
@@ -215,12 +215,14 @@
...
@@ -215,12 +215,14 @@
for (i = 0; i
< business_application_list.length
;
i
+=
1)
{\n
for (i = 0; i
< business_application_list.length
;
i
+=
1)
{\n
business_application =
business_application_list[i];\n
business_application =
business_application_list[i];\n
business_application_dict[business_application].sort(sort_module);\n
business_application_dict[business_application].sort(sort_module);\n
\n
result_html
+=
table_template({\n
result_html
+=
table_template({\n
definition_title:
business_application,\n
definition_title:
business_application,\n
documentlist:
business_application_dict[business_application]\n
documentlist:
business_application_dict[business_application]\n
});\n
});\n
}\n
}\n
\n
\n
result_html
+=
\'</div
>
\';\n
\n
\n
gadget.props.element.querySelector(\'.document_list\').innerHTML = result_html;\n
gadget.props.element.querySelector(\'.document_list\').innerHTML = result_html;\n
});\n
});\n
...
@@ -348,7 +350,7 @@
...
@@ -348,7 +350,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romai
n
</string>
</value>
<value>
<string>
sve
n
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -362,7 +364,7 @@
...
@@ -362,7 +364,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
7.43885.22553.46165
</string>
</value>
<value>
<string>
93
8.16182.63738.26641
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -380,7 +382,7 @@
...
@@ -380,7 +382,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
141
1461029.62
</float>
<float>
141
3301956.28
</float>
<string>
GMT
</string>
<string>
GMT
</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