diff --git a/covid19/static/index.js b/covid19/static/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/covid19/static/package.json b/covid19/static/package.json new file mode 100644 index 0000000000000000000000000000000000000000..6f7bf8ac3bdbef39d7b07d0ca72ea410a9e0d2f2 --- /dev/null +++ b/covid19/static/package.json @@ -0,0 +1,28 @@ +{ + "name": "covid19static", + "version": "0.0.13", + "description": "Covid19 Data Aggregation - also a Project to learn Python Flask, SQLAlchemy, Celery et al.", + "main": "index.js", + "scripts": { + "test": "test" + }, + "repository": { + "type": "git", + "url": "https://github.com/thomaswoehlke/covid19python/covid19/static" + }, + "keywords": [ + "virus", + "pandemic", + "covid19", + "data", + "statistic", + "who", + "rki", + "python", + "flask", + "sqlalchemy", + "postgresql" + ], + "author": "thomaswoehlke", + "license": "GPL-3.0-or-later", +} diff --git a/covid19/templates/page_layout.html b/covid19/templates/page_layout.html index 7bee37ba906a7a7b3853e58d6d0400983fee26ce..4877f12494e0a6a5253b5c28d654db2a43de614d 100644 --- a/covid19/templates/page_layout.html +++ b/covid19/templates/page_layout.html @@ -6,11 +6,12 @@ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous"> + <link href="/fontawesome_free/css/all.min.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> <title>{{page_info.title}}</title> </head> <body> -<div class="container-fluid"> +<div class="container"> <header> <div class="tw_padding"> @@ -66,5 +67,6 @@ <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script> + <script src="/fontawesome_free/js/all.min.js"></script> </body> </html> \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..bfbfa1eb551b75a0da0c63ef0304940338681bd9 --- /dev/null +++ b/package.json @@ -0,0 +1,35 @@ +{ + "name": "covid19python", + "version": "0.0.13", + "description": "Covid19 Data Aggregation - also a Project to learn Python Flask, SQLAlchemy, Celery et al.", + "main": "index.js", + "dependencies": {}, + "devDependencies": {}, + "scripts": { + "test": "test", + "postinstall": "cd covid19/static && npm install && ../.." + }, + "repository": { + "type": "git", + "url": "git+https://github.com/thomaswoehlke/covid19python.git" + }, + "keywords": [ + "virus", + "pandemic", + "covid19", + "data", + "statistic", + "who", + "rki", + "python", + "flask", + "sqlalchemy", + "postgresql" + ], + "author": "thomaswoehlke", + "license": "GPL-3.0-or-later", + "bugs": { + "url": "https://github.com/thomaswoehlke/covid19python/issues" + }, + "homepage": "https://github.com/thomaswoehlke/covid19python#readme" +} diff --git a/requirements.txt b/requirements.txt index 980dd69cc02576849e1e477ebf92eb88eb358871..55db64d44785b2adb3ffac1bcef1e84c3cbd56c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,7 @@ SQLAlchemy==1.3.22 psycopg2==2.8.6 wget==3.2 celery[redis]==5.0.5 +fontawesome-free==5.15.2 # # Frontend # diff --git a/setup.py b/setup.py index cb890cd812935d47b4c056c27c2ee5f480bfaf07..ecc1cbe6acf0d0b5a96d75eac8acb3ae622d8e27 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,9 @@ from setuptools import setup, find_packages +INSTALLED_APPS = [ + 'fontawesome-free' +] + setup( name='covid19python', version='0.0.13',