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>
|
||||
getDarkMode()
|
||||
</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>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,17 @@
|
|||
<script>
|
||||
getDarkMode()
|
||||
</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>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,17 @@
|
|||
<script>
|
||||
getDarkMode()
|
||||
</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>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,17 @@
|
|||
<script>
|
||||
getDarkMode()
|
||||
</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>
|
||||
</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",
|
||||
"short_name": "ARCHBLOX",
|
||||
"lang": "en-US",
|
||||
"start_url": "index.html",
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
|
|
@ -19,6 +19,17 @@
|
|||
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||
<link href="/css/AdminPanelCSS.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>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -50,6 +50,17 @@
|
|||
getDarkMode();
|
||||
</script>
|
||||
@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>
|
||||
@yield('extras')
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,17 @@
|
|||
<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 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>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,17 @@
|
|||
<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/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>
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -141,6 +141,17 @@ $splash = array(
|
|||
}
|
||||
</style>
|
||||
@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>
|
||||
@yield('extras')
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Reference in New Issue