summaryrefslogtreecommitdiff
path: root/tbc
diff options
context:
space:
mode:
authorhardythe12015-01-28 15:15:47 +0530
committerhardythe12015-01-28 15:15:47 +0530
commit8daad37c496a799be5be65e6c95631c202480158 (patch)
tree3efc53b67fc1f86cd94dc27058c6af7998cfa075 /tbc
parent7a4b238f24bad69cbc2a891f2a54118387d9887c (diff)
downloadPython-TBC-Interface-8daad37c496a799be5be65e6c95631c202480158.tar.gz
Python-TBC-Interface-8daad37c496a799be5be65e6c95631c202480158.tar.bz2
Python-TBC-Interface-8daad37c496a799be5be65e6c95631c202480158.zip
added links to book details for books under progress
Diffstat (limited to 'tbc')
-rw-r--r--tbc/templates/tbc/books_under_progress.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/tbc/templates/tbc/books_under_progress.html b/tbc/templates/tbc/books_under_progress.html
index 63ad611..76afc21 100644
--- a/tbc/templates/tbc/books_under_progress.html
+++ b/tbc/templates/tbc/books_under_progress.html
@@ -2,9 +2,19 @@
{% block content %}
<center><h2> Books Under Progress </h2></center><br/>
- <ol>
+
+ <table class="table table-bordered table-hover">
+ <th>Sr #</th>
+ <th>Book</th>
{% for book in books_under_progress %}
- <li>{{ book.title }} by {{ book.author }}, {{ book.edition }}
+ <tr>
+ <td>
+ {{ forloop.counter }}
+ </td>
+ <td>
+ <a href="{% url 'tbc:BookDetails' book.id %}">{{ book.title }} by {{ book.author }}</a>
+ </td>
+ </tr>
{% endfor %}
- </ol>
+ </table>
{% endblock %}