melhoria em 404
This commit is contained in:
parent
5c7a3ee19a
commit
852c6a681e
2 changed files with 42 additions and 15 deletions
|
|
@ -2,7 +2,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
||||||
<title>Página não encontrada</title>
|
<title>Página não encontrada</title>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Roboto:700" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Roboto:700"
|
||||||
|
rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 80px;
|
font-size: 80px;
|
||||||
|
|
@ -37,8 +38,34 @@
|
||||||
<h1>404</h1>
|
<h1>404</h1>
|
||||||
<h2>Página não encontrada</h2>
|
<h2>Página não encontrada</h2>
|
||||||
<p>
|
<p>
|
||||||
A página que você procura não existe ou ocorreu outro erro, entre em contato com o suporte.</p>
|
A página que você procura não existe ou ocorreu outro erro.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<!-- Instrução para abertura de chamado no link https://atende.idz.one/index.php?a=add -->
|
||||||
|
<p>
|
||||||
|
<a id="link" href="https://atende.idz.one/index.php?a=add"
|
||||||
|
target="_blank">Clique aqui para abrir um chamado</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const link = document.getElementById('link');
|
||||||
|
const url_chamado = new URL(link.href);
|
||||||
|
url_chamado.searchParams.append('message', `{Descreva o problema}
|
||||||
|
|
||||||
|
|
||||||
|
-- Mantenha o texto abaixo --
|
||||||
|
URL: ${window.location.href}
|
||||||
|
ERRO:
|
||||||
|
{ERRO}`);
|
||||||
|
|
||||||
|
link.href = url_chamado.href;
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "~estaticos",
|
"name": "~estaticos",
|
||||||
"version": "0.5.0",
|
"version": "0.6.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue