test
+ +
+
All form fields are required.
+ +From e942d5d431346439533910bf649b10ec17463c03 Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 25 Oct 2011 18:57:40 +0200 Subject: fixed some bugs. show log screen is now bigger and opens a scrollbar automatically. debug screens added. fixed continue in debug mode, added progress indicator for all screens. --- src/html/images/loading.gif | Bin 0 -> 8787 bytes src/html/js/networkDiscovery.js | 22 ++- src/html/networkdiscovery.css | 5 + src/html/networkdiscovery.html | 207 +----------------------- src/html/networkdiscovery_debug.html | 85 ++++++++++ src/html/networkdiscovery_userchoice.html | 13 +- src/html/networkdiscovery_userchoice_debug.html | 33 ++++ 7 files changed, 162 insertions(+), 203 deletions(-) create mode 100644 src/html/images/loading.gif create mode 100644 src/html/networkdiscovery_debug.html create mode 100644 src/html/networkdiscovery_userchoice_debug.html (limited to 'src/html') diff --git a/src/html/images/loading.gif b/src/html/images/loading.gif new file mode 100644 index 0000000..cbe59fb Binary files /dev/null and b/src/html/images/loading.gif differ diff --git a/src/html/js/networkDiscovery.js b/src/html/js/networkDiscovery.js index f26385b..1057bd7 100644 --- a/src/html/js/networkDiscovery.js +++ b/src/html/js/networkDiscovery.js @@ -1,3 +1,9 @@ +var hideProgressIndicator = function () { + $("#ajaxBusy").hide(); +}; + + + var updateTips = function ( t ) { $( ".validateTips" ) .text( t ) @@ -39,10 +45,16 @@ var checkRegexp = function ( o, regexp, n ) { var showLog = function (t) { $("#nd_show_log_msg").html(t); //$("#nd_show_log_msg").attr('readonly','readonly'); + $('#nd_show_log_dialog').resizable("enable"); $("#nd_show_log_dialog").dialog( - { minWidth: 450, + { minWidth: 600, + maxHeight: 400, modal: true, - draggable: false + draggable: false, + closeOnEscape: false, + open: function(event, ui) { + $(this).css({'max-height': 400, 'overflow-y': 'auto'}); + }, }); }; @@ -152,6 +164,7 @@ var ip4_manualConfigurationDialog = function () { modal: true, resizable: false, draggable: false, + closeOnEscape: false, close: function() {allFields.val("").removeClass("ui-state-error");}, open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();} }); @@ -180,6 +193,7 @@ var abortBootDialog = function (m) { modal: true, resizable: false, draggable: false, + closeOnEscape: false, open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();} }); }; @@ -217,6 +231,7 @@ var chooseInterfaceDialog = function (i) { modal: true, resizable: false, draggable: false, + closeOnEscape: false, open: function(event, ui) { $(".ui-dialog-titlebar-close").hide();} }); } @@ -246,6 +261,7 @@ var updateIfStatus = function(i, s){ var addInterface = function (i){ + hideProgressIndicator(); $("#nd_progress_container").append( "
test
+test
Welcome to the Network Discovery. We are now looking for usable interfaces and will go on as soon as we found one. This may take a few seconds.
+test
+ +
+
All form fields are required.
+ +Please press F5 if you want to choose which interface to use.
+