mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 13:39:58 -06:00
50 lines
1.8 KiB
Plaintext
50 lines
1.8 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'):?>
|
|
<?if ($tabbed):?>
|
|
if ($('#tab3').is(':checked')) timer = setTimeout(boot_status,3000);
|
|
<?else:?>
|
|
setTimeout(boot_status,3000);
|
|
<?endif;?>
|
|
<?endif;?>
|
|
});
|
|
}
|
|
<?if ($var['fsState']=='Started' && $tabbed):?>
|
|
$('#tab3').bind({click:function() {clearTimeout(timer); boot_status(); $('i.toggle').show('slow');}});
|
|
<?else:?>
|
|
$('#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'> </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.
|