<%inherit file="base.html"/> <%! from lazylibrarian import formatter %> <%def name="headerIncludes()">
<%def name="body()">

%for author in authors: <% totalbooks = author['UnignoredBooks'] havebooks = author['HaveBooks'] if not havebooks: havebooks = 0 try: percent = (havebooks*100.0)/totalbooks if percent > 100: percent = 100 if percent <= 100: css = "
" if percent <= 75: css = "
" if percent <= 50: css = "
" if percent <= 25: css = "
" except (ZeroDivisionError, TypeError): percent = 0 totalbooks = '?' css = "
" if author['Status'] == 'Paused': grade = 'X' %>
%endfor
Author Latest Book Released Downloaded Status
${author['AuthorName']} ${author['LastBook']} ${author['LastDate']} ${css}
${havebooks}/${totalbooks}
${author['Status']}
<%def name="headIncludes()"> <%def name="javascriptIncludes()">