Try to fix banner.jpg 404 error
This commit is contained in:
parent
2415834c72
commit
2f64db0a7b
4 changed files with 17 additions and 20 deletions
|
@ -160,10 +160,6 @@ def dashboard():
|
||||||
|
|
||||||
return render_template("dashboard.html", timeline = timeline, tweets = tweets, boards = boards, columns = columns)
|
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")
|
@app.route("/test")
|
||||||
def test():
|
def test():
|
||||||
return render_template("elements.html")
|
return render_template("elements.html")
|
||||||
|
|
|
@ -3793,10 +3793,10 @@ input, select, textarea {
|
||||||
|
|
||||||
#main > header {
|
#main > header {
|
||||||
padding: 12em 0 10em 0 ;
|
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: -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("../../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("../../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("../../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-attachment: fixed;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -3943,10 +3943,10 @@ input, select, textarea {
|
||||||
/* Landing */
|
/* Landing */
|
||||||
|
|
||||||
body.landing #page-wrapper {
|
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: -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("../../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("../../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("../../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-attachment: fixed;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -3964,10 +3964,10 @@ input, select, textarea {
|
||||||
|
|
||||||
body.is-mobile.landing #banner,
|
body.is-mobile.landing #banner,
|
||||||
body.is-mobile.landing .wrapper.style4 {
|
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: -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("../../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("../../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("../../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-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
|
@ -1757,7 +1757,7 @@
|
||||||
#main {
|
#main {
|
||||||
> header {
|
> header {
|
||||||
@include padding(12em, 0);
|
@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-attachment: fixed;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -1882,7 +1882,7 @@
|
||||||
|
|
||||||
body.landing {
|
body.landing {
|
||||||
#page-wrapper {
|
#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-attachment: fixed;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -1903,7 +1903,7 @@
|
||||||
|
|
||||||
#banner,
|
#banner,
|
||||||
.wrapper.style4 {
|
.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-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}" />
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}" />
|
||||||
<noscript><link rel="stylesheet" href="{{ url_for('static', filename='css/noscript.css') }}" /></noscript>
|
<noscript><link rel="stylesheet" href="{{ url_for('static', filename='css/noscript.css') }}" /></noscript>
|
||||||
|
<header class="intro-header" style="background-image: url('static/images/banner.jpg')">
|
||||||
</head>
|
</head>
|
||||||
<body class="landing is-preload">
|
<body class="landing is-preload">
|
||||||
|
|
||||||
|
|
Reference in a new issue