-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added footer and updated error page
- Loading branch information
Showing
8 changed files
with
183 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,41 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:z="http://www.hekkelman.com/libzeep/m2" | ||
xml:lang="en" lang="en"> | ||
<head> | ||
<title>Error</title> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="author" content="Maarten L. Hekkelman" /> | ||
<meta name="generator" content="Japi" /> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<!DOCTYPE html SYSTEM "about:legacy-compat"> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:z2="http://www.hekkelman.com/libzeep/m2" lang="nl"> | ||
|
||
<head z2:replace="~{head::head(~{::title},~{::head/script})}"> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" /> | ||
|
||
<title>Energyd - Fout</title> | ||
</head> | ||
|
||
<body> | ||
<div class="head"> | ||
<span z:if="${error.nr}" class="error-nr" z:text="${error.nr}"></span> | ||
<span class="error-head-text" z:text="${error.head}"></span> | ||
</div> | ||
<div id="main"> | ||
<p class="error-main-text" z:text="${error.description}"></p> | ||
<p z:if="${error.message}">Additional information: <span z:text="${error.message}"/></p> | ||
</div> | ||
<div id="footer"> | ||
<span z:if="${error.request.method}">Method: <em>${error.request.method}</em></span> | ||
<span z:if="${error.request.uri}">URI: <em>${error.request.uri}</em></span> | ||
<span z:if="${error.request.username}">Username: <em>${error.request.username}</em></span> | ||
<nav z2:replace="~{menu :: navbar('token')}" /> | ||
|
||
<div class="container"> | ||
|
||
<div class="container-fluid mt-5"> | ||
<div class="alert alert-danger" role="alert"> | ||
<span z2:if="${error.nr}" class="error-nr" z2:text="${error.nr}"></span> | ||
<span class="error-head-text" z2:text="${error.head}"></span> | ||
</div> | ||
</div> | ||
|
||
<div class="container-fluid mt-5"> | ||
<p class="error-main-text" z2:text="${error.description}"></p> | ||
<p z2:if="${error.message}" z2:text="${error.message}"></p> | ||
</div> | ||
|
||
<div class="container-fluid mt-5"> | ||
<ul class="error-info"> | ||
<li z2:if="${error.request.method}">Method: <em z2:text="${error.request.method}"></em></li> | ||
<li z2:if="${error.request.uri}">URI: <em z2:text="${error.request.uri}"></em></li> | ||
<li z2:if="${error.request.username}">Username: <em z2:text="${error.request.username}"></em></li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<footer z2:replace="~{footer::content}" /> | ||
</body> | ||
</html> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!DOCTYPE html> | ||
|
||
<html xmlns:z2="http://www.hekkelman.com/libzeep/m2"> | ||
<body> | ||
<footer z2:fragment="content">Developed by Maarten L. Hekkelman | ||
<a href="https://www.hekkelman.com/">www.hekkelman.com</a></footer> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,5 +106,7 @@ <h1 class="mt-2">Grafiek</h1> | |
</div> | ||
|
||
</div> | ||
|
||
<footer z2:replace="~{footer::content}" /> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters