Minor style changes in New Perms page

This commit is contained in:
bergware
2016-06-26 16:16:32 +02:00
parent 32d3ff8424
commit 52d7604259
+5 -3
View File
@@ -13,6 +13,9 @@ Title="New Permissions"
* all copies or substantial portions of the Software.
*/
?>
<style>
select.list{min-width:auto;padding:2px 6px;}
</style>
This is a one-time action to be taken after upgrading from a pre-5.0 unRAID server
release to version 5.0. It is also useful for restoring default ownership/permissions on files and
directories when transitioning back from Active Directory to non-Active Directory integration.
@@ -34,7 +37,7 @@ Clicking Start will open another window and start the background process. Closin
completion will terminate the background process - so don't do that. This process can take a long time if you have many files.
<form method="POST" action="/update.htm" target="progressFrame">
<select id="includeDisk" size="1">
<select id="includeDisk" size="1" class="list">
<option value=''>(All)</option>
<?if (isset($disks['cache'])):?>
<option value='/mnt/cache'>Cache</option>
@@ -47,10 +50,9 @@ completion will terminate the background process - so don't do that. This proces
</select>
<?if ($var['fsState']!="Started"):?>
<input type="button" value="Start" disabled><input type="button" value="Done" onclick="done()"> Array must be <strong><big>started</big></strong> to change permissions.
<input type="button" value="Start" disabled><input type="button" value="Done" onclick="done()"> Array must be <strong>STARTED</strong> to change permissions.
<?else:?>
<input type="button" name="submit_button" value="Start" onclick="openBox('/webGui/scripts/newperms&arg1='+document.getElementById('includeDisk').value,'New Permissions',490,430)" disabled><input type="button" value="Done" onclick="done()">
<input type="checkbox" onClick="submit_button.disabled=!this.checked"><small>Yes I want to do this</small>
<?endif;?>
</form>