mirror of
https://github.com/iv-org/invidious.git
synced 2025-03-13 09:26:35 -04:00
Merge 129a899df6c991cd67756d63427127c4c842548a into adcdb8cb92bbf61bac46102eff026593d0bc87b0
This commit is contained in:
commit
716c8a9642
1261
assets/404_tv_box_dark_theme.svg
Normal file
1261
assets/404_tv_box_dark_theme.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 38 KiB |
1261
assets/404_tv_box_light_theme.svg
Normal file
1261
assets/404_tv_box_light_theme.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 38 KiB |
@ -1,8 +1,23 @@
|
|||||||
|
<%
|
||||||
|
dark_mode = env.get("preferences").as(Preferences).dark_mode
|
||||||
|
%>
|
||||||
|
|
||||||
<% content_for "header" do %>
|
<% content_for "header" do %>
|
||||||
<title><%= "Error" %> - Invidious</title>
|
<title><%= "Error" %> - Invidious</title>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class="h-box">
|
<div class="h-box">
|
||||||
<%= error_message %>
|
<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="SVG Image" style="width: 100px; height: auto;">
|
||||||
|
</div>
|
||||||
|
<% else %>
|
||||||
|
<div style="width: 100px; height: auto;">
|
||||||
|
<img src="/404_tv_box_light_theme.svg" alt="SVG Image" style="width: 100px; height: auto;">
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
<%= next_steps %>
|
<%= next_steps %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user