summaryrefslogtreecommitdiff
path: root/tbc/templates/base.html
diff options
context:
space:
mode:
authorhardythe12014-02-11 20:01:34 +0530
committerhardythe12014-02-11 20:01:34 +0530
commit611fab4acd9ad4d8f88d13c5dbceee0d5acb7a40 (patch)
tree4d22ef7c8620e26c9db804f824837d1a192a53df /tbc/templates/base.html
parentb5794dee437fcd0448dccbcf37fcd2e0c3fd64b0 (diff)
downloadPython-TBC-Interface-611fab4acd9ad4d8f88d13c5dbceee0d5acb7a40.tar.gz
Python-TBC-Interface-611fab4acd9ad4d8f88d13c5dbceee0d5acb7a40.tar.bz2
Python-TBC-Interface-611fab4acd9ad4d8f88d13c5dbceee0d5acb7a40.zip
adding notification if no book found to update
Diffstat (limited to 'tbc/templates/base.html')
-rwxr-xr-xtbc/templates/base.html20
1 files changed, 16 insertions, 4 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html
index 097e130..134008f 100755
--- a/tbc/templates/base.html
+++ b/tbc/templates/base.html
@@ -152,10 +152,22 @@
<div class="clearfix"></div>
{% endif %}
{% if update_book %}
- <div data-alert class="alert span8">
- <p>Book has been updated successfully </p>
- <a class="close" data-dismiss="alert" href="#">&times;</a>
- </div>
+ <center>
+ <div class="alert" style="width:300px;height:23px;">
+ <a class="close" data-dismiss="alert" href="#">&times;</a>
+ <p>Book has been updated successfully !</p>
+ </div>
+ </center>
+ <div class="clearfix"></div>
+ {% endif %}
+ {% if not_found %}
+ <center>
+ <div class="alert" style="width:650px;height:23px;">
+ <a class="close" data-dismiss="alert" href="#">&times;</a>
+ <p>It seems that currently there is no book that you can update !! Please submit one.</p>
+ </div>
+ </center>
+ <div class="clearfix"></div>
{% endif %}
<div class="row-fluid">
<center><h3>Recent Submissions</h3></center>