mirror of
https://github.com/unraid/webgui.git
synced 2025-12-31 22:50:25 -06:00
- Encapsulated the existing table within a <div> with class "TableContainer" to enhance responsiveness and layout consistency. - This change aligns with previous updates for better structure across similar components
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
Menu="Device New"
|
|
Title="Attributes"
|
|
Tag="address-card-o"
|
|
Cond="array_key_exists($name, $disks) || array_key_exists($name, $devs)"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2023, Lime Technology
|
|
* Copyright 2012-2023, 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:'attributes',port:'<?=$dev?>',name:'<?=$name?>'}, function(data) {
|
|
$('#disk_attributes').html(data);
|
|
});
|
|
});
|
|
</script>
|
|
<div class="TableContainer">
|
|
<table class="unraid">
|
|
<thead>
|
|
<td style="width:40px">#</td>
|
|
<td>_(Attribute Name)_</td>
|
|
<td>_(Flag)_</td>
|
|
<td>_(Value)_</td>
|
|
<td>_(Worst)_</td>
|
|
<td>_(Threshold)_</td>
|
|
<td>_(Type)_</td>
|
|
<td>_(Updated)_</td>
|
|
<td>_(Failed)_</td>
|
|
<td style="width:145px">_(Raw Value)_</td>
|
|
</thead>
|
|
<tbody id="disk_attributes">
|
|
<tr>
|
|
<td colspan='10'><div class="spinner"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<input type="button" value="_(Done)_" onclick="done()">
|
|
|
|
:smart_attributes_help:
|
|
|