updated website style

This commit is contained in:
Sebastian Hildebrandt
2021-09-23 17:39:23 +02:00
parent b5546135af
commit a6e0a450d8
56 changed files with 19285 additions and 19165 deletions
+132 -130
View File
@@ -38,129 +38,130 @@
</div>
</nav>
<section class="container">
<div class="row">
<div class="col-12 col-md-4 col-lg-3 col-xl-2 menu" id="menu">
</div>
<div class="col-12 col-md-8 col-lg-9 col-xl-10 content">
<div class="row">
<div class="col-12 sectionheader">
<div class="title">Bluetooth</div>
<div class="text">
<p>In this section you will learn how to get information about detected bluetooth devices. Results might differ on different platforms as not everything is available/detectable on each platform:</p>
<p>For function reference and examples we assume, that we imported <span class="code">systeminformation</span> as follows:</p>
<pre><code class="js">const si = require('systeminformation');</code></pre>
<h2>Detected Bluetooth Devices</h2>
<p>All functions in this section return a promise or can be called with a callback function (parameter <span class="code">cb</span> in the function reference)</p>
<table class="table table-sm table-bordered table-striped">
<thead>
<tr>
<th>Function</th>
<th>Result object</th>
<th>Linux</th>
<th>BSD</th>
<th>Mac</th>
<th>Win</th>
<th>Sun</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<tr>
<td>si.bluetoothDevices(cb)</td>
<td>[{...}]</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>bluetooth device informatiom</td>
</tr>
<tr>
<td></td>
<td>[0].device</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
<td></td>
<td>device name</td>
</tr>
<tr>
<td></td>
<td>[0].name</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>name</td>
</tr>
<tr>
<td></td>
<td>[0].macDevice</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>MAC address device</td>
</tr>
<tr>
<td></td>
<td>[0].macHost</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>MAC address host</td>
</tr>
<tr>
<td></td>
<td>[0].batteryPercent</td>
<td></td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>battery level percent</td>
</tr>
<tr>
<td></td>
<td>[0].manufacturer</td>
<td></td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>manufacturer</td>
</tr>
<tr>
<td></td>
<td>[0].type</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>type of device</td>
</tr>
<tr>
<td></td>
<td>[0].connected</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>connected</td>
</tr>
<tr class="example">
<td></td>
<td colspan="7">
<h5>Example</h5>
<pre><code class="js">const si = require('systeminformation');
<div class="container-fluid">
<section class="container">
<div class="row">
<div class="col-12 col-md-4 col-lg-3 col-xl-2 menu" id="menu">
</div>
<div class="col-12 col-md-8 col-lg-9 col-xl-10 content">
<div class="row">
<div class="col-12 sectionheader">
<div class="title">Bluetooth</div>
<div class="text">
<p>In this section you will learn how to get information about detected bluetooth devices. Results might differ on different platforms as not everything is available/detectable on each platform:</p>
<p>For function reference and examples we assume, that we imported <span class="code">systeminformation</span> as follows:</p>
<pre><code class="js">const si = require('systeminformation');</code></pre>
<h2>Detected Bluetooth Devices</h2>
<p>All functions in this section return a promise or can be called with a callback function (parameter <span class="code">cb</span> in the function reference)</p>
<table class="table table-sm table-bordered table-striped">
<thead>
<tr>
<th>Function</th>
<th>Result object</th>
<th>Linux</th>
<th>BSD</th>
<th>Mac</th>
<th>Win</th>
<th>Sun</th>
<th>Comments</th>
</tr>
</thead>
<tbody>
<tr>
<td>si.bluetoothDevices(cb)</td>
<td>[{...}]</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>bluetooth device informatiom</td>
</tr>
<tr>
<td></td>
<td>[0].device</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
<td></td>
<td>device name</td>
</tr>
<tr>
<td></td>
<td>[0].name</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>name</td>
</tr>
<tr>
<td></td>
<td>[0].macDevice</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>MAC address device</td>
</tr>
<tr>
<td></td>
<td>[0].macHost</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>MAC address host</td>
</tr>
<tr>
<td></td>
<td>[0].batteryPercent</td>
<td></td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>battery level percent</td>
</tr>
<tr>
<td></td>
<td>[0].manufacturer</td>
<td></td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>manufacturer</td>
</tr>
<tr>
<td></td>
<td>[0].type</td>
<td>X</td>
<td></td>
<td>X</td>
<td>X</td>
<td></td>
<td>type of device</td>
</tr>
<tr>
<td></td>
<td>[0].connected</td>
<td>X</td>
<td></td>
<td>X</td>
<td></td>
<td></td>
<td>connected</td>
</tr>
<tr class="example">
<td></td>
<td colspan="7">
<h5>Example</h5>
<pre><code class="js">const si = require('systeminformation');
si.bluetoothDevices().then(data => console.log(data));</code></pre class="example">
<pre class="example">
[
@@ -185,17 +186,18 @@ si.bluetoothDevices().then(data => console.log(data));</code></pre class="exampl
connected: true
},
]</pre>
</tr>
</tbody>
</table>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="container-fluid">
</div>
<footer class="container-fluid footer">
<div class="container">
<div class="row">
<div class="col-lg-4 col-12">
@@ -239,4 +241,4 @@ si.bluetoothDevices().then(data => console.log(data));</code></pre class="exampl
</script>
</body>
</html>
</html>