diff options
author | hardythe1 | 2013-12-31 17:56:18 +0530 |
---|---|---|
committer | hardythe1 | 2013-12-31 17:56:18 +0530 |
commit | acb2cccb7e5979b5015bebff1827aa04a17fc808 (patch) | |
tree | 39c4698c0c7d64ced58dd344401fd5e388337b59 /tbc | |
parent | b5263d5a0513c206d6357b139ea208fb8e49759a (diff) | |
download | Python-TBC-Interface-acb2cccb7e5979b5015bebff1827aa04a17fc808.tar.gz Python-TBC-Interface-acb2cccb7e5979b5015bebff1827aa04a17fc808.tar.bz2 Python-TBC-Interface-acb2cccb7e5979b5015bebff1827aa04a17fc808.zip |
adding about page
Diffstat (limited to 'tbc')
-rwxr-xr-x | tbc/templates/base.html | 2 | ||||
-rw-r--r-- | tbc/templates/tbc/about-pytbc.html | 142 | ||||
-rw-r--r-- | tbc/urls.py | 1 | ||||
-rw-r--r-- | tbc/views.py | 15 |
4 files changed, 159 insertions, 1 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html index c8dbe88..abd7e3a 100755 --- a/tbc/templates/base.html +++ b/tbc/templates/base.html @@ -84,7 +84,7 @@ <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">About<b class="caret"></b></a> <ul class="dropdown-menu"> - <li><a href="#">Python TBC</a></li> + <li><a href="{% url 'tbc:AboutPytbc' %}">Python TBC</a></li> <li><a href="http://fossee.in" target="_blank">FOSSEE</a></li> <li><a href="http://python.fossee.in" target="_blank">Python Team</a></li> </ul> diff --git a/tbc/templates/tbc/about-pytbc.html b/tbc/templates/tbc/about-pytbc.html new file mode 100644 index 0000000..1c6b17a --- /dev/null +++ b/tbc/templates/tbc/about-pytbc.html @@ -0,0 +1,142 @@ +{% extends "base.html" %} + +{% block script %} +<script type='text/javascript'> +function data(showHideDiv) +{ + var ele=document.getElementById(showHideDiv); + if (ele.style.display=="block") + { + ele.style.display = "none"; + } + else + { + ele.style.display = "block"; + } +} +</script> +{% endblock %} + +{% block content %} +<center><h2> Textbook Companion Project </h2></center> +<hr> +<a href="" onClick="data('contri'); return false;" style="cursor:pointer;" />How do I contribute?</strong></p></a> +<div id="contentDiv"> + <div id="contri" style="padding:5px; display:none;"> + <p><h4> Anyone can contribute to the project. </p> + Stage 1</h4> + <ul> + <li>Contributor should visit the website to check the books that have already been selected by others and send proposals. This is to avoid multiple contributors working on same books + <li>Contributor selects 3 appropriate textbooks and <a href="/submitproposal">submits a proposal</a> + <li>Reviewer will have a look at the proposed books, will select an appropriate book and allot to the contributor + <li>Contributor will be notified to send sample codes for the allotted book (around 10 examples from random chapters) in form of iPython Notebook</li> + <li>Sample Notebook for your reference (see additional links for more details on iPython Notebook)</li> + <li>Contributor sends the required solved examples (sample code) as mentioned earlier in form of iPython Notebook + <li>Reviewer reviews the pilot examples and gives consent for further work + <li>Contributor is provided a time period of 2 months to code all the solved examples of allotted book once the pilot examples are approved + </ul> + <h4>Stage 2</h4> + <ul> + <li>Contributor is required to update the progress of the work if the reviewer request + <li>As soon as the contributor completes coding all the solved examples of the book, the final code should be submitted</li> + <li>Note: each chapter of the textbook should be a separate iPython Notebook</li> + <li>Thorough review will be done whenever content is submited & the contributor will be notified for any changes, if required + <li>On completion of the entire book, the contributor will be notified for further proceedings + </div> +</div> +<a href="" onClick="data('goodies'); return false;" style="cursor:pointer;" />Goodies</strong></p></a> +<div id="contentDiv"> + <div id="goodies" style="padding:5px; display:none;"> + <p> + <ul> + <li>Honorarium of Rs. 10000 on successful completion of a book to the student (read disclaimer) + <li>Honorarium of Rs. 5000 to the mentor (read disclaimer)</li> + <li>An IIT Bombay certificate + <li>More than anything else, the satisfaction that you are making the world a little bit better! + </ul> + + </p> + </div> +</div> +<a href="" onClick="data('disclaimer'); return false;" style="cursor:pointer;" />Disclaimer</strong></p></a> +<div id="contentDiv"> + <div id="disclaimer" style="padding:5px; display:none;"> + <p> + <ol> + <li>A minimum of 60 solved examples are required to receive the full honorarium of Rs. 10000 + <li>However, if the book has more than 60 examples, the contributor has to complete the whole book + <li>For books having less than 60 examples, honorarium will be provided at Principal Investigator's discretion + <li>Exceptional contributions will be rewarded at Principal Investigator's discretion + <li>Only after the whole books is called as "Complete" by reviewer, payment & certificate shall be provided</li> + <li>If you do not have a mentor, the honorarium of Rs. 5000 meant for the mentor will not be paid to you</li> + <li>This work is not meant to count for any academic credit and is totally out of the scope of your curriculum. + <li>All the code generated (and other content on the site), is licensed under <a href="http://creativecommons.org/licenses/by-sa/2.5/in/deed.en" target="_blank"> Creative Commons Attribution-ShareAlike 2.5 India (CC BY-SA 2.5)</a> + </ol> + +</p> + </div> +</div> +<a href="" onClick="data('faqs'); return false;" style="cursor:pointer;" />FAQs</strong></p></a> +<div id="contentDiv"> + <div id="faqs" style="padding:5px; display:none;"> + <p> + <ul> + <p><li>What is the last date to finish my textbook? + + <br><b>Ans: </b>Time duration shall be provided by the reviewer.<br> + + <p><li>If I am unable to finish within the time frame, can I continue ? + + <br><b>Ans: </b>In such cases, you are required to contact the reviewer as early as possible. <br> + <p><li>Is this only for Computer Science students and their textbooks? + + <br><b>Ans: </b>No! Any course that needs computational tasks to be performed, is under our purview.<br> + + <p><li>I want to convert only a few chapters. Is that OK? + + <br><b>Ans: </b>Yes, you will have to talk to the respective reviewer.<br> + + <p><li>I have no idea of any of the opensource tools mentioned. Is that OK? + + <br><b>Ans: </b>Absolutely, the whole idea is to spread the goodness of these tools. You can pick up the basics during an initial workshop and learn more as you go along.<br> + + <p><li>Can I take a textbook from another department? + + <br><b>Ans: </b>Yes, you will have to talk to the reviewer.<br> + + <p><li>I am a freshman. Can I be a part of this? + + <br><b>Ans: </b>Yeah! The earlier you get hold of these tools the better.<br> + + <p><li>Which textbooks do we need to code? + + <br><b>Ans: </b>Any book that needs computational tools.<br> + + <p><li>Can I use C/C++? + + <br><b>Ans: </b>Yes you may, however, you will not be paid.<br> + + <p><li>Can I use Java? + + <br><b>Ans: </b>Are you kidding? ;) + + <p><li>Can I use software X? + + <br><b>Ans: </b>Yes, as long as X is <a href="http://opensource.org/docs/osd" target="_blank">Open-source</a>, does a great job for that particular course and the reviewer is comfortable with reviewing and approving your code. + + </p> + </div> +</div> +<a href="" onClick="data('contact'); return false;" style="cursor:pointer;" />Contact</strong></p></a> +<div id="contentDiv"> + <div id="contact" style="padding:5px; display:none;"> + <p>For any queries or assistance you my require, feel free to contact us through below given mediums. + <ul> + <li>Mail - textbook@fossee.in + <li>Contact No.: 022-25764133 + </ul> + + </p> + </div> +</div> +{% endblock %} diff --git a/tbc/urls.py b/tbc/urls.py index 0df98c5..5311e26 100644 --- a/tbc/urls.py +++ b/tbc/urls.py @@ -4,6 +4,7 @@ from django.conf.urls import patterns, include, url urlpatterns = patterns('', url(r'^$', 'tbc.views.Home', name='Home'), url(r'^internship-forms/$', 'tbc.views.InternshipForms', name='InternshipForms'), + url(r'^about-pythontbc/$', 'tbc.views.AboutPytbc', name='AboutPytbc'), url(r'^register/$', 'tbc.views.UserRegister', name='UserRegister'), url(r'^login/$', 'tbc.views.UserLogin', name='UserLogin'), url(r'^logout/$', 'tbc.views.UserLogout', name='UserLogout'), diff --git a/tbc/views.py b/tbc/views.py index 44143bf..cc855b1 100644 --- a/tbc/views.py +++ b/tbc/views.py @@ -43,6 +43,21 @@ def InternshipForms(request): context['user'] = request.user return render_to_response('tbc/internship-forms.html', context) + +def AboutPytbc(request): + context = {} + images = [] + if request.user.is_anonymous(): + context['anonymous'] = True + else: + if is_reviewer(request.user): + context['reviewer'] = request.user + else: + context['user'] = request.user + return render_to_response('tbc/about-pytbc.html', context) + + + def Home(request): context = {} images = [] |