expe_indications.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {% extends 'base.html' %}
  2. {% load static %}
  3. {% block title %}
  4. Expe {{ expe_name }}
  5. {% endblock %}
  6. {% block content %}
  7. <h3>{{question}}</h3>
  8. <br />
  9. <h5>{{indication}}</h5>
  10. {% if start %}
  11. <br />
  12. <br />
  13. <div class="row">
  14. <div class="col-md-4 offset-md-4">
  15. <form method="GET" action="/expe">
  16. <div class="form-group">
  17. <input type="hidden" name="scene" value="{{scene_name}}"/>
  18. <input type="hidden" name="expe" value="{{expe_name}}"/>
  19. <input type="hidden" name="iteration" value="0"/>
  20. <label for="experimentId">Select experiment identifier:</label>
  21. <input type="text" class="form-control" name="experimentId" placeholder="Enter your experiment identifier"/>
  22. </div>
  23. </form>
  24. </div>
  25. </div>
  26. <p id="expeIndication"><strong>Press enter to begin experiments</strong></p>
  27. {% else %}
  28. <input type="hidden" name="scene_name" value="{{scene_name}}"/>
  29. <br/>
  30. <h5>{{example_sentence|linebreaks}}</h5>
  31. <img src="{{example}}" />
  32. {% endif %}
  33. {% endblock %}
  34. {% block javascripts %}
  35. <script src="{% static "js/indications.js" %}"></script>
  36. {% endblock %}