Skip to content

Commit

Permalink
first steps on web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklamers committed Dec 3, 2019
1 parent 1680b60 commit adf602e
Show file tree
Hide file tree
Showing 25 changed files with 9,081 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,15 @@ local_settings.py
db.sqlite3
db.sqlite3-journal

.idea/

# Flask stuff:
instance/
.webassets-cache

# NPM node_modules for web
node_modules/

# Scrapy stuff:
.scrapy

Expand Down
Empty file added webserver/config.py
Empty file.
12 changes: 12 additions & 0 deletions webserver/databoost/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from flask import Flask, send_from_directory

app = Flask(__name__)


# static file serving
@app.route('/static/<path:path>')
def send_js(path):
return send_from_directory('static', path)


from databoost.views import index
Empty file added webserver/databoost/forms.py
Empty file.
Empty file added webserver/databoost/models.py
Empty file.
13 changes: 13 additions & 0 deletions webserver/databoost/static/css/fonts.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions webserver/databoost/static/css/fonts.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions webserver/databoost/static/css/fonts.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@font-face {
font-family: 'Sofia Pro';
src: local('Sofia Pro Regular'), local('Sofia-Pro-Regular'), url('../fonts/SofiaProRegular.woff2') format('woff2'), url('../fonts/SofiaProRegular.woff') format('woff'), url('../fonts/SofiaProRegular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Avenir';
src: local('Avenir Roman'), local('Avenir-Roman'), url('../fonts/avenir-roman-webfont.woff') format('woff');
font-weight: 400;
font-style: normal;
}
Loading

0 comments on commit adf602e

Please sign in to comment.