Commit 3d48837c authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fix gadget definition

parent 3ba39968
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
if (result.data.rows[i].value.root_slave !== 1) { if (result.data.rows[i].value.root_slave !== 1) {
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,
...@@ -32,6 +33,7 @@ ...@@ -32,6 +33,7 @@
url: "gadget_slapos_hosting_subscription_status.html", url: "gadget_slapos_hosting_subscription_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"] = {
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>966.40247.37745.53862</string> </value> <value> <string>972.32024.53732.34406</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>1522772623.29</float> <float>1552957541.9</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment