Files
webgui/plugins/dynamix/BootDevice.page
bergware 9c13913429 Make disk spin up/down inline without refresh of complete page
+ added animation to spin up/down indicator
2018-03-18 15:15:06 +01:00

44 lines
1.6 KiB
Plaintext

Menu="Main:3"
Title="Boot Device"
Tag="paw"
---
<?PHP
/* Copyright 2005-2017, Lime Technology
* Copyright 2012-2017, 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 boot_status() {
$.post('/webGui/include/DeviceList.php',{path:'<?=$path?>',device:'flash'},function(data) {
if (data) {$('#boot_device').html(data); display_diskio();}
<?if ($var['fsState']=='Started'):?>
timers.boot_status = setTimeout(boot_status,3000);
<?endif;?>
});
}
<?if ($var['fsState']=='Started'):?>
$('#tab3').bind({click:function() {$('i.toggle').show('slow');}});
<?endif;?>
boot_status();
</script>
<table class="disk_status wide">
<thead><tr><td>Device</td><td>Identification</td><td>Temp.</td><td>Reads</td><td>Writes</td><td>Errors</td><td>FS</td><td>Size</td><td>Used</td><td>Free</td><td>View</td></tr></thead>
<tbody id="boot_device">
<?if (isset($disks['flash'])) echo "<tr><td colspan='11'>&nbsp;</td></tr>";?>
</tbody>
</table>
> Vital array configuration is maintained on the USB Flash device; for this reason, it must remain
> plugged in to your server. Click on [Flash](/Main/Flash?name=flash) to see the GUID and registration
> information, and to configure export settings. Since the USB Flash device is formatted using FAT file system,
> it may only be exported using SMB protocol.