templates/admin.html
author nishanth
Thu, 01 Jul 2010 16:10:09 +0530
changeset 79 fa10c32b3730
parent 45 3be60e26e14f
child 80 96da6bf2b632
permissions -rw-r--r--
the basic page to display list of questions is ready
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     2
{% block content %}
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     3
<h3>{{event.title}}</h3>
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     4
{% ifequal event.feedback_status "0" %}
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     5
<a href="/feedback/open/{{admin_key}}">Open feedback</a>
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     6
{% else %}
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     7
<a href="/feedback/close/{{admin_key}}">Close feedback for day{{event.feedback_status}}</a>
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
     8
{% endifequal %}
10
7535305b1104 created list feedbacks page
nishanth
parents: 7
diff changeset
     9
<br /><br />
23
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    10
{% ifequal event.quiz_status "00" %}
45
3be60e26e14f added view quiz results links on admin page
nishanth
parents: 23
diff changeset
    11
<a href="/quiz/open/{{admin_key}}">Open quiz</a><br />
3be60e26e14f added view quiz results links on admin page
nishanth
parents: 23
diff changeset
    12
<br />
3be60e26e14f added view quiz results links on admin page
nishanth
parents: 23
diff changeset
    13
<a href="/quiz/toppers/{{admin_key}}/11">View results for Day 1 Quiz 1</a><br />
3be60e26e14f added view quiz results links on admin page
nishanth
parents: 23
diff changeset
    14
<a href="/quiz/toppers/{{admin_key}}/12">View results for Day 1 Quiz 2</a><br />
3be60e26e14f added view quiz results links on admin page
nishanth
parents: 23
diff changeset
    15
<a href="/quiz/toppers/{{admin_key}}/21">View results for Day 2 Quiz 1</a><br />
23
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    16
{% else %}
45
3be60e26e14f added view quiz results links on admin page
nishanth
parents: 23
diff changeset
    17
<a href="/quiz/close/{{admin_key}}">Close quiz</a><br />
23
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    18
{% endifequal %}
45
3be60e26e14f added view quiz results links on admin page
nishanth
parents: 23
diff changeset
    19
<br />
10
7535305b1104 created list feedbacks page
nishanth
parents: 7
diff changeset
    20
<a href="/feedback/list/{{admin_key}}">View the feedbacks submitted</a><br />
11
afc41af983e5 added show_report functionality
nishanth
parents: 10
diff changeset
    21
<a href="/feedback/report/{{admin_key}}">View report of feedbacks submitted</a><br />
7
dfedb369f32e first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
diff changeset
    22
{% endblock %}