diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-10-20 18:24:41 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-10-20 18:24:41 -0700 |
commit | c696db3e84d91092182adbeb7eef6126fad6be5d (patch) | |
tree | 7ac3af26887bc5350c9e2b20a65f86ffeed1a556 /youtube/templates/error.html | |
parent | 95f2f027eabdcc4dc3c1a77829bf2bf503ed2939 (diff) | |
download | yt-local-c696db3e84d91092182adbeb7eef6126fad6be5d.tar.lz yt-local-c696db3e84d91092182adbeb7eef6126fad6be5d.tar.xz yt-local-c696db3e84d91092182adbeb7eef6126fad6be5d.zip |
comments.js: include error in reply html rather than using an alert
Diffstat (limited to 'youtube/templates/error.html')
-rw-r--r-- | youtube/templates/error.html | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/youtube/templates/error.html b/youtube/templates/error.html index 2f94afa..c3f58b0 100644 --- a/youtube/templates/error.html +++ b/youtube/templates/error.html @@ -1,29 +1,8 @@ {% set page_title = 'Error' %} -{% extends "base.html" %} -{% block style %} - h1{ - font-size: 2rem; - font-weight: normal; - } - #error-box, #error-message{ - background-color: var(--interface-color); - width: 80%; - margin: auto; - margin-top: 20px; - padding: 5px; - } - #error-box > div, #error-box > p, #error-box > h1{ - white-space: pre-wrap; - margin-bottom: 10px; - } - .code-box{ - padding: 5px; - border-style:solid; - border-width:1px; - border-radius:5px; - } -{% endblock style %} +{% if not slim %} + {% extends "base.html" %} +{% endif %} {% block main %} {% if traceback %} |