404, obj layer, cache, ask,
This commit is contained in:
25
views/static/404.ejs
Normal file
25
views/static/404.ejs
Normal 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>
|
@ -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{
|
||||
|
Reference in New Issue
Block a user