fixed up genres.html, publisers.html to work, tweaked menu structure -- still more placeholders than working for now, but started on an Admin menu to allow dealing with genres, covertypes, conditions, etc.

This commit is contained in:
2020-11-15 14:26:52 +11:00
parent e39a4da6a2
commit 1de0ed27d9
4 changed files with 21 additions and 13 deletions

View File

@@ -120,16 +120,11 @@ def book(id):
book_s['sub_book'] = sub_book
# print( "parent book details:" )
# print( book.parent_ref )
# print( "child book details:" )
# print( book.child_ref )
return render_template("book.html", books=book_s, subs=sub_book )
@app.route("/", methods=["GET"])
def main_page():
return render_template("main.html")
return render_template("base.html")
if __name__ == "__main__":
app.run(host="0.0.0.0", debug=True)