diff options
author | FOSSEE | 2016-05-30 16:46:28 +0530 |
---|---|---|
committer | FOSSEE | 2016-05-30 16:46:28 +0530 |
commit | 1bf85e9f5b9ce806ea35c69e4d1a5608d97126d2 (patch) | |
tree | 24b3678da5a5f3bb46dad0027be4f481eb8c3416 | |
parent | d1b6559b21d5bba3d533d1eecc0c3cc282e36601 (diff) | |
download | certificate-generator-1bf85e9f5b9ce806ea35c69e4d1a5608d97126d2.tar.gz certificate-generator-1bf85e9f5b9ce806ea35c69e4d1a5608d97126d2.tar.bz2 certificate-generator-1bf85e9f5b9ce806ea35c69e4d1a5608d97126d2.zip |
html templates for osdag
-rwxr-xr-x | certificate/templates/osdag_workshop_download.html | 60 | ||||
-rwxr-xr-x | certificate/templates/osdag_workshop_feedback.html | 20 |
2 files changed, 80 insertions, 0 deletions
diff --git a/certificate/templates/osdag_workshop_download.html b/certificate/templates/osdag_workshop_download.html new file mode 100755 index 0000000..79bd3cf --- /dev/null +++ b/certificate/templates/osdag_workshop_download.html @@ -0,0 +1,60 @@ +{% extends 'base.html' %} +{% block header%} + <h1> Osdag Workshop 2016</h1> +{% endblock %} +{% block content %} + <div class="modal fade" id="invalidModal" tabindex="-1" role="dialog" aria-labelledby="invalidModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> + <h4 class="modal-title" id="invalidModalLabel">Invalid User/Email</h4> + </div> + <div class="modal-body"> + {% if notregistered == 1 %} + Please enter a proper email address. + {% endif %} + </div> + </div> + </div> + </div> + <form class="col-lg-12" action="{% url 'certificate:osdag_workshop_download' %}" method="post"> + {% csrf_token %} + {{ message }} + <hr> + <div class="input-group" style="width:340px;text-align:center;margin:0 auto;"> + <input style="width:450;" class="form-control input-lg" placeholder="Enter the email address you used for registration" type="text" id="email" name=email> + <span class="input-group-btn"><button class="btn btn-lg btn-primary" type="submit">Download Certificate</button></span> + </div> + </form> + <center><h4>Problem in downloading the certificate? Write to us at <a href="mailto:certificates@fossee.in">certificates[at]fossee[dot]in</a></h4> + + <div class="modal fade" id="errorModal" tabindex="-1" role="dialog" aria-labelledby="errorModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> + <h4 class="modal-title" id="invalidModalLabel">Problem in downloading</h4> + </div> + <div class="modal-body"> + Sorry could not process your certificate. Kindly contact the FOSSEE team. + </div> + </div> + </div> + </div> +{% endblock %} + +{% block javascript %} +<script> + $(document).ready(function(){ + error = "{{ error }}" + if(error == "True"){ + $("#errorModal").modal(); + } + notreg = "{{ notregistered }}"; + if(notreg == "1"){ + $("#invalidModal").modal(); + } + }); +</script> +{% endblock %} diff --git a/certificate/templates/osdag_workshop_feedback.html b/certificate/templates/osdag_workshop_feedback.html new file mode 100755 index 0000000..6696ad1 --- /dev/null +++ b/certificate/templates/osdag_workshop_feedback.html @@ -0,0 +1,20 @@ + {% extends 'base.html' %} + +{% block header %} + <h1> Osdag Workshop </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/1X7TXaEhwUCpkZWXZMxoF4aywv1XUXNaKhfLpd1BC3w8/viewform?c=0&w=1&usp=mail_form_link" target = "popup" >Feedback on Osdag Workshop 2016</a></li> + </ul> + <br> + <a class="btn btn-primary" style="float:right" href = "{% url 'certificate:osdag_workshop_download' %}">Skip feedback and download</a> + </div> +{% endblock %} + + + + |