mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
28 lines
848 B
HTML
28 lines
848 B
HTML
{% extends "base.html" %}
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<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 }}{{ file.label | safe }}</a>
|
|
{% endif %}
|
|
{% if file.iscb %}
|
|
<a href="/comic/read/{{ file.location }}/{{ file.cur_page }}/" class="glyphicon {{ file.icon }} list-group-item"> {{ file }}{{ file.label | safe }}</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% else %}
|
|
<p class="list-group-item">No comics.</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block script %}
|
|
<script>
|
|
|
|
</script>
|
|
{% endblock %} |