sheet_detail.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>AI_BRAIN</title>
  6. <style type="text/css">
  7. <!--
  8. h3 {
  9. margin-left:10px;
  10. text-align: center;
  11. }
  12. form {
  13. margin-left:10px;
  14. }
  15. .brain{
  16. text-align: center; /*让div内部文字居中*/
  17. }
  18. .inline{
  19. border:1px solid #000;
  20. border-radius: 10px;
  21. width: 360px;
  22. height: 300px;
  23. }
  24. -->
  25. </style>
  26. </head>
  27. <body>
  28. <div class="brain">
  29. <h2>&#8595 &#8595 AI-BRAIN &#8595 &#8595</h2><br>
  30. </div>
  31. <div class="inline" style="margin-left: 25%;float: left">
  32. <h3>答题卡分割</h3>
  33. <form action="/segment/sheet_detail/" method="post" enctype="multipart/form-data">
  34. <p>上传一张试卷,返回各试卷题目所在区域</p>
  35. {% csrf_token %}
  36. {{ form_img.as_p }}
  37. <input type="submit" value="上传"/><br>
  38. </form>
  39. </div>
  40. <div class="inline" style="margin-right: 25%;float: right;">
  41. <h3>答题卡分割(by_xml)</h3>
  42. <form action="/segment/sheetsmallbox/" method="post" enctype="multipart/form-data">
  43. <p>上传修正后的XML文件</p>
  44. {% csrf_token %}
  45. {{ form_xml.as_p }}
  46. <input type="submit" value="上传"/><br>
  47. </form>
  48. </div>
  49. <div class="inline" style="margin-left: 25%;float: left">
  50. <h3>答题卡分割并显示</h3>
  51. <form action="/segment/sheet_detail_show/" method="post" enctype="multipart/form-data">
  52. <p>上传一张试卷,返回各试卷题目所在区域</p>
  53. {% csrf_token %}
  54. {{ form_img.as_p }}
  55. <input type="submit" value="上传"/><br>
  56. </form>
  57. </div>
  58. <div class="inline" style="margin-right: 25%;float: right">
  59. <h3>套装答题卡分割</h3>
  60. <form action="/segment/multiple_sheet_detail/" method="post" enctype="multipart/form-data">
  61. <p>上传一张试卷,返回各试卷题目所在区域</p>
  62. {% csrf_token %}
  63. {{ form_img.as_p }}
  64. <input type="submit" value="上传"/><br>
  65. </form>
  66. </div>
  67. </body>
  68. </html>