Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Carlos Ramos Carreño
erp5
Commits
86102cc6
Commit
86102cc6
authored
10 years ago
by
Sven Franck
Committed by
Romain Courteaud
10 years ago
Browse files
Options
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 @@
<script
src=
"gadget_erp5_page_tab.js"
type=
"text/javascript"
></script>
\n
\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
<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
...
...
@@ -257,7 +262,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>
...
...
@@ -271,7 +276,7 @@
</item>
<item>
<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>
<key>
<string>
state
</string>
</key>
...
...
@@ -289,7 +294,7 @@
</tuple>
<state>
<tuple>
<float>
141
1726096.57
</float>
<float>
141
3882117.05
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_tabpage_js.xml
View file @
86102cc6
...
...
@@ -189,12 +189,14 @@
\n
gadget.props.element.innerHTML = table_template({\n
definition_title: "Views",\n
definition_icon: "eye",\n
documentlist: [{\n
title: view_list[0].title,\n
link: all_result[all_result.length - 1]\n
}]\n
}) + table_template({\n
definition_title: "Editables",\n
definition_icon: "edit",\n
documentlist: tab_list\n
});\n
\n
...
...
@@ -328,7 +330,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>
...
...
@@ -342,7 +344,7 @@
</item>
<item>
<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>
<key>
<string>
state
</string>
</key>
...
...
@@ -360,7 +362,7 @@
</tuple>
<state>
<tuple>
<float>
141
2344005.15
</float>
<float>
141
3882038.33
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
This diff is collapsed.
Click to expand it.
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