From 4595eb426c6e22eba62642f4f64b451c43964fc0 Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 7 Oct 2011 14:07:39 +0200 Subject: renaming of the projekt form LogReceiver into NetworkDiscovery --- LogReceiver/html/js/nd-functions.js | 73 ------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 LogReceiver/html/js/nd-functions.js (limited to 'LogReceiver/html/js/nd-functions.js') diff --git a/LogReceiver/html/js/nd-functions.js b/LogReceiver/html/js/nd-functions.js deleted file mode 100644 index e3ee793..0000000 --- a/LogReceiver/html/js/nd-functions.js +++ /dev/null @@ -1,73 +0,0 @@ -var abortBootDialog = function (m) { - $("#nd_abort_boot_msg").html(m); - $("#nd_abort_boot_dialog").dialog( - { buttons: { "Show Log": function() {fbgui.showLog(); - $(this).dialog("close");}, - "Restart": function() {fbgui.restartSystem(); - $(this).dialog("close"); }, - "Shut Down": function() { fbgui.shutDownSystem(); - $(this).dialog("close"); } - } , - minWidth: 450, - modal: true, - resizable: false, - draggable: false, - open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();} - }); -}; - -var chooseInterfaceDialog = function (i) { - var cb = ""+ - ""; - $("#nd_choose_interface_msg").html(cb); - $("#nd_choose_interface_dialog").dialog( - { buttons: { "Show Log": function() {fbgui.showLog(); - $(this).dialog("close");}, - "Restart": function() {fbgui.restartSystem(); - $(this).dialog("close"); }, - "Shut Down": function() { fbgui.shutDownSystem(); - $(this).dialog("close"); }, - "Continue": function() { fbgui.continueBoot(); - $(this).dialog("close"); } - } , - minWidth: 550, - modal: true, - resizable: false, - draggable: false, - open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();} - }); -} - -var updateStatus = function (s){ - -}; - -var updateIfProgressBar = function (i, p){ - if (p >= 0 && p <= 100){ - $("#"+i+"_progress").progressbar({ value: p }); - }else{ - $("#"+i+"_progress").progressbar({ value: 0 }); - } -}; - -var updateIfStatus = function(i, s){ - $("#"+i+"_status").html(s); -}; - -var addInterface = function (i){ - $("#nd_progress_container").append( - "
"+ - " Interface: " +i+ - " Start DHCP " + - "
"+ - "
" - ); - $("#"+i+"_progress").progressbar({ value: 33 }); -}; - - -- cgit v1.2.3-55-g7522