Commit 6b5a9e8a by Hiago Rafael

Estrutura inicial do projeto

parents
from flask import Flask
app = Flask(__name__)
if __name__ == "__main__":
app.run(debug=True)
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>Fazenda</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<h1>Sistema da Fazenda 🐄</h1>
{% block content %}{% endblock %}
</body>
</html>
\ No newline at end of file
{% extends 'base.html' %}
{% block content %}
<h2>Cadastrar Animal</h2>
<form>
<input type="text" placeholder="Nome" required>
<input type="text" placeholder="Espécie" required>
<input type="number" placeholder="Idade" required>
<input type="number" placeholder="Peso" required>
<button type="submit">Cadastrar</button>
</form>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment