Skip to content
Snippets Groups Projects
Commit 419c2ac3 authored by Felix Chadwick-Smith's avatar Felix Chadwick-Smith
Browse files

Merge branch 'master' into 'main'

fixed background of add-project and submission

See merge request !27
parents d2d02041 2ace4a5a
No related branches found
No related tags found
1 merge request!27fixed background of add-project and submission
File added
No preview for this file type
No preview for this file type
No preview for this file type
import os import os
import secrets import secrets
from flask import Flask, render_template, request, redirect, flash
from flask import Flask, render_template, request, redirect, url_for, send_from_directory, abort, current_app from flask import Flask, render_template, request, redirect, url_for, send_from_directory, abort, current_app
from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy import SQLAlchemy
from flask_wtf import FlaskForm from flask_wtf import FlaskForm
......
...@@ -9,10 +9,11 @@ ...@@ -9,10 +9,11 @@
<script src="https://kit.fontawesome.com/221d185582.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/221d185582.js" crossorigin="anonymous"></script>
<style> <style>
body.home-page { body.home-page {
background-image: url("{{ url_for('static', filename='DSC_0393.JPG') }}"); background-image: url("{{ url_for('static', filename='images/DSC_0393.JPG') }}");
background-size: cover; background-size: cover;
} }
</style> </style>
</head> </head>
<body class="home-page"> <body class="home-page">
<nav> <nav>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment