Commit cd350882 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Display commands and more information along with token to install a computer.

This eliminates need of extra configuration or check yet another page for most of the users.
parent 1ddb6d27
...@@ -80,6 +80,39 @@ ...@@ -80,6 +80,39 @@
"hidden": 1, "hidden": 1,
"type": "StringField" "type": "StringField"
}, },
"my_command_line": {
"description": "",
"title": "Command Line to Run",
"default": options.command_line,
"css_class": "",
"required": 1,
"editable": 0,
"key": "command_line",
"hidden": (options.access_token === undefined) ? 1: 0,
"type": "StringField"
},
"my_slapos_master_api": {
"description": "",
"title": "SlapOS Master API",
"default": options.slapos_master_api,
"css_class": "",
"required": 1,
"editable": 0,
"key": "slapos_master_api",
"hidden": (options.access_token === undefined) ? 1: 0,
"type": "StringField"
},
"my_slapos_master_web": {
"description": "",
"title": "SlapOS Master Web UI",
"default": options.slapos_master_web,
"css_class": "",
"required": 1,
"editable": 0,
"key": "slapos_master_web",
"hidden": (options.access_token === undefined) ? 1: 0,
"type": "StringField"
},
"my_access_token": { "my_access_token": {
"description": "", "description": "",
"title": "Your Token", "title": "Your Token",
...@@ -102,7 +135,7 @@ ...@@ -102,7 +135,7 @@
form_definition: { form_definition: {
group_list: [[ group_list: [[
"center", "center",
[["my_access_token"], ["my_relative_url"]] [["my_command_line"], ["my_slapos_master_api"], ["my_slapos_master_web"], ["my_access_token"], ["my_relative_url"]]
]] ]]
} }
}); });
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>963.13252.46039.12646</string> </value> <value> <string>974.58677.26168.43776</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1523376496.21</float> <float>1554731260.74</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