2
{% extends "base.html" %}
16
{% block document_title %}{{ block.super }} - Coloured style{% endblock %}
17
{% block page_title %}{{ block.super }} - Coloured style{% endblock %}
19
{% block title_row %}<tr><th>Title</th><th>Genre</th><th>Rating</th></tr>{% endblock %}
21
{% for book in books %}
22
{% ifchanged %}<tr><td colspan="3" align="center" style="background:yellow;" >{{ book.author }}</td>{% endifchanged %}
23
<tr style="background-color:{% cycle "#E3E4FA" "#FCDFFF" "#E9CFEC" "#C8BBBE" %};" ><td>{{ book.title }}</td><td>{{ book.genre }}</td><td>{% range book.rating %}<img src="{% media_finder "star.png" %}" />{% endrange %}</td></tr>
25
<tr><td><div>No Books here!</div></td></tr>
b'\\ No newline at end of file'