Change Admin Panel "Attachment Settings" and "Cron Settings" options to be tabs, not submenu. Part 2.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-12 05:25:44 +03:00
parent e2f3dad779
commit 5a6faafa30
6 changed files with 105 additions and 39 deletions

View file

@ -2,27 +2,27 @@ template(name="attachmentSettings")
.attachment-settings-content
.settings-tabs
ul.tab-nav
li(class="{{#if showStorageSettings.get}}active{{/if}}")
li(class="{{#if showStorageSettings}}active{{/if}}")
a.js-attachment-storage-settings(data-id="storage-settings")
i.fa.fa-cog
| {{_ 'attachment-storage-settings'}}
li(class="{{#if showMigration.get}}active{{/if}}")
li(class="{{#if showMigration}}active{{/if}}")
a.js-attachment-migration(data-id="attachment-migration")
i.fa.fa-arrow-right
| {{_ 'attachment-migration'}}
li(class="{{#if showMonitoring.get}}active{{/if}}")
li(class="{{#if showMonitoring}}active{{/if}}")
a.js-attachment-monitoring(data-id="attachment-monitoring")
i.fa.fa-chart-line
| {{_ 'attachment-monitoring'}}
.tab-content
if loading.get
if loading
+spinner
else if showStorageSettings.get
else if showStorageSettings
+storageSettings
else if showMigration.get
else if showMigration
+attachmentMigration
else if showMonitoring.get
else if showMonitoring
+attachmentMonitoring
template(name="storageSettings")