From 250fa61a9f6406b463c0103c80370ec61858a0a1 Mon Sep 17 00:00:00 2001 From: Tristan Cavelier <tristan.cavelier@tiolive.com> Date: Tue, 18 Mar 2014 14:44:08 +0100 Subject: [PATCH] jio dashboard UI improved --- examples/jio_dashboard.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/examples/jio_dashboard.html b/examples/jio_dashboard.html index 4fd6ec8..4fa40ca 100644 --- a/examples/jio_dashboard.html +++ b/examples/jio_dashboard.html @@ -26,8 +26,8 @@ <button onclick="fillDavDescription()">WebDAV</button> <button onclick="fillDavBasicDescription()">WebDAV Basic</button> <button onclick="fillERP5Description()">ERP5</button> - <button onclick="fillCustomDescription()">Custom</button> - - <button onclick="fillLastDescription()">Last</button> + <button onclick="fillCustomDescription()">Custom</button> + <br /><button onclick="fillLastDescription()">Last</button> <button onclick="loadDescription()">Load</button> <button onclick="saveDescription()">Save</button> </td> @@ -73,11 +73,14 @@ </table> <br /> <div style="text-align: center;"> - <button onclick="printLocalStorage()">print localStorage</button> - <button onclick="localStorage.clear()">clear localStorage</button><br /> - <button onclick="clearlog()">Clear Log</button> + Useful functions: + <button onclick="scriptLogLocalStorage()">log localStorage</button> + <button onclick="localStorage.clear()">clear localStorage</button> + <button onclick="scriptRemoveAllDocs()">removeAllDocs</button> </div> <hr /> + <button onclick="clearlog()">Clear Log</button> + <hr /> <div id="log"> </div> <script type="text/javascript"> @@ -231,7 +234,7 @@ function fillDavBasicDescription() { function fillERP5Description() { select("#storagedescription").value = JSON.stringify({ "type": "erp5", - "url": "<url/hateoas>" + "url": "<url to hateoas web site>" }, null, " ") } function fillCustomDescription() { -- 2.30.9