index.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {% extends "homepage/base.html" %}
  2. {% load static %}
  3. {% block title %}GPS Logging{% endblock %}
  4. {% block header %}GPS Logging{% endblock %}
  5. {% block status %}
  6. {% if user.is_authenticated %}
  7. <p style="text-align:center">
  8. Hi {% firstof user.first_name user.username %}!<br/>
  9. <a href="{% url 'logout' %}" class="link">Logout</a>
  10. </p>
  11. {% else %}
  12. <p style="text-align:center">
  13. <a href="{% url 'login' %}" class="link">Login</a>
  14. </p>
  15. {% endif %}
  16. {% endblock %}
  17. {% block sidebar %}
  18. {% endblock %}
  19. {% block head %}
  20. <link href="{% static 'gps_logger/css/stylesheet.css' %}" rel="stylesheet" type="text/css">
  21. {% endblock %}
  22. {% block content %}
  23. <div id="map" class="fullSize"></div>
  24. {% endblock %}
  25. {% block body %}
  26. <div class="popup shadow" id="shadow" onclick="hide()"></div>
  27. <div class="popup frame" id="frame">
  28. <div class="demo-container">
  29. <div id="placeholder" class="demo-placeholder"></div>
  30. </div>
  31. <div class="demo-container" style="height:150px;">
  32. <div id="overview" class="demo-placeholder"></div>
  33. </div>
  34. <p></p>
  35. <p>Zoom to:
  36. <button id="whole">All</button>
  37. <button id="track">Track</button>
  38. </p>
  39. <p>Move:
  40. <button id="left">Left</button>
  41. <button id="right">Right</button>
  42. </p>
  43. <ul id="tracks">
  44. </ul>
  45. </div>
  46. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.js' %}"></script>
  47. <script src="{% static 'gps_logger/cesium-1.60/Cesium.js' %}" type="text/javascript"></script>
  48. <script src="{% static 'gps_logger/js/tracks.js' %}" type="text/javascript"></script>
  49. <script src="{% static 'gps_logger/js/main.js' %}" type="text/javascript"></script>
  50. <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/excanvas.min.js' %}"></script><![endif]-->
  51. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.min.js' %}"></script>
  52. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.min.js' %}"></script>
  53. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.time.min.js' %}"></script>
  54. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.selection.min.js' %}"></script>
  55. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.navigate.min.js' %}"></script>
  56. {% endblock %}