From be57534b2a248be1799315ab21ac21f0e86c0c44 Mon Sep 17 00:00:00 2001 From: Carlos V <76731844+cvc90@users.noreply.github.com> Date: Fri, 8 Sep 2023 18:32:18 +0200 Subject: [PATCH] Update deviceDetailsTools.php Added new nslookup section Added new nslookup function --- front/deviceDetailsTools.php | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/front/deviceDetailsTools.php b/front/deviceDetailsTools.php index c875cb40..93fdedb1 100755 --- a/front/deviceDetailsTools.php +++ b/front/deviceDetailsTools.php @@ -54,6 +54,23 @@ + +

+ +

+
+ +
+
+ +
+
+
+ + +

@@ -149,6 +166,21 @@ }) } + // ---------------------------------------------------------------- + function nslookup() { + + $( "#nslookupoutput" ).empty(); + $.ajax({ + method: "GET", + url: "./php/server/nslookup.php?action=get&ip=" + deviceIP + "", + beforeSend: function() { $('#nslookupoutput').addClass("ajax_scripts_loading"); }, + complete: function() { $('#nslookupoutput').removeClass("ajax_scripts_loading"); }, + success: function(data, textStatus) { + $("#nslookupoutput").html(data); + } + }) + } + // ---------------------------------------------------------------- setTimeout(function(){ document.getElementById('piamanualnmap_fast').innerHTML=' \ No newline at end of file +