templates/admin.html
author nishanth
Tue, 20 Apr 2010 23:29:44 +0530
changeset 23 f57c30096b51
parent 11 afc41af983e5
child 45 3be60e26e14f
permissions -rw-r--r--
added the link on home to attempt quiz
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" %}
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    11
<a href="/quiz/open/{{admin_key}}">Open quiz</a>
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    12
{% else %}
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    13
<a href="/quiz/close/{{admin_key}}">Close quiz</a>
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    14
{% endifequal %}
f57c30096b51 added the link on home to attempt quiz
nishanth
parents: 11
diff changeset
    15
<br /><br />
10
7535305b1104 created list feedbacks page
nishanth
parents: 7
diff changeset
    16
<a href="/feedback/list/{{admin_key}}">View the feedbacks submitted</a><br />
11
afc41af983e5 added show_report functionality
nishanth
parents: 10
diff changeset
    17
<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
    18
{% endblock %}