comparison ismi-python-neo4jrestclient/ismi-vis.py @ 35:9f0d4fd3a412

cleanup and layout tweaks.
author casties
date Thu, 04 Feb 2016 15:23:15 +0100
parents a6b2a09ea413
children 7b5dcd3238d2
comparison
equal deleted inserted replaced
34:4bbb832c53ac 35:9f0d4fd3a412
23 return app.send_static_file('commentaries.html') 23 return app.send_static_file('commentaries.html')
24 24
25 @app.route("/commentaries.html") 25 @app.route("/commentaries.html")
26 def get_commentaries(): 26 def get_commentaries():
27 return app.send_static_file('commentaries.html') 27 return app.send_static_file('commentaries.html')
28
29 @app.route("/commentaries_authors.html")
30 def get_commentaries_authors():
31 return app.send_static_file('commentaries_authors2.html')
32 28
33 @app.route('/static/<filename>') 29 @app.route('/static/<filename>')
34 def get_file(filename): 30 def get_file(filename):
35 return send_from_directory('static', filename) 31 return send_from_directory('static', filename)
36 32