summaryrefslogtreecommitdiff
path: root/certificate
diff options
context:
space:
mode:
authorprathamesh2015-07-08 23:40:34 +0530
committerprathamesh2015-07-08 23:40:34 +0530
commit3823e8355beb9c894cca4632adfa54a48cc08055 (patch)
treec57a3c9e2b47368d8dac883d56271816bc658e37 /certificate
parente12195618a33d855e8c058756e69bfc150253726 (diff)
downloadcertificate-generator-3823e8355beb9c894cca4632adfa54a48cc08055.tar.gz
certificate-generator-3823e8355beb9c894cca4632adfa54a48cc08055.tar.bz2
certificate-generator-3823e8355beb9c894cca4632adfa54a48cc08055.zip
Changes to the arduino certificate as per requirements
Diffstat (limited to 'certificate')
-rw-r--r--certificate/scilab_arduino_template/arduino_logo.pngbin15862 -> 30669 bytes
-rw-r--r--certificate/scilab_arduino_template/kannan-moudgalya-sign.pngbin0 -> 79661 bytes
-rw-r--r--certificate/scilab_arduino_template/text.pngbin27889 -> 27108 bytes
-rw-r--r--certificate/templates/arduino_google_feedback.html20
-rw-r--r--certificate/templates/index.html2
-rw-r--r--certificate/urls.py1
-rw-r--r--certificate/views.py4
7 files changed, 26 insertions, 1 deletions
diff --git a/certificate/scilab_arduino_template/arduino_logo.png b/certificate/scilab_arduino_template/arduino_logo.png
index f0ec489..16ae9f1 100644
--- a/certificate/scilab_arduino_template/arduino_logo.png
+++ b/certificate/scilab_arduino_template/arduino_logo.png
Binary files differ
diff --git a/certificate/scilab_arduino_template/kannan-moudgalya-sign.png b/certificate/scilab_arduino_template/kannan-moudgalya-sign.png
new file mode 100644
index 0000000..6feda2d
--- /dev/null
+++ b/certificate/scilab_arduino_template/kannan-moudgalya-sign.png
Binary files differ
diff --git a/certificate/scilab_arduino_template/text.png b/certificate/scilab_arduino_template/text.png
index 5ccc7d7..dce5d18 100644
--- a/certificate/scilab_arduino_template/text.png
+++ b/certificate/scilab_arduino_template/text.png
Binary files differ
diff --git a/certificate/templates/arduino_google_feedback.html b/certificate/templates/arduino_google_feedback.html
new file mode 100644
index 0000000..6d40de1
--- /dev/null
+++ b/certificate/templates/arduino_google_feedback.html
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+
+{% block header %}
+ <h1> Scilab Arduino Workshop 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 = "http://tinyurl.com/scilab-arduinoWS" target = "popup" >Feedback on Scilab-Arduino Workshop</a></li>
+ <li><a href = "http://tinyurl.com/scilab-arduino-book" target = "popup">Feedback on Scilab-Arduino Book</a></li>
+<!-- <div class="embed-responsive embed-responsive-16by9">
+ <iframe class="embed-responsive-item" src="https://docs.google.com/forms/d/1Unv2txg2zd2uNvGNnqycSJtKLtLUd3SgjeUs-fi6e4A/viewform"></iframe>
+ </div>
+ --> </ul>
+ <br>
+ <a class="btn btn-primary" style="float:right" href = "{% url 'certificate:arduino_download' %}">Skip feedback and download</a>
+ </div>
+{% endblock %}
diff --git a/certificate/templates/index.html b/certificate/templates/index.html
index 11a3a08..49a5dcd 100644
--- a/certificate/templates/index.html
+++ b/certificate/templates/index.html
@@ -12,7 +12,7 @@
<li><a href="{% url 'certificate:drupal_feedback' %}" >Drupal Camp Mumbai 2015</a></li>
<li><a href="{% url 'certificate:tbc_freeeda_download' %}" >FreeEDA Textbook Companion</a></li>
<li><a href="{% url 'certificate:dwsim_feedback' %}" >DWSIM Workshop 2015</a></li>
- <li><a href="{% url 'certificate:arduino_feedback' %}" >Scilab Arduino Workshop 2015</a></li>
+ <li><a href="{% url 'certificate:arduino_google_feedback' %}" >Scilab Arduino Workshop 2015</a></li>
</ul>
<div>
{% endblock %}
diff --git a/certificate/urls.py b/certificate/urls.py
index 830ea15..1881a30 100644
--- a/certificate/urls.py
+++ b/certificate/urls.py
@@ -17,6 +17,7 @@ urlpatterns = patterns('certificate.views',
url(r'^drupal_feedback/$', 'drupal_feedback', name='drupal_feedback'),
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'^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 3d18667..e2864fb 100644
--- a/certificate/views.py
+++ b/certificate/views.py
@@ -876,6 +876,10 @@ def create_dwsim_certificate(certificate_path, name, qrcode, type, paper, worksh
return [None, error]
+def arduino_google_feedback(request):
+ return render_to_response('arduino_google_feedback.html')
+
+
def arduino_feedback(request):
context = {}
ci = RequestContext(request)