mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 23:42:16 +05:30
Merge 129a899df6
into a88a723de3
This commit is contained in:
commit
32616072aa
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