From 05939d72c12b77bd9f0f521ef6cef90773a09b5b Mon Sep 17 00:00:00 2001 From: ION606 Date: Thu, 29 Sep 2022 11:44:55 -0400 Subject: [PATCH] Changed the docs link...again --- calendar.html | 29 +++++++++- dashboard.html | 2 +- index.html | 2 +- main.js | 23 ++++++++ package-lock.json | 142 ++++++++++++++++++++++++++++++++++++++++++++++ package.json | 1 + premium.html | 2 +- team.html | 2 +- 8 files changed, 197 insertions(+), 6 deletions(-) diff --git a/calendar.html b/calendar.html index d16ac3b..7a64c4b 100644 --- a/calendar.html +++ b/calendar.html @@ -269,6 +269,20 @@ background-color: rgb(129, 129, 129); } + .uploadLabel { + border: 1px solid #ccc; + display: inline-block; + padding: 7px 15px; + cursor: pointer; + border-radius: 5px; + background-color: rgb(13, 179, 179); + scale: 1.5; + margin-top: 50px; + } + + .uploadButton { + display: none; + } @@ -432,6 +446,17 @@ //Use the guild Id as the userId xhr2.setRequestHeader('userId', id); + // //import ics file + // const form = document.createElement("span"); + // const label = document.createElement("label"); + // label.innerText = "Upload File"; + // label.className = "inpBtn"; + // document.getElementsByTagName("body")[0].appendChild(label); + // const uploadICS = document.createElement('input'); + // uploadICS.type = "file"; + // form.appendChild(uploadICS); + // document.getElementsByTagName("body")[0].appendChild(form); + xhr2.onloadend = (e) => { const calList = new Map(); @@ -488,7 +513,7 @@