show_image.html 907 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!doctype html>
  2. <head>
  3. <title>Hello from Flask</title>
  4. <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"/>
  5. </head>
  6. <body>
  7. <div class="split left">
  8. <div class="header_centered">
  9. <h1>Drawing</h1>
  10. </div>
  11. <div class="centered">
  12. {% if filename %}
  13. <img src="{{ url_for('send_file', filename=filename) }}"/>
  14. {% else %}
  15. <h1>no image for whatever reason</h1>
  16. {% endif %}
  17. </div>
  18. </div>
  19. <div class="split right">
  20. <div class="top">
  21. <div style="text-indent:50px;">
  22. <h1>Extracted Tolerances</h1>
  23. <p>Maße: </p>
  24. <p><a href="http://localhost:5000/"> Upload another drawing </a></p>
  25. </div>
  26. </div>
  27. <div class="bottom">
  28. <div style="text-indent:50px;">
  29. <h1>Additional Requirements:</h1>
  30. </div>
  31. </div>
  32. </div>
  33. </body>
  34. <!--<img src="{{ url_for('send_file', filename=filename) }}" type="application/pdf" /-->