diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-08-05 12:25:11 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-08-05 12:25:11 +0200 |
commit | 4c4fd196335fab88486b70728abce16cc799c391 (patch) | |
tree | c388d157f2966a791c0f29e6f5218a8347c2265a /basicConfig/templates/error_message.html | |
parent | 8d10b11ffa05104fabf242474cc35bc456744ace (diff) | |
download | National_eIDAS_Gateway-4c4fd196335fab88486b70728abce16cc799c391.tar.gz National_eIDAS_Gateway-4c4fd196335fab88486b70728abce16cc799c391.tar.bz2 National_eIDAS_Gateway-4c4fd196335fab88486b70728abce16cc799c391.zip |
add new files into configuration example
Diffstat (limited to 'basicConfig/templates/error_message.html')
-rw-r--r-- | basicConfig/templates/error_message.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/basicConfig/templates/error_message.html b/basicConfig/templates/error_message.html index fc9b75a1..86f9d29d 100644 --- a/basicConfig/templates/error_message.html +++ b/basicConfig/templates/error_message.html @@ -1,36 +1,36 @@ -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> -<head> +<!DOCTYPE HTML> +<html xmlns:th="http://www.thymeleaf.org" + xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" + layout:decorator="fragments/base" + th:with="lang=${#locale.language}" th:lang="${lang}"> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> - <link rel="stylesheet" href="$contextPath/css/css_error.css" /> + <link rel="stylesheet" href="$contextPath/css/css_error.css" th:href="@{/css/css_error.css}" /> - <title>An error arise ... </title> + <title th:text="#{gui.errorpage.msg.title}">An error arise ... </title> </head> <body> <div id="page"> <div id="page1" class="case selected-case" role="main"> <h2 class="OA_header" role="heading">Authentication error arise</h2> - <!--div id="main"--> - <!--div id="leftcontent" class="hell" role="application"--> - - - + <div class="hell" role="application" > - <p>The authentication stops on account of a process error:</p> - <br/> - <p><b>Error Code:</b> $errorCode</p> - <p><b>Error Message:</b >$errorMsg</p> + <h2 class="OA_header" role="heading" th:text="#{gui.errorpage.msg.title}">Error Header</h2> + + <div id="alert_area" class="hell" role="application" > + <p th:text="#{gui.errorpage.msg.information}">Error Information</p> + <br/> + <p><b th:text="#{gui.errorpage.msg.errorcode}">Code :</b> <span th:text="${errorCode}"></span></p> + <p><b th:text="#{gui.errorpage.msg.errormsg}">Msg :</b > <span th:text="${#messages.msgWithParams('__${errorCode}__', '__${errorParams}__')}"></span></p> + </div> + <!-- errorMsg --> </div> + <div th:if="${stacktrace}"> + <p><b th:text="#{gui.errorpage.msg.stacktrace}">fullError</b> <span th:text="${stacktrace}"></span></p> + </div> - #if($stacktrace) - <div> - <p><b>Stacktrace:</b> $stacktrace</p> - </div> - #end - - <!--/div---> - <!--/div--> </div> </div> </body> |