404, obj layer, cache, ask,

This commit is contained in:
2023-09-30 03:41:27 +05:00
parent 17b2569334
commit 69403052c5
22 changed files with 566 additions and 232 deletions

25
views/static/404.ejs Normal file
View File

@ -0,0 +1,25 @@
<%- include('../static/start.ejs',{name:'404',async: true}) %>
<%- include('../header.ejs') %>
<style>
a{
text-decoration: none;
cursor: pointer;
color: blue;
}
</style>
<section class="main" >
<div style="margin: auto;width: 40vw;text-align: center;">
<h1>Ой!!!</h1>
<h2>На сайте не нашлась такая страница</h2>
<h1>Можете <a onclick="goto('/main')">Вернутся на главную страницу</a> или <a onclick="goto('/help')">сообщить в поддержку</a></h1>
</div>
</section>
<%- include('../static/end.ejs',{soc:true}) %>
<script>
setTimeout(()=>{loaded()},500);
</script>

View File

@ -11,6 +11,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> <%= name %> </title>
<script>
admin = {};
admin["global"] = () =>{
globalThis._admin_ = true;
}
oncontextmenu = (e) => {
e.preventDefault()
}
@ -21,6 +25,7 @@
check_sid(true);
// console.log("check");
}
</script>
<style>
:root{