403.html 788 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html class="dark">
  3. <meta charset="utf-8">
  4. <title>403: Forbidden</title>
  5. <link rel="stylesheet" href="/assets/error/style.css">
  6. <body <% if @traceback %>class="error-message"<% end %>>
  7. <h1>403: Forbidden</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-1.svg)"></div>
  13. <p>Sorry, but you're not allowed to access this page. If you're registered please log in and refresh this page.</p>
  14. <% else %>
  15. <% if @exception.message != @message %>
  16. <div><%= @exception.message %></div>
  17. <% end %>
  18. <% if @exception.backtrace %>
  19. <pre><code>
  20. <% @exception.backtrace.each {|row| %>
  21. <%= row %>
  22. <% } %></code></pre>
  23. <% end %>
  24. <% end %>
  25. </body>
  26. </html>