summaryrefslogtreecommitdiff
path: root/tbc
diff options
context:
space:
mode:
authorprathamesh2014-09-24 14:42:49 +0530
committerprathamesh2014-09-24 14:42:49 +0530
commit3e5906b601b1074ca6fba5947ac102680432bfab (patch)
treefe3433db3317983788f09ef9070cb8c79bcee5c2 /tbc
parent3a65b0b9f59dea3a191a0f97006519b800a4794f (diff)
parent2b1ade3ef0f3ea986b1cbf2274cb0cee67b55cb3 (diff)
downloadPython-TBC-Interface-3e5906b601b1074ca6fba5947ac102680432bfab.tar.gz
Python-TBC-Interface-3e5906b601b1074ca6fba5947ac102680432bfab.tar.bz2
Python-TBC-Interface-3e5906b601b1074ca6fba5947ac102680432bfab.zip
Merge branch 'Proposal' of https://github.com/FOSSEE/Python-TBC-Interface into submit_proposal_again
Diffstat (limited to 'tbc')
-rwxr-xr-xtbc/templates/base.html3
-rw-r--r--tbc/templates/tbc/aicte-books.html3
-rw-r--r--tbc/templates/tbc/confirm-aicte-details.html10
3 files changed, 14 insertions, 2 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html
index 80a8694..ccd6cc7 100755
--- a/tbc/templates/base.html
+++ b/tbc/templates/base.html
@@ -92,8 +92,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.first_name }}<b class="caret"></b></a>
<ul class="dropdown-menu">
- <li><a href="{% url 'tbc:SubmitProposal' %}">Submit Proposal</a></li>
- <li><a href="{% url 'tbc:ListAICTE' %}">Submit AICTE Proposal</a></li>
+ <li><a href="{% url 'tbc:ListAICTE' %}">Submit Proposal</a></li>
<li><a href="{% url 'tbc:SubmitSample' %}">Submit Sample Notebook</a></li>
<li><a href="{% url 'tbc:SubmitCode' %}">Submit Codes</a></li>
<li><a href="{% url 'tbc:UpdateBook' %}">Update Submission</a></li>
diff --git a/tbc/templates/tbc/aicte-books.html b/tbc/templates/tbc/aicte-books.html
index 6b0864b..4cc3d15 100644
--- a/tbc/templates/tbc/aicte-books.html
+++ b/tbc/templates/tbc/aicte-books.html
@@ -4,6 +4,9 @@
<center><h3>List of AICTE Books</h3></center>
<hr>
<div id="content-wrap">
+ <p>Below is the list of AICTE recommended books. You can propose a book just by clicking on the link. However, if you wish to submit your own preferences other than AICTE books, click the button given below.</p>
+ <a href="{% url 'tbc:SubmitProposal' %}" class="btn btn-primary">I don't want to propose AICTE book</a>
+ <hr>
<table class="table table-bordered table-hover">
<th>SR #</th>
<th>Book (click on the link to propose the book)</th>
diff --git a/tbc/templates/tbc/confirm-aicte-details.html b/tbc/templates/tbc/confirm-aicte-details.html
index a13b1fb..e26c453 100644
--- a/tbc/templates/tbc/confirm-aicte-details.html
+++ b/tbc/templates/tbc/confirm-aicte-details.html
@@ -17,3 +17,13 @@
</form>
</div>
{% endblock %}
+
+{% block script %}
+<script>
+$( document ).ready(function() {
+ title = document.getElementById('id_title').readOnly = true;
+ author = document.getElementById('id_author').readOnly = true;
+ publisher_place = document.getElementById('id_publisher_place').readOnly = true;
+});
+</script>
+{% endblock %}