mirror of
https://github.com/wekan/wekan.git
synced 2026-02-12 03:04:22 +01:00
Change Admin Panel "Attachment Settings" and "Cron Settings" options to be tabs, not submenu. Part 2.
Thanks to xet7 !
This commit is contained in:
parent
e2f3dad779
commit
5a6faafa30
6 changed files with 105 additions and 39 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue