Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
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 @@
\n
<!-- XXX must set theme here! -->
\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
<li
data-role=
"list-divider"
><h1>
{{definition_title}}
</h1></li>
\n
{{#each documentlist}}\n
<li><a
class=
"ui-body-inherit"
href=
"{{link}}"
>
{{title}}
</a></li>
\n
{{/each}}\n
</ul>
\n
<div
data-role=
"collapsible"
>
\n
<h3>
{{definition_title}}
</h3>
\n
<ul
data-role=
"listview"
data-theme=
"c"
class=
"document-listview ui-corner-all"
>
\n
<!--<li data-role="list-divider"><h1>{{definition_title}}</h1></li>-->
\n
{{#each documentlist}}\n
<li><a
class=
"ui-body-inherit"
href=
"{{link}}"
>
{{title}}
</a></li>
\n
{{/each}}\n
</ul>
\n
</div>
\n
</script>
\n
\n
</head>
\n
...
...
@@ -273,7 +276,7 @@
</item>
<item>
<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>
<key>
<string>
state
</string>
</key>
...
...
@@ -291,7 +294,7 @@
</tuple>
<state>
<tuple>
<float>
141
1573263.53
</float>
<float>
141
3301675.99
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
View file @
942670b8
...
...
@@ -168,7 +168,7 @@
business_application_list = [],\n
business_application,\n
module_info,\n
result_html =
""
,\n
result_html =
\'<div data-role="collapsible-set" data-theme="c">
\'
,\n
doc;\n
for (i = 0; i
< document_list.length
;
i
+=
1)
{\n
doc =
document_list[i];\n
...
...
@@ -215,12 +215,14 @@
for (i = 0; i
< business_application_list.length
;
i
+=
1)
{\n
business_application =
business_application_list[i];\n
business_application_dict[business_application].sort(sort_module);\n
\n
result_html
+=
table_template({\n
definition_title:
business_application,\n
documentlist:
business_application_dict[business_application]\n
});\n
}\n
\n
result_html
+=
\'</div
>
\';\n
\n
gadget.props.element.querySelector(\'.document_list\').innerHTML = result_html;\n
});\n
...
...
@@ -348,7 +350,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romai
n
</string>
</value>
<value>
<string>
sve
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -362,7 +364,7 @@
</item>
<item>
<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>
<key>
<string>
state
</string>
</key>
...
...
@@ -380,7 +382,7 @@
</tuple>
<state>
<tuple>
<float>
141
1461029.62
</float>
<float>
141
3301956.28
</float>
<string>
GMT
</string>
</tuple>
</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