Files
webgui/plugins/dynamix/DeviceCapabilities.page
2020-12-10 17:00:43 -08:00

32 lines
1.1 KiB
Plaintext

Menu="Device New"
Title="Capabilities"
Tag="building"
Cond="strpos($disks[$name]['status'],'_NP')===false"
---
<?PHP
/* Copyright 2005-2020, Lime Technology
* Copyright 2012-2020, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<script>
$(function() {
$.post("/webGui/include/SmartInfo.php",{cmd:'capabilities',port:'<?=addslashes(htmlspecialchars($dev))?>',name:'<?=addslashes(htmlspecialchars($name))?>'}, function(data) {
$('#disk_capabilities').html(data);
});
});
</script>
<table class='share_status small'>
<thead><td style="width:33%">_(Feature)_</td><td>_(Value)_</td><td>_(Information)_</td></thead>
<tbody id="disk_capabilities"><tr><td colspan='3'><div class="spinner"></div></td></tr></tbody>
</table>
<input type="button" value="_(Done)_" onclick="done()">
:smart_capabilities_help: