0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-21 17:07:55 +01:00

filemanager refresh

This commit is contained in:
Rick Companje 2014-12-17 10:02:46 +01:00
parent 95f5ce97b5
commit 2fba2b34a1
3 changed files with 10 additions and 1 deletions

View File

@ -42,4 +42,8 @@ input[type='file'] {
#txtInfo {
float: right;
/*display: inline-block;*/
}
img#logo {
cursor: pointer;
}

View File

@ -6,7 +6,7 @@
</head>
<body>
<img src="../img/logo/doodle3d.png" height="25">
<img id="logo" src="../img/logo/doodle3d.png" height="25">
<hr>
<button id="btnSelectAll">Select all</button>
<button id="btnDeselectAll">Deselect all</button>

View File

@ -18,6 +18,7 @@ if (getURLParameter("wifiboxURL") != "null") wifiboxURL = getURLParameter("wifib
var api = wifiboxURL+'/d3dapi/sketch/';
$("#logo").click(onLogoClick)
$("#btnDelete").click(deleteSelectedSketches);
$("#btnSelectAll").click(selectAll);
$("#btnDeselectAll").click(deselectAll);
@ -59,6 +60,10 @@ $.get(api+'list', function(data) { //?id=00003
console.log(status);
});
function onLogoClick() {
location.href=location.search;
}
function loadSketch(list,cb) {
var id = list.pop();