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
Cédric Le Ninivin
slapos.core
Commits
6b254e69
Commit
6b254e69
authored
Mar 19, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Fix GadgetField definition at the listbox
parent
3d48837c
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
162 additions
and
134 deletions
+162
-134
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_network_view_js.js
...ule/rjs_gadget_erp5_page_slap_computer_network_view_js.js
+10
-8
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_network_view_js.xml
...le/rjs_gadget_erp5_page_slap_computer_network_view_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_hosting_subscription_view_js.js
...rjs_gadget_erp5_page_slap_hosting_subscription_view_js.js
+28
-22
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_hosting_subscription_view_js.xml
...js_gadget_erp5_page_slap_hosting_subscription_view_js.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
+20
-16
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_organisation_view_js.js
..._module/rjs_gadget_erp5_page_slap_organisation_view_js.js
+10
-8
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_project_list_js.js
..._page_module/rjs_gadget_erp5_page_slap_project_list_js.js
+11
-9
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_project_view_js.js
..._page_module/rjs_gadget_erp5_page_slap_project_view_js.js
+10
-8
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_view_js.xml
...page_module/rjs_gadget_erp5_page_slap_project_view_js.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_js.js
...s_gadget_erp5_page_slap_regularisation_request_view_js.js
+15
-13
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_js.xml
..._gadget_erp5_page_slap_regularisation_request_view_js.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
+10
-8
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_software_instance_view_js.js
...le/rjs_gadget_erp5_page_slap_software_instance_view_js.js
+18
-14
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_software_instance_view_js.xml
...e/rjs_gadget_erp5_page_slap_software_instance_view_js.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
+10
-8
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
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_network_view_js.js
View file @
6b254e69
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -38,6 +39,7 @@
...
@@ -38,6 +39,7 @@
url
:
"
gadget_slapos_computer_status.html
"
,
url
:
"
gadget_slapos_computer_status.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
//key: "listbox_uid:list",
//key: "listbox_uid:list",
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_network_view_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
4309.59418.7099
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45663714.39
</float>
<float>
15
52959507.85
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_hosting_subscription_view_js.js
View file @
6b254e69
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
result
.
data
.
rows
[
i
].
value
.
portal_type
===
"
Slave Instance
"
,
hidden
:
result
.
data
.
rows
[
i
].
value
.
portal_type
===
"
Slave Instance
"
,
...
@@ -38,6 +39,7 @@
...
@@ -38,6 +39,7 @@
url
:
"
gadget_slapos_instance_status.html
"
,
url
:
"
gadget_slapos_instance_status.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
@@ -47,6 +49,7 @@
...
@@ -47,6 +49,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
connection_key
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
connection_key
"
)))
{
value
=
result
.
data
.
rows
[
i
].
value
.
connection_key
;
value
=
result
.
data
.
rows
[
i
].
value
.
connection_key
;
result
.
data
.
rows
[
i
].
value
.
connection_key
=
{
result
.
data
.
rows
[
i
].
value
.
connection_key
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
"
default
"
:
value
,
"
default
"
:
value
,
key
:
"
status
"
,
key
:
"
status
"
,
...
@@ -54,9 +57,11 @@
...
@@ -54,9 +57,11 @@
url
:
"
gadget_slapos_label_listbox_field.html
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
value
=
result
.
data
.
rows
[
i
].
value
.
connection_value
;
value
=
result
.
data
.
rows
[
i
].
value
.
connection_value
;
result
.
data
.
rows
[
i
].
value
.
connection_value
=
{
result
.
data
.
rows
[
i
].
value
.
connection_value
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
"
default
"
:
value
,
"
default
"
:
value
,
key
:
"
status
"
,
key
:
"
status
"
,
...
@@ -64,6 +69,7 @@
...
@@ -64,6 +69,7 @@
url
:
"
gadget_slapos_label_listbox_field.html
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_hosting_subscription_view_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
2.32024.53732.34406
</string>
</value>
<value>
<string>
97
4.29153.39901.20360
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45663910.89
</float>
<float>
15
52959641.55
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_js.js
View file @
6b254e69
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
result
.
data
.
rows
[
i
].
value
.
translated_simulation_state_title
=
{
result
.
data
.
rows
[
i
].
value
.
translated_simulation_state_title
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
Payment State
"
,
description
:
"
Payment State
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -56,8 +57,10 @@
...
@@ -56,8 +57,10 @@
url
:
"
gadget_slapos_invoice_state.html
"
,
url
:
"
gadget_slapos_invoice_state.html
"
,
title
:
"
Payment State
"
,
title
:
"
Payment State
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
.
download
=
{
result
.
data
.
rows
[
i
].
value
.
download
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
Download Invoice
"
,
description
:
"
Download Invoice
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -66,6 +69,7 @@
...
@@ -66,6 +69,7 @@
url
:
"
gadget_slapos_invoice_printout.html
"
,
url
:
"
gadget_slapos_invoice_printout.html
"
,
title
:
"
Download
"
,
title
:
"
Download
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_invoice_list_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
65.32073.32.3737
6
</string>
</value>
<value>
<string>
9
72.32024.53732.3440
6
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
22772820.15
</float>
<float>
15
52960106.68
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_js.js
View file @
6b254e69
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -39,6 +40,7 @@
...
@@ -39,6 +40,7 @@
url
:
"
gadget_slapos_computer_status.html
"
,
url
:
"
gadget_slapos_computer_status.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_organisation_view_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
4312.53410.25173
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45663888.8
9
</float>
<float>
15
52958334.0
9
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_js.js
View file @
6b254e69
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
news
=
result
.
data
.
rows
[
i
].
Project_getNewsDict
;
news
=
result
.
data
.
rows
[
i
].
Project_getNewsDict
;
result
.
data
.
rows
[
i
].
value
.
Project_getNewsDict
=
{
result
.
data
.
rows
[
i
].
value
.
Project_getNewsDict
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -31,6 +32,7 @@
...
@@ -31,6 +32,7 @@
url
:
"
gadget_slapos_project_status.html
"
,
url
:
"
gadget_slapos_project_status.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_list_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
8850.13428.56541
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45936132.29
</float>
<float>
15
52958933.45
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_view_js.js
View file @
6b254e69
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
result
.
data
.
rows
[
i
].
value
.
computer_monitoring_status
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -39,6 +40,7 @@
...
@@ -39,6 +40,7 @@
url
:
"
gadget_slapos_computer_status.html
"
,
url
:
"
gadget_slapos_computer_status.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_project_view_js.xml
View file @
6b254e69
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
4312.19568.358
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45663857
.91
</float>
<float>
15
52959405
.91
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_js.js
View file @
6b254e69
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
text_content
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
text_content
"
)))
{
result
.
data
.
rows
[
i
].
value
.
text_content
=
{
result
.
data
.
rows
[
i
].
value
.
text_content
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -48,6 +49,7 @@
...
@@ -48,6 +49,7 @@
editable
:
1
,
editable
:
1
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_regularisation_request_view_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
4312.5102.14574
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45663844.66
</float>
<float>
15
52958730.67
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_js.js
View file @
6b254e69
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
result
.
data
.
rows
[
i
].
value
.
monitoring_status
=
{
result
.
data
.
rows
[
i
].
value
.
monitoring_status
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -29,6 +30,7 @@
...
@@ -29,6 +30,7 @@
url
:
"
gadget_slapos_site_status.html
"
,
url
:
"
gadget_slapos_site_status.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_site_list_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
4170.7223.58060
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45655326.6
</float>
<float>
15
52959192.5
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_software_instance_view_js.js
View file @
6b254e69
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
connection_key
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
value
.
hasOwnProperty
(
"
connection_key
"
)))
{
value
=
result
.
data
.
rows
[
i
].
value
.
connection_key
;
value
=
result
.
data
.
rows
[
i
].
value
.
connection_key
;
result
.
data
.
rows
[
i
].
value
.
connection_key
=
{
result
.
data
.
rows
[
i
].
value
.
connection_key
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
"
default
"
:
value
,
"
default
"
:
value
,
key
:
"
status
"
,
key
:
"
status
"
,
...
@@ -38,9 +39,11 @@
...
@@ -38,9 +39,11 @@
url
:
"
gadget_slapos_label_listbox_field.html
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
value
=
result
.
data
.
rows
[
i
].
value
.
connection_value
;
value
=
result
.
data
.
rows
[
i
].
value
.
connection_value
;
result
.
data
.
rows
[
i
].
value
.
connection_value
=
{
result
.
data
.
rows
[
i
].
value
.
connection_value
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
"
default
"
:
value
,
"
default
"
:
value
,
key
:
"
status
"
,
key
:
"
status
"
,
...
@@ -48,6 +51,7 @@
...
@@ -48,6 +51,7 @@
url
:
"
gadget_slapos_label_listbox_field.html
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_software_instance_view_js.xml
View file @
6b254e69
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
972.3
2024.53732.34406
</string>
</value>
<value>
<string>
972.3
4311.9684.42598
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
45663788.86
</float>
<float>
15
52958464.97
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.js
View file @
6b254e69
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
if
(
1
||
(
result
.
data
.
rows
[
i
].
hasOwnProperty
(
"
id
"
)))
{
value
=
result
.
data
.
rows
[
i
].
id
;
value
=
result
.
data
.
rows
[
i
].
id
;
result
.
data
.
rows
[
i
].
value
.
monitoring_status
=
{
result
.
data
.
rows
[
i
].
value
.
monitoring_status
=
{
field_gadget_param
:
{
css_class
:
""
,
css_class
:
""
,
description
:
"
The Status
"
,
description
:
"
The Status
"
,
hidden
:
0
,
hidden
:
0
,
...
@@ -47,6 +48,7 @@
...
@@ -47,6 +48,7 @@
url
:
"
gadget_slapos_site_status.html
"
,
url
:
"
gadget_slapos_site_status.html
"
,
title
:
"
Status
"
,
title
:
"
Status
"
,
type
:
"
GadgetField
"
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
result
.
data
.
rows
[
i
].
value
[
"
listbox_uid:list
"
]
=
{
key
:
"
listbox_uid:list
"
,
key
:
"
listbox_uid:list
"
,
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slapos_js.xml
View file @
6b254e69
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.41526.6603.40089
</string>
</value>
<value>
<string>
9
74.29127.37243.30225
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
22849395.6
</float>
<float>
15
52958273.58
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment