diff options
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 |