diff --git a/backend/static/css/styles.css b/backend/static/css/styles.css index ca974cb2..deb3c92f 100644 --- a/backend/static/css/styles.css +++ b/backend/static/css/styles.css @@ -27,9 +27,8 @@ flex-direction: column; justify-content: center; } -.watch-table { -font-size: 90%; - +.pure-table.watch-table td { + font-size: 90%; } .watch-table .error { @@ -89,3 +88,10 @@ a[target="_blank"]::after { content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==); margin: 0 3px 0 5px; } + +.fetch-error { +padding-top: 1em; +font-size: 60%; + max-width: 400px; + display: block; + } \ No newline at end of file diff --git a/backend/templates/watch-overview.html b/backend/templates/watch-overview.html index 3d972c7c..5b685b29 100644 --- a/backend/templates/watch-overview.html +++ b/backend/templates/watch-overview.html @@ -33,9 +33,12 @@ {{ loop.index }} {% if watch.title is not none %}{{ watch.title }}{% else %}{{ watch.url }}{% endif %} +{% if watch.last_error is defined and watch.last_error != False %} +
{{ watch.last_error }}
+ {% endif %} {{watch|format_last_checked_time}} - {% if watch.last_error is defined and watch.last_error != False %} !! {% endif %} + {{watch.last_changed|format_timestamp_timeago}} Recheck