expe.html 790 B

1234567891011121314151617181920212223242526272829
  1. {% extends 'base.html' %}
  2. {% load staticfiles %}
  3. {% block title %}
  4. Expe {{ expe_name }}
  5. {% endblock %}
  6. {% block content %}
  7. {% if request.session.begin %}
  8. <h3>{{ question }}</h3>
  9. <p>{{ indication }}</p>
  10. <br />
  11. <p>Press enter to begin experience</p>
  12. {% endif %}
  13. <!-- TODO : Load img from bitmap with javascript `loadImg.js` -->
  14. {% if not request.session.begin %}
  15. <img id="expeImg" src="/{{img_merged_path}}" data-img="{{request.session.img_merged}}"/>
  16. {% endif %}
  17. {% block javascripts %}
  18. <script src="{% static "js/pnglib.js" %}"></script>
  19. <script src="{% static "js/loadImg.js" %}"></script>
  20. <script src="{% static "js/keyEvents.js" %}"></script>
  21. {% endblock %}
  22. {% endblock %}