From 3823e8355beb9c894cca4632adfa54a48cc08055 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Wed, 8 Jul 2015 23:40:34 +0530 Subject: Changes to the arduino certificate as per requirements --- .../scilab_arduino_template/arduino_logo.png | Bin 15862 -> 30669 bytes .../kannan-moudgalya-sign.png | Bin 0 -> 79661 bytes certificate/scilab_arduino_template/text.png | Bin 27889 -> 27108 bytes certificate/templates/arduino_google_feedback.html | 20 ++++++++++++++++++++ certificate/templates/index.html | 2 +- certificate/urls.py | 1 + certificate/views.py | 4 ++++ 7 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 certificate/scilab_arduino_template/kannan-moudgalya-sign.png create mode 100644 certificate/templates/arduino_google_feedback.html (limited to 'certificate') diff --git a/certificate/scilab_arduino_template/arduino_logo.png b/certificate/scilab_arduino_template/arduino_logo.png index f0ec489..16ae9f1 100644 Binary files a/certificate/scilab_arduino_template/arduino_logo.png and b/certificate/scilab_arduino_template/arduino_logo.png 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 Binary files /dev/null and b/certificate/scilab_arduino_template/kannan-moudgalya-sign.png differ diff --git a/certificate/scilab_arduino_template/text.png b/certificate/scilab_arduino_template/text.png index 5ccc7d7..dce5d18 100644 Binary files a/certificate/scilab_arduino_template/text.png and b/certificate/scilab_arduino_template/text.png 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 %} +

Scilab Arduino Workshop 2015

+{% endblock %} + +{% block content %} +

Your feedback will help us improve our services. Thank you for your time.

+
+ +
+ Skip feedback and download +
+{% 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 @@
  • Drupal Camp Mumbai 2015
  • FreeEDA Textbook Companion
  • DWSIM Workshop 2015
  • -
  • Scilab Arduino Workshop 2015
  • +
  • Scilab Arduino Workshop 2015
  • {% 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) -- cgit