laster 0.0.1
This commit is contained in:
18
web-server/views/error.ejs
Normal file
18
web-server/views/error.ejs
Normal file
@@ -0,0 +1,18 @@
|
||||
<%- include('partials/page-start') %>
|
||||
|
||||
<section class="page center-page">
|
||||
<div class="empty-state error-state">
|
||||
<span class="material-symbols-outlined">database_off</span>
|
||||
<h1><%= errorTitle || 'Không thể tải dữ liệu' %></h1>
|
||||
<p><%= errorMessage || 'Web server đang gặp lỗi khi đọc dữ liệu. Kiểm tra log container để xem nguyên nhân chi tiết.' %></p>
|
||||
<% if (errorDetails) { %>
|
||||
<code class="error-detail"><%= errorDetails.code %>: <%= errorDetails.message %></code>
|
||||
<% } %>
|
||||
<a class="btn btn-primary" href="/">
|
||||
<span class="material-symbols-outlined">sync</span>
|
||||
Thử lại
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<%- include('partials/page-end') %>
|
||||
Reference in New Issue
Block a user