Merge pull request #202 from hammerdawn/FixSubUserView
Fix the subuser edit view, large amount of checkboxes were not properly formatted
This commit is contained in:
commit
a1d3bbf73d
2 changed files with 26 additions and 25 deletions
|
@ -120,7 +120,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="checkbox highlight">
|
<div class="checkbox highlight">
|
||||||
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
||||||
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['add-files']))checked="checked"@endif value="add-files"> <strong>Create Files & Folders</strong>
|
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['create-files']))checked="checked"@endif value="create-files"> <strong>Create Files & Folders</strong>
|
||||||
<p class="text-muted"><small>Allows user to create a new file within the panel.</small><p>
|
<p class="text-muted"><small>Allows user to create a new file within the panel.</small><p>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -83,32 +83,33 @@
|
||||||
<p class="text-muted"><small>Allows user to save modified file contents.</small><p>
|
<p class="text-muted"><small>Allows user to save modified file contents.</small><p>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
|
||||||
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['move-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="move-files"> <strong>Rename & Move Files</strong>
|
|
||||||
<p class="text-muted"><small>Allows user to move and rename files and folders on the filesystem.</small><p>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="checkbox highlight">
|
|
||||||
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
|
||||||
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['copy-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="copy-files"> <strong>Copy Files</strong>
|
|
||||||
<p class="text-muted"><small>Allows user to copy files and folders on the filesystem.</small><p>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="checkbox highlight">
|
|
||||||
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
|
||||||
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['compress-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="compress-files"> <strong>Compress Files</strong>
|
|
||||||
<p class="text-muted"><small>Allows user to make archives of files and folders on the system.</small><p>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="checkbox highlight">
|
|
||||||
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
|
||||||
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['decompress-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="decompress-files"> <strong>Decompress Files</strong>
|
|
||||||
<p class="text-muted"><small>Allows user to decompress <code>.zip</code> and <code>.tar / .tar.gz</code> archives.</small><p>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="checkbox highlight">
|
<div class="checkbox highlight">
|
||||||
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
||||||
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($permissions['add-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="add-files"> <strong>Create Files</strong>
|
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($permissions['move-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="move-files"> <strong>Rename & Move Files</strong>
|
||||||
|
<p class="text-muted"><small>Allows user to move and rename files and folders on the filesystem.</small><p>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox highlight">
|
||||||
|
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
||||||
|
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($permissions['copy-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="copy-files"> <strong>Copy Files</strong>
|
||||||
|
<p class="text-muted"><small>Allows user to copy files and folders on the filesystem.</small><p>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox highlight">
|
||||||
|
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
||||||
|
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($permissions['compress-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="compress-files"> <strong>Compress Files</strong>
|
||||||
|
<p class="text-muted"><small>Allows user to make archives of files and folders on the system.</small><p>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox highlight">
|
||||||
|
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
||||||
|
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($permissions['decompress-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="decompress-files"> <strong>Decompress Files</strong>
|
||||||
|
<p class="text-muted"><small>Allows user to decompress <code>.zip</code> and <code>.tar / .tar.gz</code> archives.</small><p>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="checkbox highlight">
|
||||||
|
<label class="checkbox-custom highlight" data-initialize="checkbox">
|
||||||
|
<input class="sr-only" name="permissions[]" type="checkbox" @if(isset($permissions['create-files']))checked="checked"@endif @cannot('edit-subuser', $server)disabled="disabled"@endcannot value="create-files"> <strong>Create Files & Folders</strong>
|
||||||
<p class="text-muted"><small>Allows user to create a new file within the panel.</small><p>
|
<p class="text-muted"><small>Allows user to create a new file within the panel.</small><p>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue