Carify max upload size note to indicate restart is required

This commit is contained in:
aditya.chandel
2025-06-27 15:11:31 -06:00
committed by Aditya Chandel
parent 86dfc515a7
commit 9b589748ac
2 changed files with 44 additions and 42 deletions
@@ -88,8 +88,7 @@
<p-divider></p-divider> <p-divider></p-divider>
</div> </div>
<div class="flex flex-row gap-11 p-4"> <div class="grid grid-cols-[auto,1fr] pl-6 gap-y-4 gap-x-4 items-center">
<div>
<p class="text-lg pb-4 ">Max File Upload Size: <p class="text-lg pb-4 ">Max File Upload Size:
<i class="pi pi-info-circle text-sky-600" <i class="pi pi-info-circle text-sky-600"
pTooltip="Defines the maximum allowed size (in MB) for each uploaded file. Applies to EPUB, PDF, CBZ, CBR, and CB7 formats." pTooltip="Defines the maximum allowed size (in MB) for each uploaded file. Applies to EPUB, PDF, CBZ, CBR, and CB7 formats."
@@ -108,9 +107,13 @@
<span class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-500 text-sm pointer-events-none">MB</span> <span class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-500 text-sm pointer-events-none">MB</span>
</div> </div>
<p-button label="Save" outlined (onClick)="saveFileSize()"></p-button> <p-button label="Save" outlined (onClick)="saveFileSize()"></p-button>
<div class="text-sm text-gray-400 flex items-start gap-2">
<i class="pi pi-exclamation-triangle text-yellow-500 mt-0.5"></i>
<span>
Changes will take effect after restarting the server
</span>
</div> </div>
</div> </div>
<div>
<p class="text-lg pb-4 ">CBX Cache Size: <p class="text-lg pb-4 ">CBX Cache Size:
<i class="pi pi-info-circle text-sky-600" <i class="pi pi-info-circle text-sky-600"
pTooltip="Limits the total size (in MB) of the CBX image cache. If exceeded, older cache entries are removed automatically." pTooltip="Limits the total size (in MB) of the CBX image cache. If exceeded, older cache entries are removed automatically."
@@ -131,7 +134,6 @@
<p-button label="Save" outlined (onClick)="saveCacheSize()"></p-button> <p-button label="Save" outlined (onClick)="saveCacheSize()"></p-button>
</div> </div>
</div> </div>
</div>
<div class="pt-2 pb-4"> <div class="pt-2 pb-4">
<p-divider></p-divider> <p-divider></p-divider>