diff options
author | prathamesh | 2015-09-12 00:45:54 +0530 |
---|---|---|
committer | prathamesh | 2015-09-12 00:45:54 +0530 |
commit | 1fd6b3a0f674673a31295c757a9bccfbd60bf553 (patch) | |
tree | 631cecd0c7f4e85f67b51713f88b755f7b5cce29 | |
parent | e8a8a23253ccd60a417fd2c5484442b86a4073bf (diff) | |
download | certificate-generator-1fd6b3a0f674673a31295c757a9bccfbd60bf553.tar.gz certificate-generator-1fd6b3a0f674673a31295c757a9bccfbd60bf553.tar.bz2 certificate-generator-1fd6b3a0f674673a31295c757a9bccfbd60bf553.zip |
added feedback for esim
-rw-r--r-- | certificate/templates/esim_google_feedback.html | 16 | ||||
-rw-r--r-- | certificate/templates/index.html | 2 | ||||
-rw-r--r-- | certificate/urls.py | 1 | ||||
-rw-r--r-- | certificate/views.py | 4 |
4 files changed, 22 insertions, 1 deletions
diff --git a/certificate/templates/esim_google_feedback.html b/certificate/templates/esim_google_feedback.html new file mode 100644 index 0000000..01a4491 --- /dev/null +++ b/certificate/templates/esim_google_feedback.html @@ -0,0 +1,16 @@ +{% extends 'base.html' %} + +{% block header %} + <h1> eSim Faculty Meet 2015 </h1> +{% endblock %} + +{% block content %} +<p> Your feedback will help us improve our services. Thank you for your time. </p> + <div style = "width:50%; margin:auto"> + <ul class = "nav nav-list"> + <li><a href = "https://docs.google.com/forms/d/1Dt0aR-X689JdpoDLTWu-UXhBzPZv_G1FX1XzVpZGCqQ/viewform?usp=send_form" target = "popup" >Feedback on eSim Faculty Meet 2015</a></li> + </ul> + <br> + <a class="btn btn-primary" style="float:right" href = "{% url 'certificate:esim_download' %}">Skip feedback and download</a> + </div> +{% endblock %} diff --git a/certificate/templates/index.html b/certificate/templates/index.html index aa5adcc..bed74b5 100644 --- a/certificate/templates/index.html +++ b/certificate/templates/index.html @@ -7,7 +7,7 @@ <div style="margin:auto; width:45%"> <p>Below links will take you to a feedback form.<br> Please fill the feedback form and download your <b>e-certificate</b>.</h5></p> <ul class="nav nav-list"> - <li><a href="{% url 'certificate:esim_download' %}" >eSim Faculty Meet 2015</a></li> + <li><a href="{% url 'certificate:esim_google_feedback' %}" >eSim Faculty Meet 2015</a></li> <li><a href="{% url 'certificate:arduino_google_feedback' %}" >Scilab Arduino Workshop 2015</a></li> <li><a href="{% url 'certificate:dwsim_feedback' %}" >DWSIM Workshop 2015</a></li> <li><a href="{% url 'certificate:tbc_freeeda_download' %}" >FreeEDA Textbook Companion</a></li> diff --git a/certificate/urls.py b/certificate/urls.py index d8a11b4..a162f76 100644 --- a/certificate/urls.py +++ b/certificate/urls.py @@ -18,6 +18,7 @@ urlpatterns = patterns('certificate.views', url(r'^dwsim_feedback/$', 'dwsim_feedback', name='dwsim_feedback'), url(r'^arduino_feedback/$', 'arduino_feedback', name='arduino_feedback'), url(r'^arduino_google_feedback/$', 'arduino_google_feedback', name='arduino_google_feedback'), + url(r'^esim_google_feedback/$', 'esim_google_feedback', name='esim_google_feedback'), url(r'^scipy_download/$', 'scipy_download', name='scipy_download'), url(r'^drupal_download/$', 'drupal_download', name='drupal_download'), url(r'^tbc_freeeda_download/$', 'tbc_freeeda_download', name='tbc_freeeda_download'), diff --git a/certificate/views.py b/certificate/views.py index b581eba..ac386c1 100644 --- a/certificate/views.py +++ b/certificate/views.py @@ -1025,6 +1025,10 @@ def create_arduino_certificate(certificate_path, name, qrcode, type, paper, work return [None, error] +def esim_google_feedback(request): + return render_to_response('esim_google_feedback.html') + + def esim_download(request): context = {} err = "" |