summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2014-12-06 17:38:34 +0530
committerprathamesh2014-12-06 17:38:34 +0530
commit234711a3724c8ad27422bbc76998e41b50265521 (patch)
treef8093165dc91e7087ae0da34d0ff0964cb649474
parent1035cb5d0230566501ea2b974611f9c5867325e9 (diff)
downloadcertificate-generator-234711a3724c8ad27422bbc76998e41b50265521.tar.gz
certificate-generator-234711a3724c8ad27422bbc76998e41b50265521.tar.bz2
certificate-generator-234711a3724c8ad27422bbc76998e41b50265521.zip
minor UI changes
-rw-r--r--certificate/templates/download.html6
-rw-r--r--certificate/templates/feedback.html13
2 files changed, 8 insertions, 11 deletions
diff --git a/certificate/templates/download.html b/certificate/templates/download.html
index 32dab33..9ba4acf 100644
--- a/certificate/templates/download.html
+++ b/certificate/templates/download.html
@@ -6,10 +6,10 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
- <h4 class="modal-title" id="invalidModalLabel">Invalid Email ID</h4>
+ <h4 class="modal-title" id="invalidModalLabel">Invalid Caategory</h4>
</div>
<div class="modal-body">
- Email ID you entered is not registered. Please use the Email ID which you used while registering for the conference.
+ The requested certificate is unavailable for your email address. Please select the appropriate category and retry.
</div>
</div>
</div>
@@ -22,7 +22,7 @@
<span class="input-group-btn"><button class="btn btn-lg btn-primary" type="submit">Get Certificate</button></span>
</div>
<hr>
- <p>Please choose the appropriate one</p>
+ <p>Please choose the appropriate category</p>
<input type="radio" name="type" id="P" value="P" checked="True">Participant
&nbsp;&nbsp;<input type="radio" name="type" id="A" value="A">Speaker
&nbsp;&nbsp;<input type="radio" name="type" id="W" value="W">Workshop
diff --git a/certificate/templates/feedback.html b/certificate/templates/feedback.html
index c5a40ac..e3be32d 100644
--- a/certificate/templates/feedback.html
+++ b/certificate/templates/feedback.html
@@ -1,25 +1,22 @@
{% extends 'base.html' %}
{% block content %}
- <form action="{% url 'certificate:feedback' %}" method="post">
+ <form action="{% url 'certificate:feedback' %}" method="post" style="width:800px">
<p>Please fill in the feedback form. This will greatly enable us to do better.</p>
{{ detail }}
{% csrf_token %}
<div style="padding-left:100px;text-align:left;" >
- <div>
<table class="table">
{{ form }}
</table>
{% for question in questions %}
- <tr>
- <label>Q{{ forloop.counter }}. {{ question.question }} <br>
- <textarea class="form-control" cols="80" id="{{ question.id }}" name="{{ question.id }}"></textarea><br>
- </tr>
+ <label>Q{{ forloop.counter }}. {{ question.question }} </label><br>
+ <textarea cols="80" class="form-control" id="{{ question.id }}" name="{{ question.id }}"></textarea><br>
{% endfor %}
- </table>
<span><button class="btn btn-lg btn-primary" type="submit">Submit</button></span>
<span><a href="{% url 'certificate:download' %}" class="btn btn-lg btn-primary" >Skip</a></span>
- </form>
+ </div>
+ </form>
<hr>
{% endblock %}