diff --git a/app/routes.py b/app/routes.py index 5a5bf77..e332939 100644 --- a/app/routes.py +++ b/app/routes.py @@ -160,10 +160,6 @@ def dashboard(): return render_template("dashboard.html", timeline = timeline, tweets = tweets, boards = boards, columns = columns) -@app.route("/twtoken") -def twtoken(): - return f"{session['access_token']} -- {session['access_secret_token']}" - @app.route("/test") def test(): return render_template("elements.html") diff --git a/app/static/css/main.css b/app/static/css/main.css index b9504e8..4f36c0f 100644 --- a/app/static/css/main.css +++ b/app/static/css/main.css @@ -3793,10 +3793,10 @@ input, select, textarea { #main > header { padding: 12em 0 10em 0 ; - background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); + /*background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg");*/ background-attachment: fixed; background-position: center center; background-repeat: no-repeat; @@ -3943,10 +3943,10 @@ input, select, textarea { /* Landing */ body.landing #page-wrapper { - background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); + /*background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg");*/ background-attachment: fixed; background-position: center center; background-repeat: no-repeat; @@ -3964,10 +3964,10 @@ input, select, textarea { body.is-mobile.landing #banner, body.is-mobile.landing .wrapper.style4 { - background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); - background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../../images/banner.jpg"); + /*background-image: -moz-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: -ms-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg"); + background-image: linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("/static/images/banner.jpg");*/ background-position: center center; background-repeat: no-repeat; background-size: cover; diff --git a/app/static/sass/main.scss b/app/static/sass/main.scss index 36c12f9..8e9cdb5 100644 --- a/app/static/sass/main.scss +++ b/app/static/sass/main.scss @@ -1757,7 +1757,7 @@ #main { > header { @include padding(12em, 0); - @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("../../images/banner.jpg")')); + @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("/static/images/banner.jpg")')); background-attachment: fixed; background-position: center center; background-repeat: no-repeat; @@ -1882,7 +1882,7 @@ body.landing { #page-wrapper { - @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("../../images/banner.jpg")')); + @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("/static/images/banner.jpg")')); background-attachment: fixed; background-position: center center; background-repeat: no-repeat; @@ -1903,7 +1903,7 @@ #banner, .wrapper.style4 { - @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("../../images/banner.jpg")')); + @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("/static/images/banner.jpg")')); background-position: center center; background-repeat: no-repeat; background-size: cover; @@ -1913,4 +1913,4 @@ background-color: darken(_palette(bg), 8); } } - } \ No newline at end of file + } diff --git a/app/templates/template.html b/app/templates/template.html index e4482f7..8840f35 100644 --- a/app/templates/template.html +++ b/app/templates/template.html @@ -11,6 +11,7 @@ +