Visual enhancements Array Operation page

This commit is contained in:
bergware
2017-10-30 11:12:35 +01:00
parent dda96dff80
commit 09cda2149f
5 changed files with 9 additions and 7 deletions

View File

@@ -457,6 +457,7 @@ $(function(){
<tr><td></td><td><input type="submit" name="cmdSpindownAll" value="Spin Down"<?=$parity?' disabled':''?>><input type="submit" name="cmdSpinupAll" value="Spin Up"<?=$parity?' disabled':''?>></td>
<td><strong>Spin Down</strong> will immediately spin down all disks.<br><strong>Spin Up</strong> will immediately spin up all disks.</td></tr>
<tr><td></td><td><input type="submit" name="clearStatistics" value="Clear Statistics"></td><td><strong>Clear Statistics</strong> will immediately clear all disk statistics.</td></tr>
<tr><td></td><td class="line" colspan="2"></td></tr>
</table>
</form>
<?if ($var['shareCacheEnabled']=="yes" && is_dir("/mnt/cache")):?>
@@ -473,7 +474,7 @@ $(function(){
</form>
<?endif;?>
<?if ($keyfile):?>
<form markdown="1" name="delete_keyfile" method="POST" action="/update.php" target="progressFrame">
<form name="delete_keyfile" method="POST" action="/update.php" target="progressFrame">
<input type="hidden" name="#file" value="unused">
<input type="hidden" name="#include" value="webGui/include/KeyUpload.php">
<table class="array_status">
@@ -560,13 +561,14 @@ if (isset($display['sleep'])) @include $display['sleep'];
> Once you have assigned all of your hard drives, refer to the Array Status section below
> and Start the array.
<?if (($keyfile && $wrong) || $missing || $encrypt):?>
<?if (($keyfile && $wrong) || $missing || $encrypt || (!$keyfile && $crypto)):?>
<div></div>
> #### Encryption input
>
> Passphrase or file is stored in /root/keyfile.<br>
> This keyfile is read during array Start and is used to encrypt/decrypt content of encrypted devices.
>
> With array Stopped, the keyfile may be deleted and the user can specify a new encryption key. Note that once a device
> With array Stopped, the user can specify a new encryption key. Note that once a device
> is formatted with a particular key it may only be opened using that same key. Changing the encryption key requires
> encrypted devices to be reformatted **resulting in permanent loss of all existing data on those devices.**
>

View File

@@ -138,7 +138,7 @@ table.disk_status tr td:last-child{width:4%;padding-right:10px}
table.disk_status tbody tr{border-bottom:#F3F0F4 1px solid;line-height:30px}
table.disk_status.stats tr>td+td{text-align:left;padding-left:0;padding-right:12px}
table.array_status{line-height:30px}
table.array_status td{padding:12px 0}
table.array_status td{padding:4px 0}
table.array_status td:first-child{text-transform:uppercase}
table.array_status tr>td{text-align:left;white-space:nowrap;padding-left:12px;width:30%}
table.array_status tr>td+td{padding-left:2px;width:20%}

View File

@@ -113,7 +113,7 @@ table.disk_status tr td:last-child{width:4%;padding-right:10px}
table.disk_status select{background:transparent}
table.disk_status tbody tr:nth-child(even){background-color:#0C0C0C}
table.disk_status.stats tr>td+td{text-align:left;padding-left:0;padding-right:12px}
table.array_status td{padding:12px 0}
table.array_status td{padding:4px 0}
table.array_status tr>td{text-align:left;white-space:nowrap;padding-left:12px;width:30%}
table.array_status tr>td+td{padding-left:2px;width:20%}
table.array_status tr>td+td+td{width:auto}

View File

@@ -138,7 +138,7 @@ table.disk_status tr td:last-child{width:4%;padding-right:10px}
table.disk_status tbody tr{border-bottom:#0C0F0B 1px solid;line-height:30px}
table.disk_status.stats tr>td+td{text-align:left;padding-left:0;padding-right:12px}
table.array_status{line-height:30px}
table.array_status td{padding:12px 0}
table.array_status td{padding:4px 0}
table.array_status td:first-child{text-transform:uppercase}
table.array_status tr>td{text-align:left;white-space:nowrap;padding-left:12px;width:30%}
table.array_status tr>td+td{padding-left:2px;width:20%}

View File

@@ -113,7 +113,7 @@ table.disk_status tr td:last-child{width:4%;padding-right:10px}
table.disk_status select{background:transparent}
table.disk_status tbody tr:nth-child(even){background-color:#F8F8F8}
table.disk_status.stats tr>td+td{text-align:left;padding-left:0;padding-right:12px}
table.array_status td{padding:12px 0}
table.array_status td{padding:4px 0}
table.array_status tr>td{text-align:left;white-space:nowrap;padding-left:12px;width:30%}
table.array_status tr>td+td{padding-left:2px;width:20%}
table.array_status tr>td+td+td{width:auto}