From c95b134610d76271adb93ce62f2380e5b5e834fe Mon Sep 17 00:00:00 2001 From: nosmokingbandit Date: Tue, 28 Mar 2017 13:28:53 -0400 Subject: [PATCH] Farewell --- static/css/status.css | 18 ++++++++++++++++++ templates/status.py | 10 +++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/static/css/status.css b/static/css/status.css index 85025bfc..3147f1f0 100644 --- a/static/css/status.css +++ b/static/css/status.css @@ -6,6 +6,24 @@ div#content{ text-align: center; } +div#discontinued{ + background: -moz-linear-gradient(top, #f4693b 0%, #de3e65 0%, #f4693b 100%); /* FF3.6-15 */ + background: -webkit-linear-gradient(top, #f4693b 0%,#de3e65 0%,#f4693b 100%); /* Chrome10-25,Safari5.1-6 */ + background: linear-gradient(to bottom, #f4693b 0%,#de3e65 0%,#f4693b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ + padding: 0.25em 1em 0.5em 1em; + border-radius: 1em; + margin: 1em 0; + color: #212121; + font-size: 1.1em; +} + +div#discontinued a{ + font-weight: bold; + text-decoration: underline; + padding: none; + color: #212121; +} + div#view_config{ height: 3em; line-height: 3em; diff --git a/templates/status.py b/templates/status.py index fce84c13..8889a0d3 100644 --- a/templates/status.py +++ b/templates/status.py @@ -16,7 +16,7 @@ def default(self): with doc.head: Head.insert() - link(rel='stylesheet', href=core.URL_BASE + '/static/css/status.css?v=02.22') + link(rel='stylesheet', href=core.URL_BASE + '/static/css/status.css?v=03.28') link(rel='stylesheet', href=core.URL_BASE + '/static/css/{}status.css?v=02.22'.format(core.CONFIG['Server']['theme'])) link(rel='stylesheet', href=core.URL_BASE + '/static/css/movie_status_popup.css?v=02.22') link(rel='stylesheet', href=core.URL_BASE + '/static/css/{}movie_status_popup.css?v=02.22'.format(core.CONFIG['Server']['theme'])) @@ -25,6 +25,14 @@ def default(self): with doc: Header.insert_header(current="status") with div(id='content'): + with div(id='discontinued'): + h2('Important Notice') + span('Watcher has moved to ') + a('Watcher3', href='https://github.com/nosmokingbandit/watcher3') + with p('Watcher has been ported to Python3 and this version will no longer be supported. \ + Migrating to the new repo is easy. For help and community discussion please see this '): + a('Reddit post.', href='https://www.reddit.com/r/watcher/comments/620spa/watcher_has_moved_to_python3/') + with div(id='view_config'): span('Display: ') with select(id='list_style'):