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:
parent
95f5ce97b5
commit
2fba2b34a1
@ -42,4 +42,8 @@ input[type='file'] {
|
|||||||
#txtInfo {
|
#txtInfo {
|
||||||
float: right;
|
float: right;
|
||||||
/*display: inline-block;*/
|
/*display: inline-block;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
img#logo {
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
@ -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>
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user