404.html 750 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html class="dark">
  3. <meta charset="utf-8">
  4. <title>404: Not Found</title>
  5. <link rel="stylesheet" href="/assets/error/style.css">
  6. <body <% if @traceback %>class="error-message"<% end %>>
  7. <h1>404: Requested resource was not found</h1>
  8. <% if @message.present? %>
  9. <div><%= @message %></div>
  10. <% end %>
  11. <% if !@traceback %>
  12. <div class="error-image" style="background-image: url(/assets/error/error-2.svg)"></div>
  13. <p>Sorry, but the Phoenix is not able to find your resource. Try checking the URL for errors.</p>
  14. <% else %>
  15. <div><%= @exception.message %></div>
  16. <% if @exception.backtrace %>
  17. <div>Traceback:</div>
  18. <% @exception.backtrace.each {|row| %>
  19. <%= row %><br>
  20. <% } %>
  21. <% end %>
  22. <% end %>
  23. </body>
  24. </html>