Fix WebApp issues
This commit is contained in:
parent
b0a177fbad
commit
c461120d3b
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"name": "ARCHBLOX",
|
||||||
|
"short_name": "ARCHBLOX",
|
||||||
|
"lang": "en-US",
|
||||||
|
"start_url": "/",
|
||||||
|
"scope": "/",
|
||||||
|
"display": "standalone",
|
||||||
|
"version": "1.0.0"
|
||||||
|
}
|
||||||
Binary file not shown.
|
|
@ -17,6 +17,17 @@
|
||||||
<script>
|
<script>
|
||||||
getDarkMode()
|
getDarkMode()
|
||||||
</script>
|
</script>
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="https://archblox.com/js/detect.css" defer></script>
|
<script src="https://archblox.com/js/detect.css" defer></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,17 @@
|
||||||
<script>
|
<script>
|
||||||
getDarkMode()
|
getDarkMode()
|
||||||
</script>
|
</script>
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="https://archblox.com/js/detect.css" defer></script>
|
<script src="https://archblox.com/js/detect.css" defer></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,17 @@
|
||||||
<script>
|
<script>
|
||||||
getDarkMode()
|
getDarkMode()
|
||||||
</script>
|
</script>
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="https://archblox.com/js/detect.css" defer></script>
|
<script src="https://archblox.com/js/detect.css" defer></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,17 @@
|
||||||
<script>
|
<script>
|
||||||
getDarkMode()
|
getDarkMode()
|
||||||
</script>
|
</script>
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="https://archblox.com/js/detect.css" defer></script>
|
<script src="https://archblox.com/js/detect.css" defer></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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")
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "ARCHBLOX",
|
"name": "ARCHBLOX",
|
||||||
|
"short_name": "ARCHBLOX",
|
||||||
"lang": "en-US",
|
"lang": "en-US",
|
||||||
"start_url": "index.html",
|
"start_url": "/",
|
||||||
|
"scope": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"version": "1.0.0"
|
"version": "1.0.0"
|
||||||
}
|
}
|
||||||
|
|
@ -19,6 +19,17 @@
|
||||||
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||||
<link href="/css/AdminPanelCSS.css" rel="stylesheet">
|
<link href="/css/AdminPanelCSS.css" rel="stylesheet">
|
||||||
<link href="/css/AdminPanel.css" rel="stylesheet">
|
<link href="/css/AdminPanel.css" rel="stylesheet">
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="{{ asset('js/detect_iphone.js') }}" defer></script>
|
<script src="{{ asset('js/detect_iphone.js') }}" defer></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,17 @@
|
||||||
getDarkMode();
|
getDarkMode();
|
||||||
</script>
|
</script>
|
||||||
@endauth
|
@endauth
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="{{ asset('js/detect.js?id=' . Str::random(8)) }}" defer></script>
|
<script src="{{ asset('js/detect.js?id=' . Str::random(8)) }}" defer></script>
|
||||||
@yield('extras')
|
@yield('extras')
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,17 @@
|
||||||
<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1">
|
<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||||
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="{{ asset('js/detect_small.js') }}" defer></script>
|
<script src="{{ asset('js/detect_small.js') }}" defer></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,17 @@
|
||||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||||
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||||
<link href="{{ asset('css/appdark.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
<link href="{{ asset('css/appdark.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="{{ asset('js/detect_small.js') }}" defer></script>
|
<script src="{{ asset('js/detect_small.js') }}" defer></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,17 @@ $splash = array(
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@endauth
|
@endauth
|
||||||
|
<script>
|
||||||
|
var a=document.getElementsByTagName("a");
|
||||||
|
for(var i=0;i<a.length;i++)
|
||||||
|
{
|
||||||
|
a[i].onclick=function()
|
||||||
|
{
|
||||||
|
window.location=this.getAttribute("href");
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="{{ asset('js/detect.js') }}" defer></script>
|
<script src="{{ asset('js/detect.js') }}" defer></script>
|
||||||
@yield('extras')
|
@yield('extras')
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue