Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
erp5
Commits
6cea93ba
Commit
6cea93ba
authored
Oct 30, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Panel: remove handlebars dependency
parent
76a7427d
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
138 additions
and
179 deletions
+138
-179
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.html
...plateItem/web_page_module/rjs_gadget_erp5_panel_html.html
+19
-47
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
...mplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.js
...hTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.js
+115
-128
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
...TemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.html
View file @
6cea93ba
...
@@ -7,15 +7,30 @@
...
@@ -7,15 +7,30 @@
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"interface_panel.html"
>
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"interface_panel.html"
>
<!--
<!--
data-i18n=Editable
data-i18n=Editable
data-i18n=Home
data-i18n=Modules
data-i18n=Worklists
data-i18n=History
data-i18n=Search
data-i18n=Preferences
data-i18n=Logout
data-i18n=Views
data-i18n=Workflows
data-i18n=Actions
-->
-->
<!-- renderjs -->
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"handlebars.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_global.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_global.js"
type=
"text/javascript"
></script>
<script
id=
"panel-template-header"
type=
"text/x-handlebars-template"
>
<!-- custom script -->
<script
src=
"gadget_erp5_global.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_erp5_panel.js"
type=
"text/javascript"
></script>
</head>
<body>
<div>
<div
data-role=
"header"
>
<div
data-role=
"header"
>
<div
class=
"ui-btn-left"
>
<div
class=
"ui-btn-left"
>
<div
class=
"ui-controlgroup-controls"
>
<div
class=
"ui-controlgroup-controls"
>
...
@@ -26,9 +41,6 @@
...
@@ -26,9 +41,6 @@
<img
alt=
"ERP5"
src=
"gadget_erp5_panel.png?format=png"
/>
<img
alt=
"ERP5"
src=
"gadget_erp5_panel.png?format=png"
/>
</div>
</div>
</div>
</div>
</script>
<script
id=
"panel-template-body"
type=
"text/x-handlebars-template"
>
<div>
<div>
<form>
<form>
...
@@ -39,51 +51,11 @@
...
@@ -39,51 +51,11 @@
</form>
</form>
<ul></ul>
<ul></ul>
<
div
data
-
gadget
-
url
=
"
gadget_erp5_field_checkbox.html
"
<div
data-gadget-url=
"gadget_erp5_field_
multi
checkbox.html"
data-gadget-scope=
"erp5_checkbox"
data-gadget-scope=
"erp5_checkbox"
data-gadget-sandbox=
"public"
></div>
data-gadget-sandbox=
"public"
></div>
<dl></dl>
<dl></dl>
</div>
</div>
</script>
</div>
<script
id=
"panel-template-body-list"
type=
"text/x-handlebars-template"
>
<
li
><
a
href
=
"
{{front_href}}
"
class
=
"
ui-btn-icon-left ui-icon-home
"
data
-
i18n
=
"
Home
"
>
Home
<
/a></
li
>
<
li
><
a
href
=
"
{{module_href}}
"
class
=
"
ui-btn-icon-left ui-icon-puzzle-piece
"
data
-
i18n
=
"
Modules
"
accesskey
=
"
m
"
>
Modules
<
/a></
li
>
<
li
><
a
href
=
"
{{worklist_href}}
"
class
=
"
ui-btn-icon-left ui-icon-tasks
"
data
-
i18n
=
"
Worklists
"
accesskey
=
"
w
"
>
Worklists
<
/a></
li
>
<
li
><
a
href
=
"
{{history_href}}
"
class
=
"
ui-btn-icon-left ui-icon-history
"
data
-
i18n
=
"
History
"
accesskey
=
"
h
"
>
History
<
/a></
li
>
<
li
><
a
href
=
"
{{search_href}}
"
class
=
"
ui-btn-icon-left ui-icon-search
"
data
-
i18n
=
"
Search
"
accesskey
=
"
s
"
>
Search
<
/a></
li
>
<
li
><
a
href
=
"
{{preference_href}}
"
class
=
"
ui-btn-icon-left ui-icon-sliders
"
data
-
i18n
=
"
Preferences
"
>
Preferences
<
/a></
li
>
<
li
><
a
href
=
"
{{logout_href}}
"
class
=
"
ui-btn-icon-left ui-icon-power-off
"
data
-
i18n
=
"
Logout
"
accesskey
=
"
o
"
>
Logout
<
/a></
li
>
</script>
<script
id=
"panel-template-body-desktop"
type=
"text/x-handlebars-template"
>
<
dt
class
=
"
ui-btn-icon-left ui-icon-eye
"
data
-
i18n
=
"
Views
"
>
Views
<
/dt
>
{{
#
each
view_list
}}
<
dd
class
=
"
document-listview
"
>
<
a
class
=
"
{{class_name}}
"
href
=
"
{{href}}
"
>
{{
title
}}
<
/a
>
<
/dd
>
{{
/
each
}}
<
dt
class
=
"
ui-btn-icon-left ui-icon-random
"
data
-
i18n
=
"
Workflows
"
>
Workflows
<
/dt
>
{{
#
each
workflow_list
}}
<
dd
class
=
"
document-listview
"
>
<
a
class
=
"
{{class_name}}
"
href
=
"
{{href}}
"
>
{{
title
}}
<
/a
>
<
/dd
>
{{
/
each
}}
<
dt
class
=
"
ui-btn-icon-left ui-icon-cogs
"
data
-
i18n
=
"
Actions
"
>
Actions
<
/dt
>
{{
#
each
action_list
}}
<
dd
class
=
"
document-listview
"
>
<
a
class
=
"
{{class_name}}
"
href
=
"
{{href}}
"
>
{{
title
}}
<
/a
>
<
/dd
>
{{
/
each
}}
</script>
<!-- custom script -->
<script
src=
"gadget_erp5_global.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_erp5_panel.js"
type=
"text/javascript"
></script>
</head>
<body>
<div></div>
</body>
</body>
</html>
</html>
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
View file @
6cea93ba
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
0.25260.56659.16554
</string>
</value>
<value>
<string>
97
1.20312.1477.42820
</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>
15
37454742.32
</float>
<float>
15
40979971.49
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.js
View file @
6cea93ba
This diff is collapsed.
Click to expand it.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
View file @
6cea93ba
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
971.
19133.62867.18210
</string>
</value>
<value>
<string>
971.
20534.9804.61201
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
154
0909039.27
</float>
<float>
154
1603920.02
</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