mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
Merge 129a899df6
into 53e8a5d62d
This commit is contained in:
commit
f61114dea0
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 %>
|
||||
<title><%= "Error" %> - Invidious</title>
|
||||
<% end %>
|
||||
|
||||
<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 %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user