forked from HttpErrorPages/HttpErrorPages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.ejs
More file actions
29 lines (29 loc) · 1.2 KB
/
template.ejs
File metadata and controls
29 lines (29 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="<%= vars.language %>">
<head>
<!-- Simple HttpErrorPages | MIT License | https://github.com/HttpErrorPages -->
<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title><%= vars.pagetitle %></title>
<style type="text/css"><%- vars.inlinecss %></style>
</head>
<body>
<div class="cover">
<img src='/errors/icon_brerp.png' id='brerp'>
<h1><%= vars.title %> <small><%= vars.code %></small></h1><p class="lead"><%= vars.message %></p>
<div class="anchor"><a class="btn" href="/">Ir para a página inicial</a></div>
</div>
<% if (vars.footer){ %><footer><%- vars.footer %></footer><% } %>
<script>
var img = document.getElementById("brerp");
img.addEventListener("mouseover",function(){
img.src = "/errors/icon_brerp_cor.png";
});
img.addEventListener("mouseout",function(){
img.src = "/errors/icon_brerp.png";
});
img.addEventListener("click",function(){
window.location.href = "https://documentacao.devcoffee.com.br";
});
</script>
</body>
</html>