2 <html xmlns:th="http://www.thymeleaf.org" lang="en">
5 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6 <title>Shows Remote-Content</title>
7 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
10 <nav class="navbar navbar-dark bg-primary navbar-expand navbar-dark flex-column">
11 <h2 class="navbar-brand">Demo: Unit-Test or Integration-Test — A Practical Guide</h2>
13 <main class="container mt-5">
15 <div class="card-header" id="content"><h1 th:text="|${status}: ${error}">XXX: ERROR</h1></div>
16 <div class="card-body">
17 <table class="card-text table">
19 <tr class="border-top-0">
20 <th scope="row">Status</th>
21 <td th:text="${status}">ERROR.STATUS</td>
24 <th scope="row">Error</th>
25 <td th:text="${error}">ERROR.ERROR</td>
27 <tr th:if="!${#strings.isEmpty(message)}">
28 <th scope="row">Message</th>
29 <td th:text="${message}">ERROR.MESSAGE</td>
31 <tr th:if="!${#strings.isEmpty(requestId)}">
32 <th class="text-nowrap" scope="row">Request-ID</th>
33 <td th:text="${requestId}">ERROR.REQUEST_ID</td>
36 <th scope="row">Timstamp</th>
37 <td th:text="${timestamp}">ERROR.TIMESTAMP</td>
39 <tr th:if="!${#strings.isEmpty(path)}">
40 <th scope="row">Path</th>
41 <td th:text="${path}">ERROR.PATH</td>
44 <tr th:if="!${#strings.isEmpty(trace)}">
45 <th scope="row">Trace</th>
47 <div class="overflow-hidden">
48 <pre class="overflow-hidden" th:text="${trace}">ERROR.TRACE</pre>
55 <a href="#" th:href="@{/}" class="btn btn-primary">Back to HOME</a>