<%inherit file="base.html"/> <%! from mylar import helpers, db import datetime %> <%def name="body()">
%for comic in comics: <% if comic['percent'] == 101: css = '
' if comic['percent'] == 100: css = '
' if comic['percent'] < 100: css = '
' if any([comic['haveissues'] == 'None', comic['haveissues'] is None]): hissues = 0 else: hissues = comic['haveissues'] comic_percent = comic['percent'] + hissues if comic['Status'] == 'Paused': grade = 'X' elif comic['Status'] == 'Loading': grade = 'L' elif comic['Status'] == 'Error': grade = 'X' else: grade = 'A' %>
%endfor
Publisher Comic Year Last Issue Published Have Status Active
${comic['ComicPublisher']} ${comic['ComicName']} ${comic['ComicYear']} # ${comic['LatestIssue']} ${comic['LatestDate']} ${css}
${comic['haveissues']}/${comic['totalissues']}
${comic['recentstatus']} %if comic['Status'] == "Active": Y %elif comic['Status'] == 'Paused': Paused %elif comic['Status'] == 'Loading': Loading %else: N %endif
<%def name="headIncludes()"> <%def name="javascriptIncludes()">