Carify max upload size note to indicate restart is required
This commit is contained in:
committed by
Aditya Chandel
parent
86dfc515a7
commit
9b589748ac
@@ -88,48 +88,50 @@
|
||||
<p-divider></p-divider>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-row gap-11 p-4">
|
||||
<div>
|
||||
<p class="text-lg pb-4 ">Max File Upload Size:
|
||||
<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."
|
||||
tooltipPosition="right"
|
||||
style="cursor: pointer;">
|
||||
</i>
|
||||
</p>
|
||||
<div class="flex gap-4 items-center">
|
||||
<div class="relative w-28">
|
||||
<input
|
||||
type="text"
|
||||
pInputText
|
||||
[(ngModel)]="maxFileUploadSizeInMb"
|
||||
class="pr-10 w-full"
|
||||
placeholder="Max size"/>
|
||||
<span class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-500 text-sm pointer-events-none">MB</span>
|
||||
</div>
|
||||
<p-button label="Save" outlined (onClick)="saveFileSize()"></p-button>
|
||||
<div class="grid grid-cols-[auto,1fr] pl-6 gap-y-4 gap-x-4 items-center">
|
||||
<p class="text-lg pb-4 ">Max File Upload Size:
|
||||
<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."
|
||||
tooltipPosition="right"
|
||||
style="cursor: pointer;">
|
||||
</i>
|
||||
</p>
|
||||
<div class="flex gap-4 items-center">
|
||||
<div class="relative w-28">
|
||||
<input
|
||||
type="text"
|
||||
pInputText
|
||||
[(ngModel)]="maxFileUploadSizeInMb"
|
||||
class="pr-10 w-full"
|
||||
placeholder="Max size"/>
|
||||
<span class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-500 text-sm pointer-events-none">MB</span>
|
||||
</div>
|
||||
<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>
|
||||
<p class="text-lg pb-4 ">CBX Cache Size:
|
||||
<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."
|
||||
tooltipPosition="right"
|
||||
style="cursor: pointer;">
|
||||
</i>
|
||||
</p>
|
||||
<div class="flex gap-4 items-center">
|
||||
<div class="relative w-28">
|
||||
<input
|
||||
type="text"
|
||||
pInputText
|
||||
[(ngModel)]="cbxCacheValue"
|
||||
class="pr-10 w-full"
|
||||
placeholder="Cache size"/>
|
||||
<span class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-500 text-sm pointer-events-none">MB</span>
|
||||
</div>
|
||||
<p-button label="Save" outlined (onClick)="saveCacheSize()"></p-button>
|
||||
<p class="text-lg pb-4 ">CBX Cache Size:
|
||||
<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."
|
||||
tooltipPosition="right"
|
||||
style="cursor: pointer;">
|
||||
</i>
|
||||
</p>
|
||||
<div class="flex gap-4 items-center">
|
||||
<div class="relative w-28">
|
||||
<input
|
||||
type="text"
|
||||
pInputText
|
||||
[(ngModel)]="cbxCacheValue"
|
||||
class="pr-10 w-full"
|
||||
placeholder="Cache size"/>
|
||||
<span class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-500 text-sm pointer-events-none">MB</span>
|
||||
</div>
|
||||
<p-button label="Save" outlined (onClick)="saveCacheSize()"></p-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user