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

slapos_jio: Fix gadget definition

parent 3ba39968
...@@ -24,14 +24,16 @@ ...@@ -24,14 +24,16 @@
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 = {
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_hosting_subscription_status.html", key: "status",
title: "Status", url: "gadget_slapos_hosting_subscription_status.html",
type: "GadgetField" title: "Status",
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