mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 01:53:48 +01:00
moved api pages to api folder
This commit is contained in:
parent
5ed5767903
commit
5376ff3178
@ -58,7 +58,6 @@
|
|||||||
exit(json_encode($response)."\r\n");
|
exit(json_encode($response)."\r\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$responseData = array( "remoteip" => $remoteip,
|
$responseData = array( "remoteip" => $remoteip,
|
||||||
"localip" => $localip,
|
"localip" => $localip,
|
||||||
"wifiboxid" => $wifiboxid,
|
"wifiboxid" => $wifiboxid,
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
var retrieveListInterval = 2000;
|
var retrieveListInterval = 5000;
|
||||||
var retrieveListDelay; // retry setTimout instance
|
var retrieveListDelay; // retry setTimout instance
|
||||||
var boxTimeoutTime = 300;
|
var boxTimeoutTime = 300;
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ $(function() {
|
|||||||
corners: 1, // Corner roundness (0..1)
|
corners: 1, // Corner roundness (0..1)
|
||||||
rotate: 0, // The rotation offset
|
rotate: 0, // The rotation offset
|
||||||
direction: 1, // 1: clockwise, -1: counterclockwise
|
direction: 1, // 1: clockwise, -1: counterclockwise
|
||||||
color: '#58C143', // #rgb or #rrggbb or array of colors
|
color: '#57BF42', // #rgb or #rrggbb or array of colors
|
||||||
speed: 1, // Rounds per second
|
speed: 1, // Rounds per second
|
||||||
trail: 60, // Afterglow percentage
|
trail: 60, // Afterglow percentage
|
||||||
shadow: false, // Whether to render a shadow
|
shadow: false, // Whether to render a shadow
|
||||||
@ -46,7 +46,7 @@ function retrieveList() {
|
|||||||
//spinner.spin($preloader[0]);
|
//spinner.spin($preloader[0]);
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "list.php",
|
url: "api/list.php",
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(response){
|
success: function(response){
|
||||||
//console.log("retrieveList response: ",response);
|
//console.log("retrieveList response: ",response);
|
||||||
|
Loading…
Reference in New Issue
Block a user