diff options
author | Akshen | 2018-10-10 10:50:20 +0530 |
---|---|---|
committer | Akshen | 2018-10-10 10:50:20 +0530 |
commit | bed6d3bec534ec5cd207e1fa00580749aaa14112 (patch) | |
tree | 8c13a8cd762971e86bb39a95029eb2a16784ded0 /static/website/templates/add_question.html | |
parent | 63bde864f757953faed546a537bc8ea77d3e3de2 (diff) | |
download | nccps-2018-bed6d3bec534ec5cd207e1fa00580749aaa14112.tar.gz nccps-2018-bed6d3bec534ec5cd207e1fa00580749aaa14112.tar.bz2 nccps-2018-bed6d3bec534ec5cd207e1fa00580749aaa14112.zip |
Add DWSIM Online Quiz
- Moderator can add, edit questions and view leaderboard
- Participant can take quiz specified for that day
Diffstat (limited to 'static/website/templates/add_question.html')
-rw-r--r-- | static/website/templates/add_question.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/static/website/templates/add_question.html b/static/website/templates/add_question.html new file mode 100644 index 0000000..a8b3440 --- /dev/null +++ b/static/website/templates/add_question.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} + + {% block content %} +<br><br><br> + + {% if messages %} + <ul class="messages"> + {% for message in messages %} + <div class="alert alert-{{ message.tags }}"> + <li {% if message.tags %} class="{{ message.tags }}"{% endif %}> {{ message }} + </li> + </div> + {% endfor %} + </ul> + {% endif %} + + +<div class="container"> + <p>Avoid using '+ % &' symbols instead use it's equivalent string. Eg use 'plus' instead of '+'</p> + <form method="POST"> + {% csrf_token %} + <!-- <table align="center" border="3"> --> + {{ questions.as_p }} + <!-- </table> --> + <br> + <button class="btn btn-primary center-block" type="Submit">Submit</button> + <br><br> + </form> +</div> + {% endblock %}
\ No newline at end of file |