Browse Source

Añado imagen de devesa park

politica
Celestino Rey 1 year ago
parent
commit
a7386a793c
3 changed files with 30 additions and 0 deletions
  1. BIN
      Padel/servicios/padel/static/devesapark.jpeg
  2. +6
    -0
      Padel/servicios/padel/templates/base.html
  3. +24
    -0
      Repostajes/app.py

BIN
Padel/servicios/padel/static/devesapark.jpeg View File

Before After
Width: 4032  |  Height: 3024  |  Size: 4.6 MiB

+ 6
- 0
Padel/servicios/padel/templates/base.html View File

@ -16,6 +16,7 @@
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css" />-->
</head>
<body>
{% include("_navegacion.html") %}
<section class="hero is-fullheight">
@ -23,8 +24,13 @@
{% block header %}{% endblock header %}
</header>
<div class="container has-text-centered mt-5">
{% block content %}
{% endblock %}
<figure class="image image is-5by4">
<img src="./static/devesapark.jpeg
" />
</figure>
</div>
<script src="" async defer></script>
</section>


+ 24
- 0
Repostajes/app.py View File

@ -0,0 +1,24 @@
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///todo.db'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
db=SQLAlchemy(app)
class Todo(db.Model):
sno=db.Column(db.Integer,primary_key=True)
title=db.Column(db.String(200),nullable=False)
description = db.Column(db.String(200), nullable=False)
def __repr__(self) :
return "{} is the title and {} is the description".format(self.title,self.description)
app = Flask(__name__)
@app.route("/")
def hello_world():
return "<p>Hello world from flask</p>"
if __name__ == "__main__":
app.run(debug=True)

Loading…
Cancel
Save