Custom cache pool support

This commit is contained in:
bergware
2020-04-10 07:49:51 +02:00
parent b9ae8ad7b3
commit f479b009f0
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ $(function() {
</script>
<table class="share_status share">
<thead><tr><td style="width:15%">_(Name)_</td><td style="width:30%">_(Comment)_</td><td style="width:10%">_(SMB)_</td><td style="width:10%">_(NFS)_</td><td style="width:10%">_(Type)_</td><td style="width:10%">_(Size)_</td><td style="width:10%">_(Free)_</td><td style="width:5%">_(View)_</td></tr></thead>
<thead><tr><td style="width:15%">_(Name)_</td><td style="width:30%">_(Comment)_</td><td style="width:8%">_(SMB)_</td><td style="width:8%">_(NFS)_</td><td style="width:14%">_(Type)_</td><td style="width:10%">_(Size)_</td><td style="width:10%">_(Free)_</td><td style="width:5%">_(View)_</td></tr></thead>
<tbody id="disk_list"></tbody>
</table>
<p><input id="compute-disks" type="button" value="_(Compute All)_" onclick="$(this).prop('disabled',true);displayDisks('yes')"></p>

View File

@@ -34,7 +34,7 @@ $(function() {
</script>
<table class="share_status share">
<thead><tr><td style="width:15%">_(Name)_</td><td style="width:30%">_(Comment)_</td><td style="width:10%">_(SMB)_</td><td style="width:10%">_(NFS)_</td><td style="width:10%">_(Cache)_</td><td style="width:10%">_(Size)_</td><td style="width:10%">_(Free)_</td><td style="width:5%">_(View)_</td></tr></thead>
<thead><tr><td style="width:15%">_(Name)_</td><td style="width:30%">_(Comment)_</td><td style="width:8%">_(SMB)_</td><td style="width:8%">_(NFS)_</td><td style="width:14%">_(Cache)_</td><td style="width:10%">_(Size)_</td><td style="width:10%">_(Free)_</td><td style="width:5%">_(View)_</td></tr></thead>
<tbody id="shareslist"></tbody>
</table>
<p><form name="share_form" method="POST" action="<?=htmlspecialchars($path)?>/Share?name=">

View File

@@ -58,7 +58,7 @@ function shareInclude($name) {
}
function cachePool($name) {
return strlen($name)<=8 ? $name : substr($name,0,6).'...';
return strlen($name)<=16 ? $name : substr($name,0,14).'...';
}
// Compute all user shares & check encryption