From cc2dd0dd5fc32b84090bfd3e2bbcb2bb67898b52 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 5 May 2023 14:18:32 +0200 Subject: [PATCH] replace html in js --- src/js/main.js | 74 ++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 39 deletions(-) diff --git a/src/js/main.js b/src/js/main.js index 22e8fc0..c58a262 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -407,45 +407,41 @@ function initWhiteboard() { var webdavusername = localStorage.getItem("webdavusername") || ""; var webdavpassword = localStorage.getItem("webdavpassword") || ""; var webDavHtml = $( - "
" + - "" + - "" + - "" + - '' + - "" + - "" + - "" + - "" + - '' + - '' + - "" + - "" + - "" + - '' + - '' + - "" + - "" + - "" + - '' + - '' + - "" + - "" + - '' + - "" + - "" + - "" + - '' + - "" + - "
Server URL:
Path:path always have to start & end with "/"
Username:
Password:
Note: You have to generate and use app credentials if you have 2 Factor Auth activated on your dav/nextcloud server!
" + - "
" + `
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Server URL:
Path:path always have to start & end with "/"
Username:
Password:
+ Note: You have to generate and use app credentials if you have 2 Factor Auth activated on your dav/nextcloud server! +
+ +
+
` ); webDavHtml .find(".webdavUploadBtn")