diff --git a/bower_components/.DS_Store b/bower_components/.DS_Store deleted file mode 100644 index b2cd0164..00000000 Binary files a/bower_components/.DS_Store and /dev/null differ diff --git a/bower_components/bootstrap/.DS_Store b/bower_components/bootstrap/.DS_Store deleted file mode 100644 index 3e8307aa..00000000 Binary files a/bower_components/bootstrap/.DS_Store and /dev/null differ diff --git a/bower_components/bootstrap/dist/.DS_Store b/bower_components/bootstrap/dist/.DS_Store deleted file mode 100644 index 1ab5b9f0..00000000 Binary files a/bower_components/bootstrap/dist/.DS_Store and /dev/null differ diff --git a/bower_components/datatables-plugins/sorting/.DS_Store b/bower_components/datatables-plugins/sorting/.DS_Store deleted file mode 100755 index 5008ddfc..00000000 Binary files a/bower_components/datatables-plugins/sorting/.DS_Store and /dev/null differ diff --git a/bower_components/datatables-responsive/examples/.DS_Store b/bower_components/datatables-responsive/examples/.DS_Store deleted file mode 100755 index 5008ddfc..00000000 Binary files a/bower_components/datatables-responsive/examples/.DS_Store and /dev/null differ diff --git a/bower_components/datatables-responsive/examples/initialisation/.DS_Store b/bower_components/datatables-responsive/examples/initialisation/.DS_Store deleted file mode 100755 index 5008ddfc..00000000 Binary files a/bower_components/datatables-responsive/examples/initialisation/.DS_Store and /dev/null differ diff --git a/bower_components/jquery/.DS_Store b/bower_components/jquery/.DS_Store deleted file mode 100644 index 9498e50b..00000000 Binary files a/bower_components/jquery/.DS_Store and /dev/null differ diff --git a/dist/.DS_Store b/dist/.DS_Store deleted file mode 100644 index 58eede07..00000000 Binary files a/dist/.DS_Store and /dev/null differ diff --git a/dist/js/functions.js b/dist/js/functions.js new file mode 100644 index 00000000..5adf581a --- /dev/null +++ b/dist/js/functions.js @@ -0,0 +1,74 @@ +function WiFiDown() { + var down = confirm("Take down wlan0 ?"); + if(down) { + } else { + alert("Action cancelled"); + } +} + +function UpdateNetworks() { + var existing = document.getElementById("networkbox").getElementsByTagName('div').length; + document.getElementById("Networks").value = existing; +} + +function AddNetwork() { +// existing = document.getElementById("networkbox").getElementsByTagName('div').length; +// existing++; + Networks++ + var Networks = document.getElementById('Networks').value; + document.getElementById('networkbox').innerHTML += '