show_image.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!doctype html>
  2. <head>
  3. <title>Dimension Extraction</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="container">
  9. <div class="column column-one">
  10. <h1>Drawing</h1>
  11. <p> <a href="http://localhost:5000/"> Upload another drawing </a> </p>
  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 class="split middle">-->
  19. <div class="column column-two">
  20. <h1>Extracted Measurements</h1>
  21. <font size="3" face="Courier New" >
  22. <form method="post" action="">
  23. <table>
  24. <tr>
  25. <td style="text-align:center"><h3>Key Value</h3></td>
  26. <td style="text-align:center"><h3>Target Value</h3></td>
  27. <td style="text-align:center"><h3>Correct</h3></td>
  28. <td style="text-align:center"><h3>Actual Value</h3></td>
  29. </tr>
  30. {% for d in dims %}
  31. <tr>
  32. <td style="text-align:center"><input type="checkbox" name="check" value="checked"></td>
  33. <td style="text-align:center"> {{ d }}</td>
  34. <td style="text-align:center"><input type="checkbox" name="check" value="checked"></td>
  35. <td style="text-align:center"><input type="text" name="actual" size="10"></td>
  36. </tr>
  37. {% endfor %}
  38. </table>
  39. <button type="button" >Submit</button>
  40. </form>
  41. </font>
  42. </div>
  43. <!--<div class="split right">-->
  44. <div class="column column-three">
  45. <h1>Additional Infos:</h1>
  46. <table>
  47. {% for k in isos %}
  48. <tr>
  49. <td><a href="{{ url_for('generate', name=k) }}" > {{ k }} </a> </td>
  50. </tr>
  51. {% endfor %}
  52. </table>
  53. </div>
  54. </div>
  55. </body>