Merge 547b3ee221483540346b8a031b9da4c1e8caf3f3 into cf52a353662cce1ff97d294a14e2903ace52206b

This commit is contained in:
broquemonsieur 2025-12-18 00:20:51 -06:00 committed by GitHub
commit 6c63a21f8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2538 additions and 1 deletions

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 38 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,8 +1,23 @@
<%
dark_mode = env.get("preferences").as(Preferences).dark_mode
%>
<% content_for "header" do %>
<title><%= "Error" %> - Invidious</title>
<% end %>
<div class="h-box">
<div style="display: flex; flex-direction: column; align-items: center;">
<%= error_message %>
<% if dark_mode == "dark" %>
<div style="width: 100px; height: auto;">
<img src="/404_tv_box_dark_theme.svg" alt="" style="width: 100px; height: auto;">
</div>
<% else %>
<div style="width: 100px; height: auto;">
<img src="/404_tv_box_light_theme.svg" alt="" style="width: 100px; height: auto;">
</div>
<% end %>
</div>
<%= next_steps %>
</div>