summaryrefslogtreecommitdiff
path: root/app/apps.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
committerMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
commit3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 (patch)
tree75be5fba4368472fb11c8015aee026b2b9a71888 /app/apps.js
parent8cc1f13c17fa2fb5a4410542d39e650e02945634 (diff)
downloadpluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.gz
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.bz2
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.zip
Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated)
Diffstat (limited to 'app/apps.js')
-rw-r--r--app/apps.js61
1 files changed, 0 insertions, 61 deletions
diff --git a/app/apps.js b/app/apps.js
deleted file mode 100644
index 56ba307..0000000
--- a/app/apps.js
+++ /dev/null
@@ -1,61 +0,0 @@
-window.openApps = {
- bits: () => {
- document.body.style.pointerEvents = "none";
- document.getElementById("app-view").classList.add("open");
- document.getElementById("app-view").classList.remove("closed");
- document.getElementById("app-name").innerText = "Bits";
- document.getElementById("app-icon").src = "icons/bits.svg";
- document.getElementById("app-iframe").src = "bits/index.html";
- document.getElementById("app-header").classList.add("no-border");
- setTimeout(() => {
- document.body.style.pointerEvents = "initial";
- }, 500);
- },
- fronters: () => {
- document.body.style.pointerEvents = "none";
- document.getElementById("app-name").innerText = "Fronters";
- document.getElementById("app-icon").src = "icons/fronters.svg";
- document.getElementById("app-view").classList.add("open");
- document.getElementById("app-view").classList.remove("closed");
- document.getElementById("app-iframe").src = "fronters/index.html";
- document.getElementById("app-header").classList.remove("no-border");
- setTimeout(() => {
- document.body.style.pointerEvents = "initial";
- }, 500);
- },
- emergency: () => {
- document.body.style.pointerEvents = "none";
- document.getElementById("app-name").innerText = "Emergency";
- document.getElementById("app-icon").src = "icons/emergency.svg";
- document.getElementById("app-view").classList.add("open");
- document.getElementById("app-view").classList.remove("closed");
- document.getElementById("app-iframe").src = "emergency/index.php";
- document.getElementById("app-header").classList.remove("no-border");
- setTimeout(() => {
- document.body.style.pointerEvents = "initial";
- }, 500);
- },
- planner: () => {
- document.body.style.pointerEvents = "none";
- document.getElementById("app-name").innerText = "Planner";
- document.getElementById("app-icon").src = "icons/planner.svg";
- document.getElementById("app-view").classList.add("open");
- document.getElementById("app-view").classList.remove("closed");
- document.getElementById("app-iframe").src = "planner/index.php";
- document.getElementById("app-header").classList.remove("no-border");
- setTimeout(() => {
- document.body.style.pointerEvents = "initial";
- }, 500);
- },
-}
-
-function closeApp() {
- document.body.style.pointerEvents = "none";
- document.getElementById("app-view").classList.remove("open");
- document.getElementById("app-view").classList.add("closed");
- setTimeout(() => {
- document.body.style.pointerEvents = "initial";
- document.getElementById("app-header").classList.remove("no-border");
- document.getElementById("app-iframe").src = "about:blank";
- }, 500);
-} \ No newline at end of file