<!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="/static/common.css"/>
  
  <title th:text="#{gui.errorpage.msg.title}">An error arise ...  </title>
</head>

<body>
  <div class="header container">
    <div class="titlebar">
      <div>
        <a href="https://www.bmi.gv.at/" target="_blank" title="Home">
          <img class="toplogo img-responsive" src="/static/BMI.png" alt="Logo BMI"
              th:attr="alt=#{gui.countryselection.logo.bmi.alt}">
          <h1 class="hidden" th:text="#{gui.countryselection.header1}"> Bundesministerium für Inneres </h1>
        </a>
      </div>
      <ul class="nav_oben">
        &nbsp; &nbsp;
        <li><a href="https://www.bmi.gv.at/" target="_blank" th:text="#{gui.countryselection.link.bmi}" > Startseite BMI </a></li>
      </ul>
    </div>
  </div>

  <div class="content">
    <div id="page1" class="case selected-case" role="main">
      <div class="hell" role="application" >
        <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/>
          <!-- internal errorCodes -->
          <!--p><b th:text="#{gui.errorpage.msg.errorcode}">Code:</b> <span th:text="${errorCode}"></span></p-->

          <!-- grouped external errorCodes -->
          <p><b th:text="#{gui.errorpage.msg.errorcode}">Code:</b> <span th:text="${extErrorCode}"></span></p>

          <p><b th:text="#{gui.errorpage.msg.errormsg}">Msg:</b> <span th:text="${#messages.msgWithParams('__${errorCode}__', '__${errorParams}__')}"></span></p> 
        </div>      
     </div>    

     <div th:if="${stacktrace}">
       <p><b th:text="#{gui.errorpage.msg.stacktrace}">fullError</b> <span th:text="${stacktrace}"></span></p> 
     </div>

    </div>
  </div>
  <footer>
        <div class="copyright">&copy; BUNDESMINISTERIUM FÜR INNERES</div>
        <div></div>
  </footer>

</body>
</html>