Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Thomas Gambier
slapos.core
Commits
2a242387
Commit
2a242387
authored
Feb 14, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP slapos_jio: translate hostingjs site in Chinese
parent
80c5bf8f
Changes
69
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
69 changed files
with
1166 additions
and
409 deletions
+1166
-409
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_html.html
..._module/rjs_gadget_erp5_page_slap_computer_list_html.html
+5
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_html.xml
...e_module/rjs_gadget_erp5_page_slap_computer_list_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_js.js
...page_module/rjs_gadget_erp5_page_slap_computer_list_js.js
+23
-16
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_js.xml
...age_module/rjs_gadget_erp5_page_slap_computer_list_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_html.html
...e_module/rjs_gadget_erp5_page_slap_invoice_list_html.html
+6
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_html.xml
...ge_module/rjs_gadget_erp5_page_slap_invoice_list_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_js.js
..._page_module/rjs_gadget_erp5_page_slap_invoice_list_js.js
+27
-17
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_js.xml
...page_module/rjs_gadget_erp5_page_slap_invoice_list_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_html.html
...e_module/rjs_gadget_erp5_page_slap_network_list_html.html
+4
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_html.xml
...ge_module/rjs_gadget_erp5_page_slap_network_list_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_js.js
..._page_module/rjs_gadget_erp5_page_slap_network_list_js.js
+23
-15
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_js.xml
...page_module/rjs_gadget_erp5_page_slap_network_list_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_html.html
...ule/rjs_gadget_erp5_page_slap_organisation_view_html.html
+4
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_html.xml
...dule/rjs_gadget_erp5_page_slap_organisation_view_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_js.js
..._module/rjs_gadget_erp5_page_slap_organisation_view_js.js
+25
-14
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_js.xml
...module/rjs_gadget_erp5_page_slap_organisation_view_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_html.html
...rjs_gadget_erp5_page_slap_person_add_erp5_login_html.html
+6
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_html.xml
.../rjs_gadget_erp5_page_slap_person_add_erp5_login_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_js.js
...ule/rjs_gadget_erp5_page_slap_person_add_erp5_login_js.js
+31
-16
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_js.xml
...le/rjs_gadget_erp5_page_slap_person_add_erp5_login_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_html.html
...s_gadget_erp5_page_slap_person_add_organisation_html.html
+5
-0
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_html.xml
...js_gadget_erp5_page_slap_person_add_organisation_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_js.js
...e/rjs_gadget_erp5_page_slap_person_add_organisation_js.js
+17
-9
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_js.xml
.../rjs_gadget_erp5_page_slap_person_add_organisation_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_html.html
...ge_module/rjs_gadget_erp5_page_slap_person_view_html.html
+12
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_html.xml
...age_module/rjs_gadget_erp5_page_slap_person_view_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_js.js
...b_page_module/rjs_gadget_erp5_page_slap_person_view_js.js
+57
-34
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_js.xml
..._page_module/rjs_gadget_erp5_page_slap_person_view_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_html.html
...e_module/rjs_gadget_erp5_page_slap_project_list_html.html
+4
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_html.xml
...ge_module/rjs_gadget_erp5_page_slap_project_list_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_js.js
..._page_module/rjs_gadget_erp5_page_slap_project_list_js.js
+21
-12
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_js.xml
...page_module/rjs_gadget_erp5_page_slap_project_list_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.html
...s_gadget_erp5_page_slap_select_software_product_html.html
+4
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.xml
...js_gadget_erp5_page_slap_select_software_product_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.js
...e/rjs_gadget_erp5_page_slap_select_software_product_js.js
+24
-15
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.xml
.../rjs_gadget_erp5_page_slap_select_software_product_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_html.html
...e_module/rjs_gadget_erp5_page_slap_service_list_html.html
+4
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_html.xml
...ge_module/rjs_gadget_erp5_page_slap_service_list_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_js.js
..._page_module/rjs_gadget_erp5_page_slap_service_list_js.js
+23
-15
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_js.xml
...page_module/rjs_gadget_erp5_page_slap_service_list_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_html.html
...page_module/rjs_gadget_erp5_page_slap_site_list_html.html
+5
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_html.xml
..._page_module/rjs_gadget_erp5_page_slap_site_list_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_js.js
...web_page_module/rjs_gadget_erp5_page_slap_site_list_js.js
+110
-87
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_js.xml
...eb_page_module/rjs_gadget_erp5_page_slap_site_list_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_html.html
...ge_module/rjs_gadget_erp5_page_slap_ticket_list_html.html
+4
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_html.xml
...age_module/rjs_gadget_erp5_page_slap_ticket_list_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.js
...b_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.js
+16
-9
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.xml
..._page_module/rjs_gadget_erp5_page_slap_ticket_list_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_html.html
...tem/web_page_module/rjs_gadget_erp5_page_slapos_html.html
+9
-3
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_html.xml
...Item/web_page_module/rjs_gadget_erp5_page_slapos_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.js
...ateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.js
+52
-29
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.xml
...teItem/web_page_module/rjs_gadget_erp5_page_slapos_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_appcache.xml
...mplateItem/web_page_module/rjs_gadget_slapos_appcache.xml
+6
-6
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_header_html.html
...teItem/web_page_module/rjs_gadget_slapos_header_html.html
+36
-19
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_header_html.xml
...ateItem/web_page_module/rjs_gadget_slapos_header_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_html.html
...ateItem/web_page_module/rjs_gadget_slapos_panel_html.html
+14
-1
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_html.xml
...lateItem/web_page_module/rjs_gadget_slapos_panel_html.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.js
.../web_page_module/rjs_gadget_slapos_translation_data_js.js
+340
-0
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.xml
...web_page_module/rjs_gadget_slapos_translation_data_js.xml
+12
-11
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_html.html
...m/web_page_module/rjs_gadget_slapos_translation_html.html
+20
-0
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_html.xml
...em/web_page_module/rjs_gadget_slapos_translation_html.xml
+117
-0
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs.xml
...slapos_jio/PathTemplateItem/web_site_module/hostingjs.xml
+32
-3
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/feed.xml
...s_jio/PathTemplateItem/web_site_module/hostingjs/feed.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/hateoas.xml
...io/PathTemplateItem/web_site_module/hostingjs/hateoas.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/trial.xml
..._jio/PathTemplateItem/web_site_module/hostingjs/trial.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/unsafe.xml
...jio/PathTemplateItem/web_site_module/hostingjs/unsafe.xml
+2
-2
master/bt5/slapos_jio/bt/dependency_list
master/bt5/slapos_jio/bt/dependency_list
+1
-1
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
...jio/bt/template_keep_last_workflow_history_only_path_list
+1
-1
master/bt5/slapos_jio/bt/template_path_list
master/bt5/slapos_jio/bt/template_path_list
+2
-1
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Reference
data-i18n=Allocation Scope
data-i18n=Status
data-i18n=Servers
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.57354.18371.5888
</string>
</value>
<value>
<string>
9
80.36988.11538.20002
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
08415987.5
</float>
<float>
15
81615033.79
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_js.js
View file @
2a242387
...
...
@@ -13,6 +13,7 @@
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
...
...
@@ -57,30 +58,36 @@
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
,
default_strict_allocation_scope_uid
,
lines_limit
;
lines_limit
,
servers_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
),
gadget
.
jio_get
(
"
portal_categories/allocation_scope/close/forever
"
)
gadget
.
jio_get
(
"
portal_categories/allocation_scope/close/forever
"
),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Reference
"
),
gadget
.
translate
(
"
Allocation Scope
"
),
gadget
.
translate
(
"
Status
"
),
gadget
.
translate
(
"
Servers
"
)
]);
})
.
push
(
function
(
result
)
{
lines_limit
=
result
[
0
];
default_strict_allocation_scope_uid
=
result
[
1
].
uid
;
return
gadget
.
getDeclaredGadget
(
'
form_list
'
);
})
.
push
(
function
(
form_list
)
{
var
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
reference
'
,
'
Reference
'
],
[
'
allocation_scope_title
'
,
'
Allocation Scope
'
],
[
'
Computer_getNewsDict
'
,
'
Status
'
]
];
[
'
title
'
,
result
[
3
]],
[
'
reference
'
,
result
[
4
]],
[
'
allocation_scope_title
'
,
result
[
5
]],
[
'
Computer_getNewsDict
'
,
result
[
6
]]
],
form_list
=
result
[
0
];
lines_limit
=
result
[
1
];
default_strict_allocation_scope_uid
=
result
[
2
].
uid
;
servers_translation
=
result
[
7
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -99,7 +106,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
"
Servers
"
,
"
title
"
:
servers_translation
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -123,7 +130,7 @@
jio_key
:
"
computer_module
"
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slap_add_computer
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
page
:
"
slap_computer_get_token
"
}}),
...
...
@@ -133,7 +140,7 @@
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Servers
"
,
page_title
:
servers_translation
,
token_url
:
result
[
1
],
selection_url
:
result
[
2
],
filter_action
:
true
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_list_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
74.61498.11899.44253
</string>
</value>
<value>
<string>
9
80.3967.45207.31880
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
54901061.
9
</float>
<float>
15
81614996.5
9
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Date
data-i18n=Price
data-i18n=Currency
data-i18n=Payment
data-i18n=Download
data-i18n=Invoices
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.57216.18037.29013
</string>
</value>
<value>
<string>
9
80.36988.11538.20002
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
08407708.9
</float>
<float>
15
81614039.46
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_js.js
View file @
2a242387
...
...
@@ -12,6 +12,7 @@
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
...
...
@@ -92,26 +93,35 @@
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
,
lines_limit
;
lines_limit
,
invoices_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
);
})
.
push
(
function
(
listbox_lines_limit
)
{
lines_limit
=
listbox_lines_limit
;
return
gadget
.
getDeclaredGadget
(
'
form_list
'
);
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
),
gadget
.
translate
(
"
Date
"
),
gadget
.
translate
(
"
Price
"
),
gadget
.
translate
(
"
Currency
"
),
gadget
.
translate
(
"
Payment
"
),
gadget
.
translate
(
"
Download
"
),
gadget
.
translate
(
"
Invoices
"
)
]);
})
.
push
(
function
(
form_lis
t
)
{
.
push
(
function
(
resul
t
)
{
var
column_list
=
[
[
'
start_date
'
,
'
Date
'
],
[
'
total_price
'
,
'
Price
'
],
[
'
resource_reference
'
,
'
Currency
'
],
[
'
translated_simulation_state_title
'
,
'
Payment
'
],
[
'
download
'
,
'
Download
'
]
];
[
'
start_date
'
,
result
[
2
]],
[
'
total_price
'
,
result
[
3
]],
[
'
resource_reference
'
,
result
[
4
]],
[
'
translated_simulation_state_title
'
,
result
[
5
]],
[
'
download
'
,
result
[
6
]]
],
form_list
=
result
[
0
];
lines_limit
=
result
[
1
];
invoices_translation
=
result
[
7
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -130,7 +140,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
creation_date
"
,
"
descending
"
]],
"
title
"
:
"
Invoices
"
,
"
title
"
:
invoices_translation
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -154,14 +164,14 @@
jio_key
:
"
accounting_module
"
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slapos
"
}})
]);
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Invoices
"
,
page_title
:
invoices_translation
,
selection_url
:
result
[
0
],
filter_action
:
true
});
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
74.61498.36227.27835
</string>
</value>
<value>
<string>
9
81.53734.45184.6621
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
54901051.44
</float>
<float>
15
81613848.42
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Reference
data-i18n=Status
data-i18n=Networks
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.57355.44771.45687
</string>
</value>
<value>
<string>
9
80.36988.11538.20002
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
08416076.67
</float>
<float>
15
81615268.76
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_js.js
View file @
2a242387
...
...
@@ -12,6 +12,7 @@
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
...
...
@@ -55,24 +56,31 @@
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
,
lines_limit
;
lines_limit
,
networks_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
);
})
.
push
(
function
(
listbox_lines_limit
)
{
lines_limit
=
listbox_lines_limit
;
return
gadget
.
getDeclaredGadget
(
'
form_list
'
);
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Reference
"
),
gadget
.
translate
(
"
Status
"
),
gadget
.
translate
(
"
Networks
"
)
]);
})
.
push
(
function
(
form_lis
t
)
{
.
push
(
function
(
resul
t
)
{
var
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
reference
'
,
'
Reference
'
],
[
'
ComputerNetwork_getNewsDict
'
,
'
Status
'
]
];
[
'
title
'
,
result
[
2
]],
[
'
reference
'
,
result
[
3
]],
[
'
ComputerNetwork_getNewsDict
'
,
result
[
4
]]
],
form_list
=
result
[
0
];
lines_limit
=
result
[
1
];
networks_translation
=
result
[
5
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -92,7 +100,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
reference
"
,
"
ascending
"
]],
"
title
"
:
"
Networks
"
,
"
title
"
:
networks_translation
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -116,7 +124,7 @@
jio_key
:
"
computer_network_module
"
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slap_add_network
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slapos
"
}})
...
...
@@ -124,7 +132,7 @@
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Networks
"
,
page_title
:
networks_translation
,
filter_action
:
true
,
selection_url
:
result
[
1
],
add_url
:
result
[
0
]
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_network_list_js.xml
View file @
2a242387
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
74.61513.15083.40157
</string>
</value>
<value>
<string>
9
81.53757.50718.33655
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
15
54901041.21
</float>
<float>
15
81615233.75
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Data updated
data-i18n=Title
data-i18n=Email
data-i18n=Organisation
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.59091.25023.39253
</string>
</value>
<value>
<string>
9
80.36988.11538.20002
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
08520213.46
</float>
<float>
15
81688268.04
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_js.js
View file @
2a242387
/*global window, rJS, RSVP
, jIO, Blob
*/
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
,
jIO
,
Blob
)
{
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
rJS
(
window
)
...
...
@@ -17,6 +17,7 @@
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
/////////////////////////////////////////////////////////////////
// declared methods
...
...
@@ -34,7 +35,7 @@
var
gadget
=
this
;
return
gadget
.
jio_allDocs
(
param_list
[
0
])
.
push
(
function
(
result
)
{
var
i
,
value
,
jio_key_value
,
len
=
result
.
data
.
total_rows
;
var
i
,
value
,
len
=
result
.
data
.
total_rows
;
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
title
"
)))
{
value
=
result
.
data
.
rows
[
i
].
value
.
title
;
...
...
@@ -85,7 +86,10 @@
return
gadget
.
updateDocument
(
content
);
})
.
push
(
function
()
{
return
gadget
.
notifySubmitted
({
message
:
'
Data updated.
'
,
status
:
'
success
'
});
return
gadget
.
translate
(
'
Data updated
'
);
})
.
push
(
function
(
result
)
{
return
gadget
.
notifySubmitted
({
message
:
result
,
status
:
'
success
'
});
});
})
...
...
@@ -94,26 +98,33 @@
})
.
onStateChange
(
function
()
{
var
gadget
=
this
,
data
;
var
gadget
=
this
,
organisation_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_view
'
),
gadget
.
getSetting
(
"
hateoas_url
"
)
gadget
.
getSetting
(
"
hateoas_url
"
),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Email
"
),
gadget
.
translate
(
"
Reference
"
),
gadget
.
translate
(
"
Associated Persons
"
),
gadget
.
translate
(
"
Organisation
"
)
]);
})
.
push
(
function
(
result
)
{
var
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
default_email_text
'
,
'
Email
'
]
[
'
title
'
,
result
[
2
]
],
[
'
default_email_text
'
,
result
[
3
]
]
],
editable
=
gadget
.
state
.
editable
;
organisation_translation
=
result
[
6
];
return
result
[
0
].
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
my_title
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Title
"
,
"
title
"
:
result
[
2
]
,
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -124,7 +135,7 @@
},
"
my_reference
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Reference
"
,
"
title
"
:
result
[
4
]
,
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -150,7 +161,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
"
Associated Persons
"
,
"
title
"
:
result
[
5
]
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -183,7 +194,7 @@
.
push
(
function
(
url_list
)
{
var
header_dict
=
{
selection_url
:
url_list
[
1
],
page_title
:
"
Organisation
:
"
+
gadget
.
state
.
doc
.
title
,
page_title
:
organisation_translation
+
"
:
"
+
gadget
.
state
.
doc
.
title
,
delete_url
:
url_list
[
2
],
invitation_url
:
url_list
[
3
],
save_action
:
true
...
...
@@ -194,4 +205,4 @@
return
gadget
.
updateHeader
(
header_dict
);
});
});
}(
window
,
rJS
,
RSVP
,
jIO
,
Blob
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
76.51816.56601.2689
7
</string>
</value>
<value>
<string>
9
81.55007.2386.6232
7
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
62012361.29
</float>
<float>
15
81692426.72
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Password is different from confirmation
data-i18n=New User Login created
data-i18n=Login Name
data-i18n=Password
data-i18n=Confirm your Password
data-i18n=Add New User Login
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_html.xml
View file @
2a242387
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
76.3557.5699.51524
</string>
</value>
<value>
<string>
9
81.54798.39582.64972
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>
15
59201605.46
</float>
<float>
15
81688625.32
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_js.js
View file @
2a242387
...
...
@@ -15,6 +15,7 @@
.
declareAcquiredMethod
(
"
jio_putAttachment
"
,
"
jio_putAttachment
"
)
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
/////////////////////////////////////////////////////////////////
// declared methods
...
...
@@ -31,17 +32,24 @@
return
gadget
.
getDeclaredGadget
(
'
form_view
'
);
})
.
push
(
function
(
form_gadget
)
{
return
form_gadget
.
getContent
();
return
RSVP
.
all
([
form_gadget
.
getContent
(),
gadget
.
translate
(
"
Password is different from confirmation
"
),
gadget
.
translate
(
"
New User Login created
"
)
]);
})
.
push
(
function
(
content
)
{
var
k
;
.
push
(
function
(
result
)
{
var
k
,
content
=
result
[
0
];
for
(
k
in
content
)
{
if
(
content
.
hasOwnProperty
(
k
))
{
if
(
k
!==
"
password_confirmation
"
)
{
doc
[
k
]
=
content
[
k
];
}
if
((
k
===
"
password_confirmation
"
)
&&
(
content
.
password
!==
content
.
password_confirmation
))
{
return
gadget
.
notifySubmitted
({
message
:
'
Password is different from confirmation
'
,
status
:
'
error
'
});
return
gadget
.
notifySubmitted
({
message
:
result
[
1
],
status
:
'
error
'
});
}
}
}
return
gadget
.
getSetting
(
"
hateoas_url
"
)
...
...
@@ -49,7 +57,7 @@
return
gadget
.
jio_putAttachment
(
content
.
parent_relative_url
,
hateoas_url
+
gadget
.
state
.
jio_key
+
"
/Person_newLogin
"
,
doc
)
.
push
(
function
()
{
return
gadget
.
notifySubmitted
({
message
:
'
New User Login created.
'
,
status
:
'
success
'
});
return
gadget
.
notifySubmitted
({
message
:
result
[
2
]
,
status
:
'
success
'
});
})
.
push
(
function
()
{
return
gadget
.
redirect
({
"
command
"
:
"
change
"
,
...
...
@@ -63,22 +71,29 @@
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
var
gadget
=
this
,
page_title_translation
;
gadget
.
state
.
jio_key
=
options
.
jio_key
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_view
'
)
gadget
.
getDeclaredGadget
(
'
form_view
'
),
// XXXX use getTranslationList when ERP5 will be upgraded
gadget
.
translate
(
"
Login Name
"
),
gadget
.
translate
(
"
Password
"
),
gadget
.
translate
(
"
Confirm your Password
"
),
gadget
.
translate
(
"
Add New User Login
"
)
]);
})
.
push
(
function
(
result
)
{
page_title_translation
=
result
[
4
];
return
result
[
0
].
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
my_reference
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Login Name
"
,
"
title
"
:
result
[
1
]
,
"
default
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -89,7 +104,7 @@
},
"
my_new_password
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Password
"
,
"
title
"
:
result
[
2
]
,
"
default
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -100,7 +115,7 @@
},
"
my_confirmation_password
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Confirm your Password
"
,
"
title
"
:
result
[
3
]
,
"
default
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -154,7 +169,7 @@
})
.
push
(
function
(
url_list
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Add New User Login
"
,
page_title
:
page_title_translation
,
selection_url
:
url_list
[
0
],
submit_action
:
true
});
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_erp5_login_js.xml
View file @
2a242387
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
76.5545.8476.36522
</string>
</value>
<value>
<string>
9
81.54984.13404.50141
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
15
59514750.72
</float>
<float>
15
81688830.01
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_html.html
View file @
2a242387
<!doctype html>
<html>
<!--
data-i18n=New organisation created
data-i18n=Title
data-i18n=New Organisation
-->
<head>
<meta
charset=
"utf-8"
>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_html.xml
View file @
2a242387
...
...
@@ -276,7 +276,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
76.40551.4801.13755
</string>
</value>
<value>
<string>
9
80.36988.11538.20002
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -294,7 +294,7 @@
</tuple>
<state>
<tuple>
<float>
15
61421236.39
</float>
<float>
15
81687090.07
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_js.js
View file @
2a242387
...
...
@@ -20,6 +20,7 @@
.
declareAcquiredMethod
(
"
jio_post
"
,
"
jio_post
"
)
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
/////////////////////////////////////////////////////////////////
// declared methods
...
...
@@ -41,14 +42,17 @@
if
(
content_type
.
hasOwnProperty
(
doc
.
portal_type
))
{
doc
.
content_type
=
content_type
[
doc
.
portal_type
];
}
return
gadget
.
jio_post
(
doc
);
return
RSVP
.
all
([
gadget
.
jio_post
(
doc
),
gadget
.
translate
(
"
New organisation created
"
)
]);
})
.
push
(
function
(
key
)
{
return
gadget
.
notifySubmitted
({
message
:
'
New Organisation created.
'
,
status
:
'
success
'
})
.
push
(
function
(
result
)
{
return
gadget
.
notifySubmitted
({
message
:
result
[
1
]
,
status
:
'
success
'
})
.
push
(
function
()
{
// Workaround, find a way to open document without break gadget.
return
gadget
.
redirect
({
"
command
"
:
"
change
"
,
"
options
"
:
{
"
jio_key
"
:
key
,
"
page
"
:
"
slap_controller
"
}});
"
options
"
:
{
"
jio_key
"
:
result
[
0
]
,
"
page
"
:
"
slap_controller
"
}});
});
});
})
...
...
@@ -58,20 +62,24 @@
})
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
,
page_title_translation
;
return
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_view
'
)
gadget
.
getDeclaredGadget
(
'
form_view
'
),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
New Organisation
"
)
]);
})
.
push
(
function
(
result
)
{
page_title_translation
=
result
[
2
];
return
result
[
0
].
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
my_title
"
:
{
"
description
"
:
"
The name of a document in ERP5
"
,
"
title
"
:
"
Title
"
,
"
title
"
:
result
[
1
]
,
"
default
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
0
,
...
...
@@ -129,14 +137,14 @@
}
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
page
:
"
slap_person_view
"
}})
]);
})
.
push
(
function
(
url_list
)
{
return
gadget
.
updateHeader
({
page_title
:
"
New Organisation
"
,
page_title
:
page_title_translation
,
selection_url
:
url_list
[
0
],
submit_action
:
true
});
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_add_organisation_js.xml
View file @
2a242387
...
...
@@ -283,7 +283,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
76.40456.42027.2525
</string>
</value>
<value>
<string>
9
81.54951.54249.4164
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -301,7 +301,7 @@
</tuple>
<state>
<tuple>
<float>
15
61421261.51
</float>
<float>
15
81687094.72
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Your Account
data-i18n=Logins
data-i18n=Reference
data-i18n=Type
data-i18n=Title
data-i18n=Region
data-i18n=Status
data-i18n=First Name
data-i18n=Last Name
data-i18n=Email
data-i18n=Logins
data-i18n=Organisations
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.6873.14525.36027
</string>
</value>
<value>
<string>
98
1.53572.16676.62344
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
74960455.23
</float>
<float>
15
81611639.72
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_js.js
View file @
2a242387
...
...
@@ -70,18 +70,25 @@
return
gadget
.
getDeclaredGadget
(
'
form_view
'
);
})
.
push
(
function
(
form_gadget
)
{
return
form_gadget
.
getContent
();
return
RSVP
.
all
([
form_gadget
.
getContent
(),
gadget
.
translate
(
"
Your Account
"
)
]);
})
.
push
(
function
(
content
)
{
.
push
(
function
(
result
)
{
var
content
=
result
[
0
];
return
gadget
.
updateDocument
(
content
)
.
push
(
function
()
{
return
gadget
.
updateHeader
({
page_title
:
"
Your Account
:
"
+
content
.
first_name
+
"
"
+
content
.
last_name
page_title
:
result
[
1
]
+
"
:
"
+
content
.
first_name
+
"
"
+
content
.
last_name
});
});
})
.
push
(
function
()
{
return
gadget
.
notifySubmitted
({
message
:
'
Data updated.
'
,
status
:
'
success
'
});
return
gadget
.
translate
(
"
Data updated
"
);
})
.
push
(
function
(
result
)
{
return
gadget
.
notifySubmitted
({
message
:
result
,
status
:
'
success
'
});
});
})
...
...
@@ -90,24 +97,39 @@
})
.
onStateChange
(
function
()
{
var
gadget
=
this
,
i
,
destination_list
,
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_view
'
),
// XXXX use getTranslationList when ERP5 will be upgraded
gadget
.
translate
(
"
Reference
"
),
gadget
.
translate
(
"
Type
"
),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Region
"
),
gadget
.
translate
(
"
Status
"
),
gadget
.
translate
(
"
First Name
"
),
gadget
.
translate
(
"
Last Name
"
),
gadget
.
translate
(
"
Email
"
),
gadget
.
translate
(
"
Logins
"
),
gadget
.
translate
(
"
Organisations
"
)
]);
})
.
push
(
function
(
result
)
{
var
form_gadget
=
result
[
0
],
i
,
destination_list
,
column_list
=
[
[
'
reference
'
,
'
Reference
'
],
[
'
portal_type
'
,
'
Type
'
]
[
'
reference
'
,
result
[
1
]
],
[
'
portal_type
'
,
result
[
2
]
]
],
organisation_column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
reference
'
,
'
Reference
'
],
[
'
default_address_region_title
'
,
'
Region
'
],
[
'
Organisation_getNewsDict
'
,
'
Status
'
]
[
'
title
'
,
result
[
3
]
],
[
'
reference
'
,
result
[
1
]
],
[
'
default_address_region_title
'
,
result
[
4
]
],
[
'
Organisation_getNewsDict
'
,
result
[
5
]
]
],
data
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
getDeclaredGadget
(
'
form_view
'
);
})
.
push
(
function
(
form_gadget
)
{
destination_list
=
"
%22NULL%22%2C
"
;
for
(
i
in
gadget
.
state
.
doc
.
assignment_destination_list
)
{
destination_list
+=
"
%22
"
+
gadget
.
state
.
doc
.
assignment_destination_list
[
i
]
+
"
%22%2C
"
;
...
...
@@ -117,7 +139,7 @@
"
_embedded
"
:
{
"
_view
"
:
{
"
my_first_name
"
:
{
"
description
"
:
""
,
"
title
"
:
"
First Name
"
,
"
title
"
:
result
[
6
]
,
"
default
"
:
gadget
.
state
.
doc
.
first_name
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -128,7 +150,7 @@
},
"
my_last_name
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Last Name
"
,
"
title
"
:
result
[
7
]
,
"
default
"
:
gadget
.
state
.
doc
.
last_name
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -139,7 +161,7 @@
},
"
my_default_email_text
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Email
"
,
"
title
"
:
result
[
8
]
,
"
default
"
:
gadget
.
state
.
doc
.
default_email_text
,
"
css_class
"
:
""
,
"
required
"
:
1
,
...
...
@@ -166,7 +188,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
reference
"
,
"
ascending
"
]],
"
title
"
:
"
Logins
"
,
"
title
"
:
result
[
9
]
,
"
type
"
:
"
ListBox
"
},
"
organisation_listbox
"
:
{
...
...
@@ -185,7 +207,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
reference
"
,
"
ascending
"
]],
"
title
"
:
"
Organisations
"
,
"
title
"
:
result
[
10
]
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -218,22 +240,23 @@
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
jio_key
:
me
,
page
:
"
slap_person_get_token
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
jio_key
:
me
,
page
:
"
slap_person_add_erp5_login
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
jio_key
:
me
,
page
:
"
slap_person_add_organisation
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
page
:
"
slapos
"
}})
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
page
:
"
slapos
"
}}),
gadget
.
translate
(
"
Your Account
"
)
]);
})
.
push
(
function
(
url_lis
t
)
{
.
push
(
function
(
resul
t
)
{
var
header_dict
=
{
page_title
:
"
Your Account
:
"
+
gadget
.
state
.
doc
.
first_name
+
"
"
+
gadget
.
state
.
doc
.
last_name
,
page_title
:
result
[
7
]
+
"
:
"
+
gadget
.
state
.
doc
.
first_name
+
"
"
+
gadget
.
state
.
doc
.
last_name
,
save_action
:
true
,
request_certificate_url
:
url_lis
t
[
2
],
revoke_certificate_url
:
url_lis
t
[
1
],
token_url
:
url_lis
t
[
3
],
add_login_url
:
url_lis
t
[
4
],
add_organisation_url
:
url_lis
t
[
5
],
selection_url
:
url_lis
t
[
6
]
request_certificate_url
:
resul
t
[
2
],
revoke_certificate_url
:
resul
t
[
1
],
token_url
:
resul
t
[
3
],
add_login_url
:
resul
t
[
4
],
add_organisation_url
:
resul
t
[
5
],
selection_url
:
resul
t
[
6
]
};
if
(
!
gadget
.
state
.
editable
)
{
header_dict
.
edit_content
=
url_lis
t
[
0
];
header_dict
.
edit_content
=
resul
t
[
0
];
}
return
gadget
.
updateHeader
(
header_dict
);
});
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_person_view_js.xml
View file @
2a242387
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.7943.45013.43144
</string>
</value>
<value>
<string>
98
1.53696.63191.47069
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
15
75023357.8
8
</float>
<float>
15
81611751.
8
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Reference
data-i18n=Status
data-i18n=Projects
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
980.
25270.11198.51746
</string>
</value>
<value>
<string>
980.
36988.11538.20002
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
75973846.43
</float>
<float>
15
81613388.39
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_js.js
View file @
2a242387
...
...
@@ -13,6 +13,7 @@
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
...
...
@@ -55,9 +56,10 @@
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
,
lines_limit
,
destination_project_list
;
lines_limit
,
projects_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
...
...
@@ -70,20 +72,27 @@
lines_limit
=
settings
[
0
];
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
jio_get
(
settings
[
1
])
gadget
.
jio_get
(
settings
[
1
]),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Reference
"
),
gadget
.
translate
(
"
Status
"
),
gadget
.
translate
(
"
Projects
"
)
]);
})
.
push
(
function
(
result
)
{
var
destination_project_list
,
i
,
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
reference
'
,
'
Reference
'
],
[
'
Project_getNewsDict
'
,
'
Status
'
]
[
'
title
'
,
result
[
2
]
],
[
'
reference
'
,
result
[
3
]
],
[
'
Project_getNewsDict
'
,
result
[
4
]
]
];
projects_translation
=
result
[
5
];
destination_project_list
=
"
%22NULL%22%2C
"
;
for
(
i
in
result
[
1
].
assignment_destination_project_list
)
{
if
(
result
[
1
].
assignment_destination_project_list
.
hasOwnProperty
(
i
))
{
destination_project_list
+=
"
%22
"
+
result
[
1
].
assignment_destination_project_list
[
i
]
+
"
%22%2C
"
;
}
}
return
result
[
0
].
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -104,7 +113,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
"
Projects
"
,
"
title
"
:
projects_translation
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -128,7 +137,7 @@
jio_key
:
"
project_module
"
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slap_add_project
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slapos
"
}})
...
...
@@ -136,7 +145,7 @@
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Projects
"
,
page_title
:
projects_translation
,
filter_action
:
true
,
selection_url
:
result
[
1
],
add_url
:
result
[
0
]
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.7946.28171.30583
</string>
</value>
<value>
<string>
98
1.53726.24431.13277
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
75020906.6
5
</float>
<float>
15
81613354.9
5
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Description
data-i18n=Software Products
data-i18n=1/3 Select one Software
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
63.302.17486.6055
2
</string>
</value>
<value>
<string>
9
80.36988.11538.2000
2
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
08925065.93
</float>
<float>
15
83146125.77
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.js
View file @
2a242387
...
...
@@ -12,12 +12,14 @@
.
declareAcquiredMethod
(
"
getUrlForList
"
,
"
getUrlForList
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
allowPublicAcquisition
(
"
getUrlForList
"
,
function
(
promise_list
)
{
var
index
,
param_list
,
gadget
=
this
;
var
index
,
gadget
=
this
;
for
(
index
in
promise_list
[
0
])
{
if
((
promise_list
[
0
][
index
].
command
===
"
display_with_history_and_cancel
"
)
&&
(
promise_list
[
0
][
index
].
options
.
jio_key
)
&&
if
((
promise_list
[
0
].
hasOwnProperty
(
index
))
&&
(
promise_list
[
0
][
index
].
command
===
"
display_with_history_and_cancel
"
)
&&
(
promise_list
[
0
][
index
].
options
.
jio_key
)
&&
(
promise_list
[
0
][
index
].
options
.
jio_key
.
startsWith
(
"
software_product_module
"
)))
{
promise_list
[
0
][
index
].
options
.
page
=
"
slap_select_software_release
"
;
if
(
gadget
.
computer_jio_key
!==
undefined
)
{
...
...
@@ -40,7 +42,8 @@
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
lines_limit
;
lines_limit
,
page_title_translation
;
if
(
options
.
computer_jio_key
!==
undefined
)
{
gadget
.
computer_jio_key
=
options
.
computer_jio_key
;
...
...
@@ -48,17 +51,23 @@
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
100
);
})
.
push
(
function
(
listbox_lines_limit
)
{
lines_limit
=
listbox_lines_limit
;
return
gadget
.
getDeclaredGadget
(
'
form_list
'
);
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
100
),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Description
"
),
gadget
.
translate
(
"
Software Products
"
),
gadget
.
translate
(
"
1/3 Select one Software
"
)
]);
})
.
push
(
function
(
form_list
)
{
var
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
description
'
,
'
Description
'
]
.
push
(
function
(
result
)
{
var
form_list
=
result
[
0
],
column_list
=
[
[
'
title
'
,
result
[
2
]],
[
'
description
'
,
result
[
3
]]
];
lines_limit
=
result
[
1
];
page_title_translation
=
result
[
5
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -78,7 +87,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
"
Software Products
"
,
"
title
"
:
result
[
4
]
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -104,7 +113,7 @@
})
.
push
(
function
(
url_list
)
{
return
gadget
.
updateHeader
({
page_title
:
"
1/3 Select one Software
"
,
page_title
:
page_title_translation
,
cancel_url
:
url_list
[
0
],
filter_action
:
true
});
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_select_software_product_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
75.59381.43838.41676
</string>
</value>
<value>
<string>
9
82.16627.63365.49032
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
58620300.85
</float>
<float>
15
83146812.34
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Short Title
data-i18n=Status
data-i18n=Services
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.57447.20466.4019
2
</string>
</value>
<value>
<string>
9
80.36988.11538.2000
2
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
08421571.41
</float>
<float>
15
81614510.79
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_js.js
View file @
2a242387
...
...
@@ -12,6 +12,7 @@
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
...
...
@@ -56,24 +57,31 @@
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
,
lines_limit
;
lines_limit
,
services_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
);
})
.
push
(
function
(
listbox_lines_limit
)
{
lines_limit
=
listbox_lines_limit
;
return
gadget
.
getDeclaredGadget
(
'
form_list
'
);
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Short Title
"
),
gadget
.
translate
(
"
Status
"
),
gadget
.
translate
(
"
Services
"
)
]);
})
.
push
(
function
(
form_lis
t
)
{
.
push
(
function
(
resul
t
)
{
var
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
short_title
'
,
'
Short Title
'
],
[
'
HostingSubscription_getNewsDict
'
,
'
Status
'
]
];
[
'
title
'
,
result
[
2
]],
[
'
short_title
'
,
result
[
3
]],
[
'
HostingSubscription_getNewsDict
'
,
result
[
4
]]
],
form_list
=
result
[
0
];
lines_limit
=
result
[
1
];
services_translation
=
result
[
5
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -93,7 +101,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
"
Services
"
,
"
title
"
:
services_translation
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -117,7 +125,7 @@
jio_key
:
"
hosting_subscription_module
"
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
"
display_dialog_with_history
"
,
options
:
{
"
page
"
:
"
slap_select_software_product
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slapos
"
}})
...
...
@@ -126,7 +134,7 @@
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Services
"
,
page_title
:
services_translation
,
filter_action
:
true
,
add_url
:
result
[
0
],
selection_url
:
result
[
1
]
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_service_list_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
75.58079.59045.43946
</string>
</value>
<value>
<string>
9
81.53744.26294.36147
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
58616829.7
</float>
<float>
15
81614534.16
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Reference
data-i18n=Region
data-i18n=Status
data-i18n=Sites
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.6873.14525.36027
</string>
</value>
<value>
<string>
98
1.53720.59574.64921
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
75974102.28
</float>
<float>
15
81613018.77
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_js.js
View file @
2a242387
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
'
use strict
'
;
rJS
(
window
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updatePanel
"
,
"
updatePanel
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
reload
"
,
"
reload
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
'
updateHeader
'
,
'
updateHeader
'
)
.
declareAcquiredMethod
(
'
updatePanel
'
,
'
updatePanel
'
)
.
declareAcquiredMethod
(
'
redirect
'
,
'
redirect
'
)
.
declareAcquiredMethod
(
'
reload
'
,
'
reload
'
)
.
declareAcquiredMethod
(
'
getSetting
'
,
'
getSetting
'
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
.
declareAcquiredMethod
(
'
getUrlFor
'
,
'
getUrlFor
'
)
.
declareAcquiredMethod
(
'
jio_allDocs
'
,
'
jio_allDocs
'
)
.
declareAcquiredMethod
(
'
jio_getAttachment
'
,
'
jio_getAttachment
'
)
.
declareAcquiredMethod
(
'
translate
'
,
'
translate
'
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
'
jio_allDocs
'
,
function
(
param_list
)
{
var
gadget
=
this
;
return
gadget
.
jio_allDocs
(
param_list
[
0
])
.
push
(
function
(
result
)
{
var
i
,
value
,
value_jio_key
,
len
=
result
.
data
.
total_rows
;
return
gadget
.
jio_allDocs
(
param_list
[
0
]).
push
(
function
(
result
)
{
var
i
,
value
,
value_jio_key
,
len
=
result
.
data
.
total_rows
;
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
Organisation_getNewsDict
"
)))
{
if
(
1
||
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
'
Organisation_getNewsDict
'
)
)
{
value_jio_key
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
value
.
Organisation_getNewsDict
;
result
.
data
.
rows
[
i
].
value
.
Organisation_getNewsDict
=
{
field_gadget_param
:
{
css_class
:
""
,
description
:
"
The Status
"
,
field_gadget_param
:
{
css_class
:
''
,
description
:
'
The Status
'
,
hidden
:
0
,
"
default
"
:
{
jio_key
:
value_jio_key
,
result
:
value
},
key
:
"
status
"
,
url
:
"
gadget_slapos_site_status.html
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
default
:
{
jio_key
:
value_jio_key
,
result
:
value
},
key
:
'
status
'
,
url
:
'
gadget_slapos_site_status.html
'
,
title
:
'
Status
'
,
type
:
'
GadgetField
'
}
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
result
.
data
.
rows
[
i
].
value
[
'
listbox_uid:list
'
]
=
{
key
:
'
listbox_uid:list
'
,
value
:
2713
};
}
...
...
@@ -48,21 +54,21 @@
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
'
triggerSubmit
'
,
function
()
{
var
argument_list
=
arguments
;
return
this
.
getDeclaredGadget
(
'
form_list
'
)
.
push
(
function
(
gadget
)
{
return
this
.
getDeclaredGadget
(
'
form_list
'
).
push
(
function
(
gadget
)
{
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
'
render
'
,
function
(
)
{
var
gadget
=
this
,
lines_limit
;
lines_limit
,
sites_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getSetting
(
"
listbox_lines_limit
"
,
20
),
gadget
.
getSetting
(
'
listbox_lines_limit
'
,
20
),
window
.
getSettingMe
(
gadget
)
]);
})
...
...
@@ -70,72 +76,89 @@
lines_limit
=
settings
[
0
];
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
jio_get
(
settings
[
1
])
gadget
.
jio_get
(
settings
[
1
]),
gadget
.
translate
(
'
Title
'
),
gadget
.
translate
(
'
Reference
'
),
gadget
.
translate
(
'
Region
'
),
gadget
.
translate
(
'
Status
'
),
gadget
.
translate
(
'
Sites
'
)
]);
})
.
push
(
function
(
result
)
{
var
i
,
destination_list
,
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
reference
'
,
'
Reference
'
],
[
'
default_address_region_title
'
,
'
Region
'
],
[
'
Organisation_getNewsDict
'
,
'
Status
'
]
var
i
,
destination_list
,
column_list
=
[
[
'
title
'
,
result
[
2
]],
[
'
reference
'
,
result
[
3
]],
[
'
default_address_region_title
'
,
result
[
4
]],
[
'
Organisation_getNewsDict
'
,
result
[
5
]]
];
destination_list
=
"
%22NULL%22%2C
"
;
destination_list
=
'
%22NULL%22%2C
'
;
sites_translation
=
result
[
6
];
for
(
i
in
result
[
1
].
assignment_destination_list
)
{
destination_list
+=
"
%22
"
+
result
[
1
].
assignment_destination_list
[
i
]
+
"
%22%2C
"
;
if
(
result
[
1
].
assignment_destination_list
.
hasOwnProperty
(
i
))
{
destination_list
+=
'
%22
'
+
result
[
1
].
assignment_destination_list
[
i
]
+
'
%22%2C
'
;
}
}
return
result
[
0
].
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
listbox
"
:
{
"
column_list
"
:
column_list
,
"
show_anchor
"
:
0
,
"
default_params
"
:
{},
"
editable
"
:
0
,
"
editable_column_list
"
:
[],
"
key
"
:
"
slap_site_listbox
"
,
"
lines
"
:
lines_limit
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
"
urn:jio:allDocs?query=portal_type%3A%22
"
+
"
Organisation
"
+
"
%22%20AND%20role_title%3A%22Host%22%20AND%20
"
+
"
relative_url%3A(
"
+
destination_list
+
"
)
"
,
"
portal_type
"
:
[],
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
"
Sites
"
,
"
type
"
:
"
ListBox
"
_embedded
:
{
_view
:
{
listbox
:
{
column_list
:
column_list
,
show_anchor
:
0
,
default_params
:
{},
editable
:
0
,
editable_column_list
:
[],
key
:
'
slap_site_listbox
'
,
lines
:
lines_limit
,
list_method
:
'
portal_catalog
'
,
query
:
'
urn:jio:allDocs?query=portal_type%3A%22
'
+
'
Organisation
'
+
'
%22%20AND%20role_title%3A%22Host%22%20AND%20
'
+
'
relative_url%3A(
'
+
destination_list
+
'
)
'
,
portal_type
:
[],
search_column_list
:
column_list
,
sort_column_list
:
column_list
,
sort
:
[[
'
title
'
,
'
ascending
'
]],
title
:
sites_translation
,
type
:
'
ListBox
'
}
}
}
}
,
"
_links
"
:
{
"
type
"
:
{
},
_links
:
{
type
:
{
// form_list display portal_type in header
name
:
""
name
:
''
}
}
},
form_definition
:
{
group_list
:
[[
"
bottom
"
,
[[
"
listbox
"
]]
]]
group_list
:
[[
'
bottom
'
,
[[
'
listbox
'
]]]]
}
});
})
.
push
(
function
()
{
return
gadget
.
updatePanel
({
jio_key
:
"
organisation_module
"
jio_key
:
'
organisation_module
'
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slap_add_organisation
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slapos
"
}})
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
page
:
'
slap_add_organisation
'
}
}),
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
page
:
'
slapos
'
}
})
]);
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Sites
"
,
page_title
:
sites_translation
,
selection_url
:
result
[
1
],
filter_action
:
true
,
add_url
:
result
[
0
]
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.6873.14525.36027
</string>
</value>
<value>
<string>
98
1.53718.43497.43810
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
75020879.4
9
</float>
<float>
15
81612966.
9
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<!--
data-i18n=Slapos
data-i18n=Title
data-i18n=Reference
data-i18n=State
data-i18n=Tickets
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
980.
6925.1989.65006
</string>
</value>
<value>
<string>
980.
36988.11538.20002
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
74960436.8
6
</float>
<float>
15
81612316.5
6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.js
View file @
2a242387
...
...
@@ -14,6 +14,7 @@
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
jio_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
/////////////////////////////////////////////////////////////////
...
...
@@ -26,9 +27,10 @@
return
gadget
.
triggerSubmit
.
apply
(
gadget
,
argument_list
);
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
,
lines_limit
;
lines_limit
,
tickets_translation
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
...
...
@@ -41,15 +43,20 @@
lines_limit
=
setting
[
0
];
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
form_list
'
),
gadget
.
jio_get
(
setting
[
1
])
gadget
.
jio_get
(
setting
[
1
]),
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Reference
"
),
gadget
.
translate
(
"
State
"
),
gadget
.
translate
(
"
Tickets
"
)
]);
})
.
push
(
function
(
result
)
{
var
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
reference
'
,
'
Reference
'
],
[
'
translated_simulation_state_title
'
,
'
State
'
]
[
'
title
'
,
result
[
2
]
],
[
'
reference
'
,
result
[
3
]
],
[
'
translated_simulation_state_title
'
,
result
[
4
]
]
];
tickets_translation
=
result
[
5
];
return
result
[
0
].
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -67,7 +74,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
modification_date
"
,
"
Descending
"
]],
"
title
"
:
"
Tickets
"
,
"
title
"
:
tickets_translation
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -91,7 +98,7 @@
jio_key
:
"
support_request_module
"
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slap_add_ticket
"
}}),
gadget
.
getUrlFor
({
command
:
"
change
"
,
options
:
{
"
page
"
:
"
slap_rss_ticket
"
}}),
...
...
@@ -101,7 +108,7 @@
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
"
Tickets
"
,
page_title
:
tickets_translation
,
filter_action
:
true
,
selection_url
:
result
[
2
],
add_url
:
result
[
0
],
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_ticket_list_js.xml
View file @
2a242387
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.7933.50073.58436
</string>
</value>
<value>
<string>
98
1.53707.7724.34918
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
15
75023625.93
</float>
<float>
15
81612203.2
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_html.html
View file @
2a242387
...
...
@@ -2,6 +2,12 @@
<html>
<!--
data-i18n=Slapos
data-i18n=Sites
data-i18n=Title
data-i18n=Modification Date
data-i18n=State
data-i18n=Pending Tickets to Process
data-i18n=Dashboard
-->
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
...
...
@@ -21,9 +27,9 @@
<script
id=
"ticket-link-control-template"
type=
"text/x-handlebars-template"
>
<
div
class
=
"
slapos-control-front
"
>
<
center
>
<
a
class
=
"
ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-sort-alpha-asc
"
href
=
{{
show_all_url
}}
data
-
i18n
=
"
Show All Tickets
"
>
Show
All
Tickets
<
/a
>
<
a
class
=
"
ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss
"
href
=
{{
rss_all_url
}}
data
-
i18n
=
"
RSS (all)
"
>
RSS
<
/a
>
<
a
class
=
"
ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss
"
href
=
{{
rss_critical_url
}}
data
-
i18n
=
"
RSS Critical
"
>
Critical
<
/a
>
<
a
class
=
"
ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-sort-alpha-asc
"
href
=
"
{{ show_all_url }}
"
data
-
i18n
=
"
Show All Tickets
"
>
Show
All
Tickets
<
/a
>
<
a
class
=
"
ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss
"
href
=
"
{{ rss_all_url }}
"
data
-
i18n
=
"
RSS (all)
"
>
RSS
<
/a
>
<
a
class
=
"
ui-btn ui-first-child ui-btn-white-front ui-btn-icon-left ui-icon-rss
"
href
=
"
{{ rss_critical_url }}
"
data
-
i18n
=
"
RSS Critical
"
>
Critical
<
/a
>
<
/center
>
<
/div
>
</script>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_html.xml
View file @
2a242387
...
...
@@ -246,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.6873.14525.36027
</string>
</value>
<value>
<string>
98
1.53386.41888.4846
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>
15
75974254.82
</float>
<float>
15
81602507.86
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.js
View file @
2a242387
...
...
@@ -23,6 +23,7 @@
.
declareAcquiredMethod
(
"
jio_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
"
updatePanel
"
,
"
updatePanel
"
)
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updateConfiguration
"
,
"
updateConfiguration
"
)
...
...
@@ -114,7 +115,7 @@
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
var
lines_limit
,
logout_url_template
;
var
lines_limit
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
...
...
@@ -128,19 +129,25 @@
lines_limit
=
settings
[
0
];
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
right
'
),
gadget
.
jio_get
(
settings
[
1
])
gadget
.
jio_get
(
settings
[
1
]),
// XXXX Use getTranslationList when we upgrade ERP5
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Status
"
),
gadget
.
translate
(
"
Sites
"
)
]);
})
.
push
(
function
(
result
)
{
var
i
,
destination_list
,
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
Organisation_getNewsDict
'
,
'
Status
'
]
[
'
title
'
,
result
[
2
]
],
[
'
Organisation_getNewsDict
'
,
result
[
3
]
]
];
gadget
.
me_dict
=
result
[
1
];
destination_list
=
"
%22NULL%22%2C
"
;
for
(
i
in
result
[
1
].
assignment_destination_list
)
{
if
(
result
[
1
].
assignment_destination_list
.
hasOwnProperty
(
i
))
{
destination_list
+=
"
%22
"
+
result
[
1
].
assignment_destination_list
[
i
]
+
"
%22%2C
"
;
}
}
return
result
[
0
].
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
...
...
@@ -160,7 +167,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
title
"
,
"
ascending
"
]],
"
title
"
:
"
Sites
"
,
"
title
"
:
result
[
4
]
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -238,31 +245,40 @@
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
last
'
),
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
page
:
"
slap_ticket_list
"
}}),
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
page
:
"
slap_rss_ticket
"
}}),
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
page
:
"
slap_rss_critical_ticket
"
}})
]);
})
.
push
(
function
(
result
)
{
return
RSVP
.
all
([
gadget
.
getDeclaredGadget
(
'
last
'
),
gadget
.
translateHtml
(
ticket_control_template
({
show_all_url
:
result
[
0
],
rss_all_url
:
result
[
1
],
rss_critical_url
:
result
[
2
]
})),
//XXX use getTranslationList when we upgrade ERP5 code
gadget
.
translate
(
"
Title
"
),
gadget
.
translate
(
"
Modification Date
"
),
gadget
.
translate
(
"
State
"
),
gadget
.
translate
(
"
Pending Tickets to Process
"
)
]);
})
.
push
(
function
(
result
)
{
var
form_list
=
result
[
0
],
column_list
=
[
[
'
title
'
,
'
Title
'
],
[
'
modification_date
'
,
'
Modification Date
'
],
[
'
translated_simulation_state_title
'
,
'
State
'
]
[
'
title
'
,
result
[
2
]
],
[
'
modification_date
'
,
result
[
3
]
],
[
'
translated_simulation_state_title
'
,
result
[
4
]
]
];
return
form_list
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
control
"
:
{
"
description
"
:
""
,
"
title
"
:
"
Link Control
"
,
"
default
"
:
ticket_control_template
({
show_all_url
:
result
[
1
],
rss_all_url
:
result
[
2
],
rss_critical_url
:
result
[
3
]
}),
"
default
"
:
result
[
1
],
"
css_class
"
:
""
,
"
required
"
:
1
,
"
editable
"
:
0
,
...
...
@@ -285,7 +301,7 @@
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[[
"
modification_date
"
,
"
Descending
"
]],
"
title
"
:
"
Pending Tickets to Process
"
,
"
title
"
:
result
[
5
]
,
"
type
"
:
"
ListBox
"
}
}},
...
...
@@ -311,8 +327,11 @@
});
})
.
push
(
function
()
{
return
gadget
.
translate
(
"
Dashboard
"
);
})
.
push
(
function
(
result
)
{
return
gadget
.
updateHeader
({
page_title
:
'
Dashboard
'
page_title
:
result
[
0
]
});
});
})
...
...
@@ -326,8 +345,10 @@
var
i
;
destination_list
=
'
"NULL"
'
;
for
(
i
in
person_doc
.
assignment_destination_list
)
{
if
(
person_doc
.
assignment_destination_list
.
hasOwnProperty
(
i
))
{
destination_list
+=
'
,"
'
+
person_doc
.
assignment_destination_list
[
i
]
+
'
"
'
;
}
}
return
gadget
.
jio_allDocs
({
query
:
"
portal_type:Organisation AND role_title:Host AND relative_url:(
"
+
destination_list
+
"
)
"
,
select_list
:
[
'
title
'
,
...
...
@@ -340,6 +361,7 @@
.
push
(
function
(
result
)
{
var
idx
,
marker_list
=
[];
for
(
idx
in
result
.
data
.
rows
)
{
if
(
result
.
data
.
rows
.
hasOwnProperty
(
idx
))
{
marker_list
.
push
({
"
jio_key
"
:
result
.
data
.
rows
[
idx
].
id
,
"
doc
"
:
{
"
title
"
:
result
.
data
.
rows
[
idx
].
value
.
title
,
...
...
@@ -349,6 +371,7 @@
"
longitude
"
:
result
.
data
.
rows
[
idx
].
value
.
default_geographical_location_longitude
}
});
}
}
return
gadget
.
getElement
()
.
push
(
function
(
element
)
{
return
gadget
.
declareGadget
(
"
gadget_erp5_page_map.html
"
,
{
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.xml
View file @
2a242387
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.6873.14525.36027
</string>
</value>
<value>
<string>
98
1.53545.9233.1570
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
15
75021126.08
</float>
<float>
15
81604372.73
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_appcache.xml
View file @
2a242387
...
...
@@ -239,9 +239,9 @@ gadget_html5_select.js\n
gadget_erp5_global.js\n
gadget_jio.html\n
gadget_jio.js\n
gadget_translation.html\n
gadget_
slapos_
translation.html\n
gadget_translation.js\n
gadget_translation_data.js\n
gadget_
slapos_
translation_data.js\n
handlebars.js\n
jiodev.js\n
renderjs.js\n
...
...
@@ -318,7 +318,7 @@ gadget_erp5_page_slap_load_schema.js\n
gadget_erp5_page_slap_network_list.html\n
gadget_erp5_page_slap_network_list.js\n
gadget_erp5_page_slap_organisation_view.html\n
gadget_erp5_page_slap_organisation_view.js\n
#
gadget_erp5_page_slap_organisation_view.js\n
gadget_erp5_page_slap_site_view.html\n
gadget_erp5_page_slap_site_view.js\n
gadget_erp5_page_slap_parameter_form.css\n
...
...
@@ -388,7 +388,7 @@ gadget_erp5_page_slap_notify_and_redirect.html\n
gadget_erp5_page_slap_notify_and_redirect.js\n
gadget_erp5_page_slapos.css\n
gadget_erp5_page_slapos.html\n
gadget_erp5_page_slapos.js\n
#
gadget_erp5_page_slapos.js\n
gadget_erp5_page_slapos_request_form.html\n
gadget_erp5_page_trial.css\n
gadget_erp5_page_trial.html\n
...
...
@@ -581,7 +581,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
981.
14498.3807.2193
0
</string>
</value>
<value>
<string>
981.
54984.55898.1664
0
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -599,7 +599,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
15
79259797.54
</float>
<float>
15
81689221.25
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_header_html.html
View file @
2a242387
...
...
@@ -2,30 +2,47 @@
<html>
<head>
<!--
data-i18n=Front
data-i18n=Previous
data-i18n=Cancel
data-i18n=Back
data-i18n=Editable
data-i18n=Viewable
data-i18n=New
data-i18n=Save
data-i18n=Proceed
data-i18n=Accept
data-i18n=Actions
data-i18n=Add
data-i18n=Filter
data-i18n=Views
data-i18n=Jump
data-i18n=Add Login
data-i18n=Add Organisation
data-i18n=Add Ticket
data-i18n=Back
data-i18n=Cancel
data-i18n=Close
data-i18n=Critical RSS
data-i18n=Cut
data-i18n=Delete
data-i18n=Destroy
data-i18n=Download
data-i18n=Editable
data-i18n=Export
data-i18n=Actions
data-i18n=Cut
data-i18n=Add
data-i18n=Previous
data-i18n=Next
data-i18n=Loading
data-i18n=Fast Input
data-i18n=Filter
data-i18n=Front
data-i18n=Invite User
data-i18n=Jump
data-i18n=Language
data-i18n=Loading
data-i18n=Menu
data-i18n=New
data-i18n=Next
data-i18n=Previous
data-i18n=Proceed
data-i18n=Reject
data-i18n=Request Certificate
data-i18n=Revoke Certificate
data-i18n=RSS
data-i18n=Save
data-i18n=Start
data-i18n=Stop
data-i18n=Supply
data-i18n=Token
data-i18n=Transfer
data-i18n=Upload
data-i18n=Viewable
data-i18n=Views
-->
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_header_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
72.32024.53732.34406
</string>
</value>
<value>
<string>
9
81.53554.36648.23688
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
45648648.56
</float>
<float>
15
81605167.12
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_html.html
View file @
2a242387
<!DOCTYPE html>
<html>
<head>
<!--
data-i18n=Home
data-i18n=Login Account
data-i18n=Tickets
data-i18n=Sites
data-i18n=Projects
data-i18n=Invoices
data-i18n=Services
data-i18n=Servers
data-i18n=Networks
data-i18n=Logout
data-i18n=Access Monitor
-->
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no"
/>
<title>
ERP5 Panel
</title>
...
...
@@ -31,7 +44,7 @@
<
div
class
=
"
ui-content
"
>
<
ul
data
-
role
=
"
listview
"
class
=
"
ui-listview
"
data
-
enhanced
=
"
true
"
>
<
li
class
=
"
ui-first-child
"
><
a
href
=
"
#?editable=true
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-home
"
data
-
i18n
=
"
Home
"
accesskey
=
"
h
"
>
Home
<
/a></
li
>
<
li
><
a
href
=
"
{{person_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-user
"
data
-
i18n
=
"
Account
"
accesskey
=
"
p
"
>
Account
<
/a></
li
>
<
li
><
a
href
=
"
{{person_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-user
"
data
-
i18n
=
"
Login
Account
"
accesskey
=
"
p
"
>
Account
<
/a></
li
>
<
li
><
a
href
=
"
{{support_request_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-comments
"
data
-
i18n
=
"
Tickets
"
accesskey
=
"
t
"
>
Tickets
<
/a></
li
>
<
li
><
a
href
=
"
{{organisation_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-map-marker
"
data
-
i18n
=
"
Sites
"
accesskey
=
"
k
"
>
Sites
<
/a></
li
>
<
li
><
a
href
=
"
{{project_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-cubes
"
data
-
i18n
=
"
Projects
"
accesskey
=
"
w
"
>
Projects
<
/a></
li
>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_panel_html.xml
View file @
2a242387
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.6873.14525.36027
</string>
</value>
<value>
<string>
98
1.53553.60693.32631
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
76494063.72
</float>
<float>
15
81609475.31
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_translation_data_js.js
→
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_
slapos_
translation_data_js.js
View file @
2a242387
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_translation_data_js.xml
→
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_
slapos_
translation_data_js.xml
View file @
2a242387
...
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -59,7 +58,6 @@
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -71,7 +69,7 @@
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_translation_data.js
</string>
</value>
<value>
<string>
gadget_
slapos_
translation_data.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
@@ -81,7 +79,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
rjs_gadget_translation_data_js
</string>
</value>
<value>
<string>
rjs_gadget_
slapos_
translation_data_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
...
...
@@ -101,7 +99,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Gadget Translation Data JS
</string>
</value>
<value>
<string>
Gadget
SlapOS
Translation Data JS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
...
...
@@ -167,7 +165,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -189,7 +187,7 @@
</tuple>
<state>
<tuple>
<float>
1
438012175.94
</float>
<float>
1
581585903.15
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -202,6 +200,7 @@
</item>
</dictionary>
</list>
<none/>
</tuple>
</pickle>
</record>
...
...
@@ -234,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
72.31995.48177.21845
</string>
</value>
<value>
<string>
9
82.16622.24406.13004
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>
15
52957380.36
</float>
<float>
15
83146548.65
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -261,6 +260,7 @@
</item>
</dictionary>
</list>
<none/>
</tuple>
</pickle>
</record>
...
...
@@ -279,7 +279,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -309,7 +309,7 @@
</tuple>
<state>
<tuple>
<float>
1
438012143.53
</float>
<float>
1
581585795.07
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -318,6 +318,7 @@
</item>
</dictionary>
</list>
<none/>
</tuple>
</pickle>
</record>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_html.html
0 → 100644
View file @
2a242387
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
Translation Gadget
</title>
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"interface_translation.html"
>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_slapos_translation_data.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_translation.js"
type=
"text/javascript"
></script>
</head>
<body>
</body>
</html>
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_html.xml
0 → 100644
View file @
2a242387
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_slapos_translation.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
rjs_gadget_slapos_translation_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Gadget SlapOS Translation
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs.xml
View file @
2a242387
...
...
@@ -299,6 +299,26 @@
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_slapos_master_api
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_computer_install_command_line
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
...
...
@@ -329,6 +349,7 @@
<value>
<tuple>
<string>
en
</string>
<string>
zh
</string>
</tuple>
</value>
</item>
...
...
@@ -345,6 +366,10 @@
<key>
<string>
configuration_application_title
</string>
</key>
<value>
<string>
ERP5
</string>
</value>
</item>
<item>
<key>
<string>
configuration_computer_install_command_line
</string>
</key>
<value>
<string>
wget https://deploy.erp5.net/slapos ; bash slapos
</string>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\'; img-src \'self\' data: *.openstreetmap.org; media-src \'self\' blob:; connect-src \'self\' data: lab.node.vifib.com lab.nexedi.com; script-src \'self\' \'unsafe-eval\'; font-src \'self\'; style-src \'self\' data: \'unsafe-inline\'; frame-src \'self\' data:
</string>
</value>
...
...
@@ -385,9 +410,13 @@
<key>
<string>
configuration_payment_result
</string>
</key>
<value>
<string>
slap_payment_result
</string>
</value>
</item>
<item>
<key>
<string>
configuration_slapos_master_api
</string>
</key>
<value>
<string>
https://slap.vifib.com
</string>
</value>
</item>
<item>
<key>
<string>
configuration_translation_gadget_url
</string>
</key>
<value>
<string>
gadget_translation.html
</string>
</value>
<value>
<string>
gadget_
slapos_
translation.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_view_action_category
</string>
</key>
...
...
@@ -627,7 +656,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
69.36476.25776.58999
</string>
</value>
<value>
<string>
9
81.53285.53652.51182
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -645,7 +674,7 @@
</tuple>
<state>
<tuple>
<float>
15
42718253.4
</float>
<float>
15
81587590.88
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/feed.xml
View file @
2a242387
...
...
@@ -362,7 +362,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
63.9361.64926.12219
</string>
</value>
<value>
<string>
9
80.3967.45207.31880
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -380,7 +380,7 @@
</tuple>
<state>
<tuple>
<float>
15
09468722.47
</float>
<float>
15
81586037.41
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/hateoas.xml
View file @
2a242387
...
...
@@ -449,7 +449,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.6526.41124.38758
</string>
</value>
<value>
<string>
9
80.3967.45207.31880
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -467,7 +467,7 @@
</tuple>
<state>
<tuple>
<float>
15
09468550.49
</float>
<float>
15
81586037.4
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/trial.xml
View file @
2a242387
...
...
@@ -385,7 +385,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.9871.6009.22135
</string>
</value>
<value>
<string>
9
80.3967.45207.31880
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -403,7 +403,7 @@
</tuple>
<state>
<tuple>
<float>
15
20950177.79
</float>
<float>
15
81586037.41
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_site_module/hostingjs/unsafe.xml
View file @
2a242387
...
...
@@ -347,7 +347,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.6526.41124.38758
</string>
</value>
<value>
<string>
9
80.3967.45207.31880
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -365,7 +365,7 @@
</tuple>
<state>
<tuple>
<float>
15
09468550.5
</float>
<float>
15
81586037.41
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
master/bt5/slapos_jio/bt/dependency_list
View file @
2a242387
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
View file @
2a242387
...
...
@@ -192,7 +192,7 @@ web_page_module/rjs_gadget_slapos_project_status_html
web_page_module/rjs_gadget_slapos_project_status_js
web_page_module/rjs_gadget_slapos_site_status_html
web_page_module/rjs_gadget_slapos_site_status_js
web_page_module/rjs_gadget_translation_data_js
web_page_module/rjs_gadget_
slapos_
translation_data_js
web_page_module/rjs_gadget_trial_panel_html
web_page_module/rjs_gadget_trial_panel_js
web_page_module/rjs_gadget_slapos_utils_js
...
...
master/bt5/slapos_jio/bt/template_path_list
View file @
2a242387
...
...
@@ -192,8 +192,9 @@ web_page_module/rjs_gadget_slapos_project_status_html
web_page_module/rjs_gadget_slapos_project_status_js
web_page_module/rjs_gadget_slapos_site_status_html
web_page_module/rjs_gadget_slapos_site_status_js
web_page_module/rjs_gadget_slapos_translation_data_js
web_page_module/rjs_gadget_slapos_translation_html
web_page_module/rjs_gadget_slapos_utils_js
web_page_module/rjs_gadget_translation_data_js
web_page_module/rjs_gadget_trial_panel_html
web_page_module/rjs_gadget_trial_panel_js
web_page_module/rjs_leaflet_css
...
...
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