mirror of
https://github.com/robertorincos/LabEngSW.git
synced 2026-01-15 14:42:54 -03:00
atualização
This commit is contained in:
BIN
__pycache__/app.cpython-313.pyc
Normal file
BIN
__pycache__/app.cpython-313.pyc
Normal file
Binary file not shown.
10
app.py
Normal file
10
app.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
app =Flask(__name__)
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(debug=True)
|
||||
9
requirements.txt
Normal file
9
requirements.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Click==7.0
|
||||
Flask==1.1.2
|
||||
Flask-SQLAlchemy==2.4.4
|
||||
gunicorn==19.9.0
|
||||
itsdangerous==1.1.0
|
||||
Jinja2==2.11.3
|
||||
MarkupSafe==1.1.1
|
||||
SQLAlchemy==1.3.22
|
||||
Werkzeug==1.0.1
|
||||
4
static/css/main.css
Normal file
4
static/css/main.css
Normal file
@@ -0,0 +1,4 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
12
templates/base.html
Normal file
12
templates/base.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href=""
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
9
templates/index.html
Normal file
9
templates/index.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends 'base.html'%}
|
||||
|
||||
{% block head %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Template</h1>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user