From c461120d3bd209ffe2942ae893e7e40926e80eb7 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Fri, 10 Mar 2023 12:09:18 +1100 Subject: [PATCH] Fix WebApp issues --- public/manifest.json | 9 ++++++++ public/temp/.DS_Store | Bin 6148 -> 8196 bytes public/temp/blog.html | 11 +++++++++ public/temp/buttonhell.html | 11 +++++++++ public/temp/download.html | 11 +++++++++ public/temp/index.html | 11 +++++++++ public/temp/index.js | 21 ------------------ public/temp/manifest.json | 4 +++- resources/views/layouts/admin.blade.php | 11 +++++++++ resources/views/layouts/app.blade.php | 11 +++++++++ resources/views/layouts/ide.blade.php | 11 +++++++++ .../views/layouts/idenosidebar.blade.php | 11 +++++++++ resources/views/layouts/loggedout.blade.php | 11 +++++++++ 13 files changed, 111 insertions(+), 22 deletions(-) create mode 100644 public/manifest.json delete mode 100644 public/temp/index.js diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..44f694b --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,9 @@ +{ + "name": "ARCHBLOX", + "short_name": "ARCHBLOX", + "lang": "en-US", + "start_url": "/", + "scope": "/", + "display": "standalone", + "version": "1.0.0" +} \ No newline at end of file diff --git a/public/temp/.DS_Store b/public/temp/.DS_Store index f9cb54c7e6df0a003c1ddde1c52b5f4a88a8aafe..71a7478e1493c16798df6a5480d4f26d05898b88 100644 GIT binary patch literal 8196 zcmeHM&2AGh5dPd$kTgx9w+abqUw{ZiA0R|U0tti!7mnngK$5MJO`1~`aplAd@Cv*c zcTVM-v7vT$R|p}YNVOw-Hs1L>!6$d-zbuldn@FKLhoAKz|Ej%t&v6 z&p7^&UP(+gWfrm$1q}JfVqMEACjxuyIq88u_1p{|ba&w|SkOJrcD z8K_wAP9*<-TK@ijr{@rziwr~t{*3{%fA;3A%`seVof}PZ?S%Cms}#}OSg8;;nvPRy oI!^if4?|ujR259i$&HolVfpVb0 getDarkMode() + diff --git a/public/temp/buttonhell.html b/public/temp/buttonhell.html index d2faf29..6abc9c5 100644 --- a/public/temp/buttonhell.html +++ b/public/temp/buttonhell.html @@ -17,6 +17,17 @@ + diff --git a/public/temp/download.html b/public/temp/download.html index b8639f2..c12bcdb 100644 --- a/public/temp/download.html +++ b/public/temp/download.html @@ -17,6 +17,17 @@ + diff --git a/public/temp/index.html b/public/temp/index.html index 30261f4..74b3792 100644 --- a/public/temp/index.html +++ b/public/temp/index.html @@ -17,6 +17,17 @@ + diff --git a/public/temp/index.js b/public/temp/index.js deleted file mode 100644 index 0fb453e..0000000 --- a/public/temp/index.js +++ /dev/null @@ -1,21 +0,0 @@ -window.onload = function() { - var morblox = document.getElementById("morblox") - var usernamecontainer = document.getElementById("UsernameContainer"); - if (window.location.hostname == "archblox.com") { - morblox.className = "invisible"; - } else { - morblox.className = ""; - } - if (localStorage.getItem("username") == null) { - localStorage.setItem("username",""); - } - var username = localStorage.getItem("username"); - usernamecontainer.innerHTML = "Saved Username: " + username - document.getElementById('SaveButton').onclick = function() { - var usernameset = document.getElementById("UsernameSet").value; - var usernamecontainer = document.getElementById("UsernameContainer"); - localStorage.setItem("username",usernameset); - usernamecontainer.innerHTML = "Saved Username: " + usernameset - alert("Please click on the \"Home\" link or the \"Profile\" link in order to test Username features") - }; -}; \ No newline at end of file diff --git a/public/temp/manifest.json b/public/temp/manifest.json index e3e1f07..44f694b 100644 --- a/public/temp/manifest.json +++ b/public/temp/manifest.json @@ -1,7 +1,9 @@ { "name": "ARCHBLOX", + "short_name": "ARCHBLOX", "lang": "en-US", - "start_url": "index.html", + "start_url": "/", + "scope": "/", "display": "standalone", "version": "1.0.0" } \ No newline at end of file diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php index 7bf1fcd..310e381 100644 --- a/resources/views/layouts/admin.blade.php +++ b/resources/views/layouts/admin.blade.php @@ -19,6 +19,17 @@ + diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index df7e19f..33e5823 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -50,6 +50,17 @@ getDarkMode(); @endauth + @yield('extras') diff --git a/resources/views/layouts/ide.blade.php b/resources/views/layouts/ide.blade.php index 8eacd2b..3428b42 100644 --- a/resources/views/layouts/ide.blade.php +++ b/resources/views/layouts/ide.blade.php @@ -17,6 +17,17 @@ + diff --git a/resources/views/layouts/idenosidebar.blade.php b/resources/views/layouts/idenosidebar.blade.php index 7d04333..e1bbf92 100644 --- a/resources/views/layouts/idenosidebar.blade.php +++ b/resources/views/layouts/idenosidebar.blade.php @@ -18,6 +18,17 @@ + diff --git a/resources/views/layouts/loggedout.blade.php b/resources/views/layouts/loggedout.blade.php index 7f9e9f3..4cb3c1b 100644 --- a/resources/views/layouts/loggedout.blade.php +++ b/resources/views/layouts/loggedout.blade.php @@ -141,6 +141,17 @@ $splash = array( } @endauth + @yield('extras')