2023-05-31 01:06:35 +02:00
< th:block th:fragment = "errorBannerPerPage" >
2023-05-31 01:17:48 +02:00
2023-05-31 01:06:35 +02:00
< div id = "errorContainer" class = "alert alert-danger alert-dismissible fade show" role = "alert" style = "display: none;" >
< h4 class = "alert-heading" > Error< / h4 >
< p > < / p >
< button type = "button" class = "btn btn-danger" onclick = "toggletrace()" > Show Stack Trace< / button >
< button type = "button" class = "btn btn-secondary" onclick = "copytrace()" > Copy Stack Trace< / button >
< button type = "button" class = "btn btn-info" onclick = "showHelp()" > Help< / button >
< button type = "button" class = "close" data-dismiss = "alert" aria-label = "Close" onclick = "dismissError()" >
< span aria-hidden = "true" > × < / span >
< / button >
<!-- Stack trace section -->
< 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;" >
< pre id = "traceContent" > < / pre >
< / div >
< / div >
< / div >
<!-- Help Modal -->
2023-06-02 00:12:55 +02:00
< link rel = "stylesheet" href = "css/errorBanner.css" >
2023-05-31 01:06:35 +02:00
< div class = "modal fade" id = "helpModal" tabindex = "-1" role = "dialog" aria-labelledby = "helpModalLabel" aria-hidden = "true" >
< div class = "modal-dialog modal-dialog-centered" role = "document" id = "helpModalDialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< h5 class = "modal-title" id = "helpModalLabel" > Help< / h5 >
< button type = "button" class = "close" data-dismiss = "modal" aria-label = "Close" >
< span aria-hidden = "true" > × < / span >
< / button >
< / div >
< div class = "modal-body" >
< div class = "container" >
< div id = "support-section" >
< h1 class = "display-2" > Oops!< / h1 >
< p class = "lead" > Sorry for the issue!.< / p >
< br >
< h2 > Need help / Found an issue?< / h2 >
< p > If you're still having trouble, don't hesitate to reach out to us for help. You can submit a ticket on our GitHub page or contact us through Discord:< / p >
< div id = "button-group" >
< a href = "https://github.com/Frooodle/Stirling-PDF/issues" id = "github-button" target = "_blank" > GitHub - Submit a ticket< / a >
< a href = "https://discord.gg/Cn8pWhQRxZ" id = "discord-button" target = "_blank" > Discord - Submit Support post< / a >
< / div >
< a href = "/" id = "home-button" > Go to Homepage< / a >
2023-05-31 22:28:05 +02:00
< a data-dismiss = "modal" id = "home-button" > Close< / a >
2023-05-31 01:06:35 +02:00
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
2023-06-02 21:15:10 +02:00
< script src = "js/errorBanner.js" > < / script >
2023-05-31 01:06:35 +02:00
< / th:block >