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
Lu Xu
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
Hide 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,14 +30,16 @@
...
@@ -30,14 +30,16 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
The Status
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
0
,
key
:
"
status
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_computer_status.html
"
,
key
:
"
status
"
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_computer_status.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,14 +30,16 @@
...
@@ -30,14 +30,16 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
result
.
data
.
rows
[
i
].
value
.
portal_type
===
"
Slave Instance
"
,
description
:
"
The Status
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
result
.
data
.
rows
[
i
].
value
.
portal_type
===
"
Slave Instance
"
,
key
:
"
status
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_instance_status.html
"
,
key
:
"
status
"
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_instance_status.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,23 +49,27 @@
...
@@ -47,23 +49,27 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
"
default
"
:
value
,
css_class
:
""
,
key
:
"
status
"
,
"
default
"
:
value
,
editable
:
1
,
key
:
"
status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
editable
:
1
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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
=
{
css_class
:
""
,
field_gadget_param
:
{
"
default
"
:
value
,
css_class
:
""
,
key
:
"
status
"
,
"
default
"
:
value
,
editable
:
1
,
key
:
"
status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
editable
:
1
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,24 +48,28 @@
...
@@ -48,24 +48,28 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
Payment State
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
Payment State
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
0
,
key
:
"
translated_simulation_state_title
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_invoice_state.html
"
,
key
:
"
translated_simulation_state_title
"
,
title
:
"
Payment State
"
,
url
:
"
gadget_slapos_invoice_state.html
"
,
type
:
"
GadgetField
"
title
:
"
Payment State
"
,
type
:
"
GadgetField
"
}
};
};
result
.
data
.
rows
[
i
].
value
.
download
=
{
result
.
data
.
rows
[
i
].
value
.
download
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
Download Invoice
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
Download Invoice
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
0
,
key
:
"
download
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_invoice_printout.html
"
,
key
:
"
download
"
,
title
:
"
Download
"
,
url
:
"
gadget_slapos_invoice_printout.html
"
,
type
:
"
GadgetField
"
title
:
"
Download
"
,
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,14 +31,16 @@
...
@@ -31,14 +31,16 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
The Status
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
0
,
key
:
"
status
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_computer_status.html
"
,
key
:
"
status
"
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_computer_status.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,15 +22,17 @@
...
@@ -22,15 +22,17 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
The Status
"
,
"
default
"
:
{
jio_key
:
value
,
hidden
:
0
,
result
:
news
},
"
default
"
:
{
jio_key
:
value
,
key
:
"
status
"
,
result
:
news
},
url
:
"
gadget_slapos_project_status.html
"
,
key
:
"
status
"
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_project_status.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,14 +31,16 @@
...
@@ -31,14 +31,16 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
The Status
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
0
,
key
:
"
status
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_computer_status.html
"
,
key
:
"
status
"
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_computer_status.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,19 +35,21 @@
...
@@ -35,19 +35,21 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
The Status
"
,
"
default
"
:
{
doc
:
{
title
:
result
.
data
.
rows
[
i
].
value
.
title
,
hidden
:
0
,
source
:
result
.
data
.
rows
[
i
].
value
.
source_title
,
"
default
"
:
{
doc
:
{
title
:
result
.
data
.
rows
[
i
].
value
.
title
,
modification_date
:
result
.
data
.
rows
[
i
].
value
.
modification_date
,
source
:
result
.
data
.
rows
[
i
].
value
.
source_title
,
content_type
:
result
.
data
.
rows
[
i
].
value
.
content_type
,
modification_date
:
result
.
data
.
rows
[
i
].
value
.
modification_date
,
text_content
:
result
.
data
.
rows
[
i
].
value
.
text_content
}},
content_type
:
result
.
data
.
rows
[
i
].
value
.
content_type
,
key
:
"
status
"
,
text_content
:
result
.
data
.
rows
[
i
].
value
.
text_content
}},
url
:
"
gadget_slapos_event_discussion_entry.html
"
,
key
:
"
status
"
,
editable
:
1
,
url
:
"
gadget_slapos_event_discussion_entry.html
"
,
title
:
"
Status
"
,
editable
:
1
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,14 +21,16 @@
...
@@ -21,14 +21,16 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
The Status
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
0
,
key
:
"
status
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_site_status.html
"
,
key
:
"
status
"
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_site_status.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,23 +31,27 @@
...
@@ -31,23 +31,27 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
"
default
"
:
value
,
css_class
:
""
,
key
:
"
status
"
,
"
default
"
:
value
,
editable
:
1
,
key
:
"
status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
editable
:
1
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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
=
{
css_class
:
""
,
field_gadget_param
:
{
"
default
"
:
value
,
css_class
:
""
,
key
:
"
status
"
,
"
default
"
:
value
,
editable
:
1
,
key
:
"
status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
editable
:
1
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_label_listbox_field.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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,14 +39,16 @@
...
@@ -39,14 +39,16 @@
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
=
{
css_class
:
""
,
field_gadget_param
:
{
description
:
"
The Status
"
,
css_class
:
""
,
hidden
:
0
,
description
:
"
The Status
"
,
"
default
"
:
{
jio_key
:
value
},
hidden
:
0
,
key
:
"
status
"
,
"
default
"
:
{
jio_key
:
value
},
url
:
"
gadget_slapos_site_status.html
"
,
key
:
"
status
"
,
title
:
"
Status
"
,
url
:
"
gadget_slapos_site_status.html
"
,
type
:
"
GadgetField
"
title
:
"
Status
"
,
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