Commit 250fa61a authored by Tristan Cavelier's avatar Tristan Cavelier

jio dashboard UI improved

parent 594bb104
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
<button onclick="fillDavDescription()">WebDAV</button> <button onclick="fillDavDescription()">WebDAV</button>
<button onclick="fillDavBasicDescription()">WebDAV Basic</button> <button onclick="fillDavBasicDescription()">WebDAV Basic</button>
<button onclick="fillERP5Description()">ERP5</button> <button onclick="fillERP5Description()">ERP5</button>
<button onclick="fillCustomDescription()">Custom</button> - <button onclick="fillCustomDescription()">Custom</button>
<button onclick="fillLastDescription()">Last</button> <br /><button onclick="fillLastDescription()">Last</button>
<button onclick="loadDescription()">Load</button> <button onclick="loadDescription()">Load</button>
<button onclick="saveDescription()">Save</button> <button onclick="saveDescription()">Save</button>
</td> </td>
...@@ -73,11 +73,14 @@ ...@@ -73,11 +73,14 @@
</table> </table>
<br /> <br />
<div style="text-align: center;"> <div style="text-align: center;">
<button onclick="printLocalStorage()">print localStorage</button> Useful functions:
<button onclick="localStorage.clear()">clear localStorage</button><br /> <button onclick="scriptLogLocalStorage()">log localStorage</button>
<button onclick="clearlog()">Clear Log</button> <button onclick="localStorage.clear()">clear localStorage</button>
<button onclick="scriptRemoveAllDocs()">removeAllDocs</button>
</div> </div>
<hr /> <hr />
<button onclick="clearlog()">Clear Log</button>
<hr />
<div id="log"> <div id="log">
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
...@@ -231,7 +234,7 @@ function fillDavBasicDescription() { ...@@ -231,7 +234,7 @@ function fillDavBasicDescription() {
function fillERP5Description() { function fillERP5Description() {
select("#storagedescription").value = JSON.stringify({ select("#storagedescription").value = JSON.stringify({
"type": "erp5", "type": "erp5",
"url": "<url/hateoas>" "url": "<url to hateoas web site>"
}, null, " ") }, null, " ")
} }
function fillCustomDescription() { function fillCustomDescription() {
......
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