Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
7881c2b0
Commit
7881c2b0
authored
Nov 22, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Logout: remove handlebars dependency
parent
eca65602
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
31 deletions
+18
-31
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_html.html
...m/web_page_module/rjs_gadget_erp5_pt_logoutform_html.html
+9
-13
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_html.xml
...em/web_page_module/rjs_gadget_erp5_pt_logoutform_html.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.js
...eItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.js
+5
-14
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.xml
...Item/web_page_module/rjs_gadget_erp5_pt_logoutform_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_html.html
View file @
7881c2b0
...
...
@@ -13,24 +13,20 @@
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"jiodev.js"
type=
"text/javascript"
></script>
<script
src=
"handlebars.js"
type=
"text/javascript"
></script>
<script
id=
"form-template"
type=
"text/x-handlebars-template"
>
<
article
>
<
section
>
<
form
>
<
input
type
=
"
submit
"
value
=
"
{{button_text}}
"
/>
<
/form
>
<
/section
>
<
/article
>
</script>
<!-- custom script -->
<script
src=
"gadget_erp5_page_logout.js"
type=
"text/javascript"
></script>
</head>
<body>
<article>
<section>
<form>
<input
type=
"submit"
/>
</form>
</section>
</article>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_html.xml
View file @
7881c2b0
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
0.13790.51027.29644
</string>
</value>
<value>
<string>
97
1.52441.15467.16503
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
15
37198030.99
</float>
<float>
15
42905896.75
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.js
View file @
7881c2b0
/*global window, rJS, UriTemplate
, Handlebars
*/
/*global window, rJS, UriTemplate */
/*jslint indent: 2, maxerr: 3, nomen: true */
(
function
(
window
,
rJS
,
UriTemplate
,
Handlebars
)
{
(
function
(
window
,
rJS
,
UriTemplate
)
{
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
),
form_template
=
Handlebars
.
compile
(
gadget_klass
.
__template_element
.
getElementById
(
"
form-template
"
)
.
innerHTML
);
gadget_klass
rJS
(
window
)
/////////////////////////////////////////////////////////////////
// handle acquisition
/////////////////////////////////////////////////////////////////
...
...
@@ -45,9 +38,7 @@
return
gadget
.
translate
(
'
Confirm
'
);
})
.
push
(
function
(
translated_text
)
{
gadget
.
element
.
innerHTML
=
form_template
({
button_text
:
translated_text
});
gadget
.
element
.
querySelector
(
'
input
'
).
value
=
translated_text
;
});
})
...
...
@@ -76,4 +67,4 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
;
});
}(
window
,
rJS
,
UriTemplate
,
Handlebars
));
\ No newline at end of file
}(
window
,
rJS
,
UriTemplate
));
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_logoutform_js.xml
View file @
7881c2b0
...
...
@@ -230,7 +230,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
68.45482.36373.28842
</string>
</value>
<value>
<string>
9
71.7721.48108.61320
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>
15
36227235.47
</float>
<float>
15
42905890.66
</float>
<string>
UTC
</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