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. <link href="{% static 'gps_logger/cesium-1.60/Widgets/widgets.css' %}" rel="stylesheet" type="text/css">
  22. {% endblock %}
  23. {% block content %}
  24. <div id="map" class="fullSize"></div>
  25. {% endblock %}
  26. {% block body %}
  27. <div class="popup shadow" id="shadow" onclick="hide()"></div>
  28. <div class="popup frame" id="frame">
  29. <div class="demo-container">
  30. <div id="placeholder" class="demo-placeholder"></div>
  31. </div>
  32. <div class="demo-container" style="height:150px;">
  33. <div id="overview" class="demo-placeholder"></div>
  34. </div>
  35. <p></p>
  36. <p>Zoom to:
  37. <button id="whole">All</button>
  38. <button id="track">Track</button>
  39. </p>
  40. <p>Move:
  41. <button id="left">Left</button>
  42. <button id="right">Right</button>
  43. </p>
  44. <ul id="tracks">
  45. </ul>
  46. </div>
  47. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.min.js' %}"></script>
  48. <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/excanvas.min.js' %}"></script><![endif]-->
  49. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.min.js' %}"></script>
  50. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.time.min.js' %}"></script>
  51. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.selection.min.js' %}"></script>
  52. <script language="javascript" type="text/javascript" src="{% static 'gps_logger/flot/jquery.flot.navigate.min.js' %}"></script>
  53. <script src="{% static 'gps_logger/cesium-1.60/Cesium.js' %}" type="text/javascript"></script>
  54. <script src="{% static 'gps_logger/js/tracks.js' %}" type="text/javascript"></script>
  55. <script src="{% static 'gps_logger/js/main.js' %}" type="text/javascript"></script>
  56. {% endblock %}