pestdetailForm.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {% load staticfiles %}
  2. <script src="{% static 'javascripts/jquery-1.12.0.min.js' %}" type="text/javascript"></script>
  3. <script src={% static 'javascripts/bootstrap.min.js' %})" type="text/javascript"></script>
  4. <div class="modal-header">
  5. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span style="font-size: 28px"
  6. aria-hidden="true">&times;</span>
  7. </button>
  8. <h4 class="modal-title" id="myModalLabel">详细信息</h4>
  9. </div>
  10. <div class="modal-body">
  11. <div class="row">
  12. <div class="col-md-12">
  13. <table class="table table-bordered">
  14. <tbody>
  15. {% for pest in pestinfo %}
  16. <tr>
  17. <td width="25%" style="text-align: right;
  18. font-weight: bold">录入日期:
  19. </td>
  20. <td width="40%">{{ pest.date }}</td>
  21. <td width="35%" style="text-align: center;
  22. font-weight: bold">实景图片:
  23. </td>
  24. </tr>
  25. <tr>
  26. <td width="25%" style="text-align: right;
  27. font-weight: bold">区域编号:
  28. </td>
  29. <td width="40%">{{ pest.adressid }}</td>
  30. <td rowspan="3" width="35%">
  31. <img src='{{ pest.pestpicurl1 }}' width="200px" height="280px"/>
  32. </td>
  33. </tr>
  34. <tr>
  35. <td width="25%" style="text-align: right;
  36. font-weight: bold">虫种:
  37. </td>
  38. <td width="40%">{{ pest.pestname }}</td>
  39. </tr>
  40. <tr>
  41. <td width="25%" style="text-align: right;
  42. font-weight: bold">害虫时期:
  43. </td>
  44. <td width="40%">{{ pest.pestfirstgrade }} {{ pest.pestsecondgrade }}</td>
  45. </tr>
  46. <tr>
  47. <td width="25%" style="text-align: right;
  48. font-weight: bold">备注:
  49. </td>
  50. <td width="40%">{{ pest.remark }}</td>
  51. <td rowspan="7" width="35%">
  52. <img src='{{ pest.pestpicurl2 }}' width="200px" height="280px"/>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td width="25%" style="text-align: right;
  57. font-weight: bold">调查者:
  58. </td>
  59. <td width="40%">{{ pest.researchpeople }}</td>
  60. </tr>
  61. </tbody>
  62. {% endfor %}
  63. </table>
  64. </div>
  65. </div>
  66. </div>