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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
erp5
Commits
86102cc6
Commit
86102cc6
authored
Oct 21, 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: added section headers and icons to tabs
parent
c3f8cad0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_html.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_tabpage_html.xml
+9
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_js.xml
...ateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_js.xml
+5
-3
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_html.xml
View file @
86102cc6
...
@@ -123,8 +123,13 @@
...
@@ -123,8 +123,13 @@
<script
src=
"gadget_erp5_page_tab.js"
type=
"text/javascript"
></script>
\n
<script
src=
"gadget_erp5_page_tab.js"
type=
"text/javascript"
></script>
\n
\n
\n
<script
id=
"table-template"
type=
"text/x-handlebars-template"
>
\n
<script
id=
"table-template"
type=
"text/x-handlebars-template"
>
\n
<section
class=
"ui-content-header-plain"
>
\n
<h3
class=
"ui-content-title ui-body-c"
>
\n
<span
class=
"ui-icon ui-icon-custom ui-icon-{{definition_icon}}"
>
</span>
\n
{{definition_title}}\n
</h3>
\n
</section>
\n
<ul
data-role=
"listview"
data-theme=
"c"
data-inset=
"true"
class=
"document-listview"
>
\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
{{#each documentlist}}\n
<li><a
class=
"ui-body-inherit"
href=
"{{link}}"
>
{{title}}
</a></li>
\n
<li><a
class=
"ui-body-inherit"
href=
"{{link}}"
>
{{title}}
</a></li>
\n
{{/each}}\n
{{/each}}\n
...
@@ -257,7 +262,7 @@
...
@@ -257,7 +262,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>
...
@@ -271,7 +276,7 @@
...
@@ -271,7 +276,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
7.54015.61486.15872
</string>
</value>
<value>
<string>
93
8.25853.26425.62054
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -289,7 +294,7 @@
...
@@ -289,7 +294,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
141
1726096.57
</float>
<float>
141
3882117.05
</float>
<string>
GMT
</string>
<string>
GMT
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_js.xml
View file @
86102cc6
...
@@ -189,12 +189,14 @@
...
@@ -189,12 +189,14 @@
\n
\n
gadget.props.element.innerHTML = table_template({\n
gadget.props.element.innerHTML = table_template({\n
definition_title: "Views",\n
definition_title: "Views",\n
definition_icon: "eye",\n
documentlist: [{\n
documentlist: [{\n
title: view_list[0].title,\n
title: view_list[0].title,\n
link: all_result[all_result.length - 1]\n
link: all_result[all_result.length - 1]\n
}]\n
}]\n
}) + table_template({\n
}) + table_template({\n
definition_title: "Editables",\n
definition_title: "Editables",\n
definition_icon: "edit",\n
documentlist: tab_list\n
documentlist: tab_list\n
});\n
});\n
\n
\n
...
@@ -328,7 +330,7 @@
...
@@ -328,7 +330,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>
...
@@ -342,7 +344,7 @@
...
@@ -342,7 +344,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
7.65458.5148.27426
</string>
</value>
<value>
<string>
93
8.218.49333.26675
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -360,7 +362,7 @@
...
@@ -360,7 +362,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
141
2344005.15
</float>
<float>
141
3882038.33
</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