pestmap.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {% extends "master/layout.html" %}
  2. {% load staticfiles %}
  3. {% block content %}
  4. <!DOCTYPE html>
  5. <script src="{% static 'javascripts/jquery-1.12.0.min.js' %}" type="text/javascript"></script>
  6. <script src="{% static 'javascripts/jquery.dataTables.min.js' %}" type="text/javascript"></script>
  7. <script src="{% static 'javascripts/bootstrap.min.js' %}" type="text/javascript"></script>
  8. <script src="{% static 'javascripts/dataTables.bootstrap.min.js' %}" type="text/javascript"></script>
  9. <script src="{% static 'javascripts/markerclusterer.js' %}" type="text/javascript"></script>
  10. <script src="http://maps.google.cn/maps/api/js?key=AIzaSyAeshLSAWF5DhBWPNbwdR251wiPlJJdAcY&language=zh-CN"></script>
  11. <script src="{% static 'javascripts/googlemap.js' %}" type="text/javascript"></script>
  12. <div>
  13. <div class="col-lg-12">
  14. <div class="col-lg-12">
  15. <div class="col-lg-8">
  16. 区域编号:
  17. <select type="text" id="areaid">
  18. <option value=0>-全部-</option>
  19. {% for id in areaid %}
  20. <option value={{ id.id }}>{{ id.adressid }}</option>
  21. {% endfor %}
  22. </select>
  23. &nbsp;&nbsp;&nbsp;&nbsp;
  24. 虫种:
  25. <select type="text" id="pestname">
  26. <option value=0>-全部-</option>
  27. {% for name in pestname %}
  28. {% if name.pestname != NULL %}
  29. <option value={{ name.id }}>{{ name.pestname }}</option>
  30. {% endif %}
  31. {% endfor %}
  32. </select>
  33. &nbsp;&nbsp;&nbsp;&nbsp;
  34. 调查人:
  35. <select type="text" id="researchpeople">
  36. <option value=0>-全部-</option>
  37. {% for name in researchname %}
  38. <option value={{ name.id }}>{{ name.username }}</option>
  39. {% endfor %}
  40. </select>
  41. &nbsp;&nbsp;&nbsp;&nbsp;
  42. <input type="button" id="search" value="查询">
  43. </div>
  44. <br>
  45. <br>
  46. </div>
  47. <br>
  48. <br>
  49. </div>
  50. <div class="col-md-12"></div>
  51. <div class="col-md-12">
  52. <div id="map" class="col-md-12" style="height: 600px;">
  53. </div>
  54. </div>
  55. </div>
  56. <!-- Employee Form Modal -->
  57. <form id="pestdetailForm" role="form" class="form-horizontal col-lg-12" enctype="multipart/form-data">
  58. <div class="modal" id="treeModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  59. <div class="modal-dialog" role="document">
  60. <div class="modal-content">
  61. </div>
  62. </div>
  63. </div>
  64. </form>
  65. {% endblock %}