|
@@ -19,12 +19,6 @@ def index():
|
|
|
return send_from_directory('static', 'index.html')
|
|
|
|
|
|
|
|
|
-@app.route("/tutorial/<image>_afbeelding")
|
|
|
-def tutorial_image_page(image):
|
|
|
- """Display tutorial image"""
|
|
|
- return send_from_directory('static', 'tutorial/%s_afbeelding.html' % image)
|
|
|
-
|
|
|
-
|
|
|
@app.route("/tutorial/<document>.pdf", defaults={"document": "book"})
|
|
|
def tutorial_document(document):
|
|
|
"""Display tutorial document"""
|
|
@@ -37,6 +31,12 @@ def tutorial_image(image):
|
|
|
return send_from_directory('static', 'tutorial/%s.png' % image)
|
|
|
|
|
|
|
|
|
+@app.route("/tutorial/<image>")
|
|
|
+def tutorial_image_page(image):
|
|
|
+ """Display tutorial image"""
|
|
|
+ return send_from_directory('static', 'tutorial/%s_afbeelding.html' % image)
|
|
|
+
|
|
|
+
|
|
|
@app.route('/typeset', methods=['GET', 'POST'])
|
|
|
def typeset():
|
|
|
"""Add job to schedeuler"""
|