From 4cdb25c091aa4f9d1d46f3048347cca99d2fb055 Mon Sep 17 00:00:00 2001 From: SebClem Date: Sat, 12 Sep 2020 16:45:29 +0200 Subject: [PATCH 1/3] :hammer: Split modals in different files --- .../opt/nextcloud_backup/views/index.ejs | 199 +----------------- .../views/modals/backup-settings-modal.ejs | 133 ++++++++++++ .../views/modals/nextcloud-settings-modal.ejs | 65 ++++++ 3 files changed, 205 insertions(+), 192 deletions(-) create mode 100644 nextcloud_backup/rootfs/opt/nextcloud_backup/views/modals/backup-settings-modal.ejs create mode 100644 nextcloud_backup/rootfs/opt/nextcloud_backup/views/modals/nextcloud-settings-modal.ejs diff --git a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs index 0baecd2..bb75d6c 100644 --- a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs +++ b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs @@ -177,198 +177,9 @@ - - - + <%- include('modals/backup-settings-modal') %>