diff options
author | Sashi20 | 2018-10-10 15:03:02 +0530 |
---|---|---|
committer | GitHub | 2018-10-10 15:03:02 +0530 |
commit | cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b (patch) | |
tree | 8c13a8cd762971e86bb39a95029eb2a16784ded0 /static/website/templates/question_list.html | |
parent | 78e35b6ffa9ad3336484168b569e9f26c2d9a67e (diff) | |
parent | a80d99243f843181c7356d71a1b3446d5cc80637 (diff) | |
download | nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.gz nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.bz2 nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.zip |
Merge pull request #24 from Akshen/develop
DWSIM Quiz NCCP-2018
Diffstat (limited to 'static/website/templates/question_list.html')
-rw-r--r-- | static/website/templates/question_list.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/static/website/templates/question_list.html b/static/website/templates/question_list.html new file mode 100644 index 0000000..65b571a --- /dev/null +++ b/static/website/templates/question_list.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} + +{% load static %} + {% block content %} +<br><br> + <div class="container"> + <br><br> + <table> + {% for question in question_list %} + <a href="{{URL_ROOT}}/nccps-2018/edit_question/{{question.id}}"> {{ question.question | safe }}<br><br></a> + {% endfor %} + </table> + <br> + <a href="{% url 'website:add_questions' %}" ><button class="btn-default btn-warning"> Add Question </button></a> + <a href="{% url 'website:leaderboard' %}" ><button class="btn-default btn-info"> LeaderBoard </button></a> + <br><br> +</div> + + +{% endblock %}
\ No newline at end of file |