mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +00:00
29 lines
979 B
HTML
29 lines
979 B
HTML
{% extends "base.html" %}
|
|
{% block title %}CBreader{% endblock %}
|
|
|
|
{% block breadcrumb %}
|
|
{% for crumb in breadcrumbs %}
|
|
{% if not forloop.last %}
|
|
<li><a href="{{ crumb.url }}">{{ crumb.name }}</a></li>
|
|
{% else %}
|
|
<li class="active">{{ crumb.name }}</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
{% block content %}
|
|
<h2 class="center">Comics</h2>
|
|
<div class="list-group">
|
|
{% if file_list %}
|
|
{% for file in file_list %}
|
|
{% if file.isdir %}
|
|
<a href="/comic/{{ file.location }}/" class="glyphicon {{ file.icon }} list-group-item"> {{ file }}</a>
|
|
{% endif %}
|
|
{% if file.iscb %}
|
|
<a href="/comic/read/{{ file.location }}/0/" class="glyphicon {{ file.icon }} list-group-item"> {{ file }}</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% else %}
|
|
<p class="list-group-item">No comics.</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %} |