| Age | Commit message (Collapse) | Author |
|
The python code is now a package named app.
app/models: db models
app/routes: flask blueprints
app/static: css, js
app/templates: jinja html templates
|
|
Each block is defined by:
* html: front-end elements (modify: templates/index.html) (for now)
* css: front-end design (modify: static/style.css)
* js: front-end code (new file: static/block_name.js)
* python: back-end code (new file: ./block_name.py)
(will move later from the root to an "app" directory (python package)
|
|
Block layout is now flex.
|
|
Only 2 blocks: time and weather. Currently data is passed in formatted
strings made server-side (python) just for testing, later the formatting
should be client-side (html).
Also the "time" API might be redundant, ideally it should pass the city
names, and offsets (time zone), and then just use the system time
(otherwise DST jumps would need to be taken into account).
|