error banner fixes
This commit is contained in:
parent
38979dd362
commit
89e763d959
1 changed files with 11 additions and 7 deletions
|
@ -5,12 +5,14 @@
|
||||||
<button type="button" class="btn btn-danger" onclick="toggletrace()" th:text="#{error.showStack}"></button>
|
<button type="button" class="btn btn-danger" onclick="toggletrace()" th:text="#{error.showStack}"></button>
|
||||||
<button type="button" class="btn btn-secondary" onclick="copytrace()" th:text="#{error.copyStack}"></button>
|
<button type="button" class="btn btn-secondary" onclick="copytrace()" th:text="#{error.copyStack}"></button>
|
||||||
<button type="button" class="btn btn-info" onclick="showHelp()" th:text="#{help}"></button>
|
<button type="button" class="btn btn-info" onclick="showHelp()" th:text="#{help}"></button>
|
||||||
<button type="button" class="close" data-bs-dismiss="alert" aria-label="Close" onclick="dismissError()">
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" onclick="dismissError()">
|
||||||
<span aria-hidden="true">×</span>
|
<span class="material-symbols-rounded">
|
||||||
</button>
|
close
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
<!-- Stack trace section -->
|
<!-- Stack trace section -->
|
||||||
<div id="trace" style="max-height: 0; overflow: hidden;">
|
<div id="trace" style="max-height: 0; overflow: hidden;">
|
||||||
<div style="background-color: #f8d7da; border: 1px solid #f5c6cb; border-radius: 3px; padding: 10px; margin-top: 5px;">
|
<div>
|
||||||
<pre id="traceContent"></pre>
|
<pre id="traceContent"></pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -21,9 +23,11 @@
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title" id="helpModalLabel" th:text="#{help}"></h5>
|
<h5 class="modal-title" id="helpModalLabel" th:text="#{help}"></h5>
|
||||||
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" onclick="dismissError()">
|
||||||
<span aria-hidden="true">×</span>
|
<span class="material-symbols-rounded">
|
||||||
</button>
|
close
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in a new issue