0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 01:07:56 +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

@ -43,3 +43,7 @@ input[type='file'] {
float: right; float: right;
/*display: inline-block;*/ /*display: inline-block;*/
} }
img#logo {
cursor: pointer;
}

View File

@ -6,7 +6,7 @@
</head> </head>
<body> <body>
<img src="../img/logo/doodle3d.png" height="25"> <img id="logo" src="../img/logo/doodle3d.png" height="25">
<hr> <hr>
<button id="btnSelectAll">Select all</button> <button id="btnSelectAll">Select all</button>
<button id="btnDeselectAll">Deselect 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/'; var api = wifiboxURL+'/d3dapi/sketch/';
$("#logo").click(onLogoClick)
$("#btnDelete").click(deleteSelectedSketches); $("#btnDelete").click(deleteSelectedSketches);
$("#btnSelectAll").click(selectAll); $("#btnSelectAll").click(selectAll);
$("#btnDeselectAll").click(deselectAll); $("#btnDeselectAll").click(deselectAll);
@ -59,6 +60,10 @@ $.get(api+'list', function(data) { //?id=00003
console.log(status); console.log(status);
}); });
function onLogoClick() {
location.href=location.search;
}
function loadSketch(list,cb) { function loadSketch(list,cb) {
var id = list.pop(); var id = list.pop();