Commit c5727e82 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fix the request to destroy and include warning message.

parent cb0a473a
...@@ -14,6 +14,12 @@ ...@@ -14,6 +14,12 @@
</head> </head>
<body> <body>
<p> <strong> Attention! Be Carefull! </strong></p>
<br />
<p> Once you proceed to <strong> destroy </strong> this instance, all the services are stopped and all the data is removed from the disk. </p>
<br />
<p> There is no way to cancel this action once you decide to remove. </p>
<form class="save_form ui-body-c" novalidate> <form class="save_form ui-body-c" novalidate>
<button type="submit" class="ui-btn ui-btn-b ui-btn-inline <button type="submit" class="ui-btn ui-btn-b ui-btn-inline
ui-icon-edit ui-btn-icon-right ui-screen-hidden"></button> ui-icon-edit ui-btn-icon-right ui-screen-hidden"></button>
......
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>962.65075.33399.2372</string> </value> <value> <string>965.23615.23870.11912</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1508880904.49</float> <float>1518101743.13</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
return gadget.getSetting("hateoas_url") return gadget.getSetting("hateoas_url")
.push(function (url) { .push(function (url) {
return gadget.jio_putAttachment(doc.relative_url, return gadget.jio_putAttachment(doc.relative_url,
url + doc.relative_url + "/HostingSubscription_requestPerson", {}); url + doc.relative_url + "/HostingSubscription_requestPerson", {state: "destroyed"});
}); });
}) })
.push(function () { .push(function () {
......
...@@ -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.7994.48734.25941</string> </value> <value> <string>965.23589.23594.39577</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>1509386577.65</float> <float>1518100182.5</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