Add scss, improve homepage

This commit is contained in:
rubenwardy
2018-05-09 18:35:36 +01:00
parent 552e35f6aa
commit 1b0dfb2acc
12 changed files with 444 additions and 333 deletions

View File

@@ -27,6 +27,7 @@ def send_upload(path):
@app.route("/")
@menu.register_menu(app, ".", "Home")
def home_page():
return render_template("index.html")
packages = Package.query.filter_by(approved=True).all()
return render_template("index.html", packages=packages)
from . import users, githublogin, packages
from . import users, githublogin, packages, sass