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 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_sqlalchemy import SQLAlchemy
from flask_wtf import FlaskForm
......
......@@ -9,10 +9,11 @@
<script src="https://kit.fontawesome.com/221d185582.js" crossorigin="anonymous"></script>
<style>
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;
}
</style>
</head>
<body class="home-page">
<nav>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment