404.html 806 B

1234567891011121314151617181920212223242526
  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. <% if @exception.message != @message %>
  16. <div><%= @exception.message %></div>
  17. <% end %>
  18. <% if @exception.backtrace %>
  19. <div>Traceback:</div>
  20. <% @exception.backtrace.each {|row| %>
  21. <%= row %><br>
  22. <% } %>
  23. <% end %>
  24. <% end %>
  25. </body>
  26. </html>