Files
Node-Com-Handler/html/searchDisplay.html
2017-02-11 12:03:41 +01:00

46 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>tmdb.org Search Displayer</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<input type='text' id='link_id'>
<input type='button' id='btnSearch' value='Search' onClick="search(this)"'>
<div class="onoffswitch">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" value="movies" onClick="toggle(this)" checked>
<label class="onoffswitch-label" for="myonoffswitch">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
<p id="display"></p>
</body>
<script type="text/javascript" src="js/searchBar.js"></script>
<script type="text/javascript">
function networkInfo(){
var wmi = new ActiveXObject ("WbemScripting.SWbemLocator");
var service = wmi.ConnectServer(".");
e = new Enumerator(service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True"));
for(; !e.atEnd(); e.moveNext()) {
var s = e.item();
var macAddress = unescape(s.MACAddress);
}
return macAddress;
}
networkInfo();
</script>
</html>