diff options
author | hardythe1 | 2014-08-11 17:57:33 +0530 |
---|---|---|
committer | hardythe1 | 2014-08-11 17:57:33 +0530 |
commit | 60a93ffd5a9aa7abb0a4f09c5de4374b77b2cae8 (patch) | |
tree | 2bbf5c6e9b7277922e9a2760650531f97e4a4c12 /tbc/templates/base.html | |
parent | 250fc9e92257994e5610892be40ab62939fbcbac (diff) | |
download | Python-TBC-Interface-60a93ffd5a9aa7abb0a4f09c5de4374b77b2cae8.tar.gz Python-TBC-Interface-60a93ffd5a9aa7abb0a4f09c5de4374b77b2cae8.tar.bz2 Python-TBC-Interface-60a93ffd5a9aa7abb0a4f09c5de4374b77b2cae8.zip |
added changes to submit codes directly for a book & to overwrite the previous data for sample notebooks
Diffstat (limited to 'tbc/templates/base.html')
-rwxr-xr-x | tbc/templates/base.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html index 91e8454..9708a53 100755 --- a/tbc/templates/base.html +++ b/tbc/templates/base.html @@ -94,7 +94,7 @@ <ul class="dropdown-menu"> <li><a href="{% url 'tbc:SubmitProposal' %}">Submit Proposal</a></li> <li><a href="{% url 'tbc:SubmitSample' %}">Submit Sample Notebook</a></li> - <li><a href="{% url 'tbc:SubmitBook' %}">Submit Book</a></li> + <li><a href="{% url 'tbc:SubmitCode' %}">Submit Codes</a></li> <li><a href="{% url 'tbc:UpdateBook' %}">Update Submission</a></li> <li><a href="{% url 'tbc:UpdatePassword' %}">Update Password</a></li> <li><a href="{% url 'tbc:UserLogout' %}">Logout</a></li> @@ -188,6 +188,24 @@ </center> <div class="clearfix"></div> {% endif %} + {% if no_book_alloted %} + <center> + <div class="alert" style="width:400px;height:25px;"> + <a class="close" data-dismiss="alert" href="#">×</a> + <p>There is no book alloted to you. You cannot submit codes.</p> + </div> + </center> + <div class="clearfix"></div> + {% endif %} + {% if sample_notebook %} + <center> + <div class="alert" style="width:550px;height:40px;"> + <a class="close" data-dismiss="alert" href="#">×</a> + <p>Sample notebook has been submitted successfully. Please be patient while the reviewer reviews your codes & get backs to you.</p> + </div> + </center> + <div class="clearfix"></div> + {% endif %} <div class="row-fluid"> <center><h3>Recent Submissions</h3></center> {% for item in items %} |