Started work on Flask application
This commit is contained in:
parent
aeef56e663
commit
01acc0617c
5 changed files with 12 additions and 2 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
.vscode/
|
||||||
|
__pycache__/
|
||||||
|
venv/
|
||||||
7
app.py
Normal file
7
app.py
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
from flask import Flask, render_template
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
|
def hello_world():
|
||||||
|
return render_template('index.jinja')
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
<title>
|
<title>
|
||||||
Toddler Shop
|
Toddler Shop
|
||||||
</title>
|
</title>
|
||||||
<script src="/scripts/main.js"></script>
|
<script src="{{url_for('static', filename='scripts/main.js')}}"></script>
|
||||||
<link rel="stylesheet" href="style/main.css">
|
<link rel="stylesheet" href="{{url_for('static', filename='style/main.css')}}">
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
Loading…
Reference in a new issue