mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-26 16:52:12 +05:30
Set up for theme toggling
This commit is contained in:
parent
c6409c77a4
commit
6044c66407
@ -85,6 +85,7 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, mess
|
||||
|
||||
locale = env.get("preferences").as(Preferences).locale
|
||||
|
||||
error_message = translate(locale, message)
|
||||
unfound_tv_box_dark_theme = File.read("assets/404_tv_box_dark_theme.svg")
|
||||
next_steps = error_redirect_helper(env)
|
||||
|
||||
|
@ -3,6 +3,9 @@
|
||||
<% end %>
|
||||
|
||||
<div class="h-box">
|
||||
<a id="error-parent">
|
||||
<%= error_message %>
|
||||
</a>
|
||||
<%= unfound_tv_box_dark_theme %>
|
||||
<%= next_steps %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user