├── README.md ├── app ├── __init__.py ├── views.pyc ├── __init__.pyc ├── static │ ├── css │ │ ├── starter-template.css │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap-theme.css │ │ └── bootstrap-theme.css.map │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ └── js │ │ ├── npm.js │ │ ├── bootstrap.min.js │ │ └── bootstrap.js ├── templates │ ├── index.html │ ├── emailop.html │ ├── email.html │ └── base.html └── views.py ├── run.py └── tornadoapp.py /README.md: -------------------------------------------------------------------------------- 1 | # flask-dev 2 | A sample Flask app 3 | -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | from flask import Flask 2 | app = Flask(__name__) 3 | from app import views -------------------------------------------------------------------------------- /app/views.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InsightDataScience/flask-dev/master/app/views.pyc -------------------------------------------------------------------------------- /app/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InsightDataScience/flask-dev/master/app/__init__.pyc -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from app import app 4 | app.run(host='0.0.0.0', debug = True, port=80) 5 | -------------------------------------------------------------------------------- /app/static/css/starter-template.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | } 4 | .starter-template { 5 | padding: 40px 15px; 6 | text-align: center; 7 | } -------------------------------------------------------------------------------- /app/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InsightDataScience/flask-dev/master/app/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InsightDataScience/flask-dev/master/app/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InsightDataScience/flask-dev/master/app/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InsightDataScience/flask-dev/master/app/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /app/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 || id | 13 |time | 14 |fname | 15 |lname | 16 |message | 17 |
|---|---|---|---|---|
| {{val.id}} | 23 |{{val.time}} | 24 |{{val.fname}} | 25 |{{val.lname}} | 26 |{{val.message}} | 27 |