Initial commit

This commit is contained in:
2015-06-16 21:07:21 +01:00
commit 32680d1d01
32 changed files with 10110 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block title %}My amazing blog{% endblock %}
{% block content %}
<h2 class="center">Comics</h2>
<div class="list-group">
{% if file_list %}
{% for file in file_list %}
<a href="/comic/file/0/{{ file }}/" class="list-group-item">{{ file }}</a>
{% endfor %}
{% else %}
<p class="list-group-item">No comics.</p>
{% endif %}
</div>
{% endblock %}

View File

@@ -0,0 +1,22 @@
{% extends "base.html" %}
{% block content %}
<center>
<br/>
<a href="/comic/file/{{ nav.next }}/{{ file_name }}/">
<img src="/comic/file/{{ nav.cur }}/{{ file_name }}/img" height="900"></img>
</a>
<br/>
<a href="/comic/file/{{ nav.prev }}/{{ file_name }}/">Prev</a>
{% if pages %}
<select>
{% for file in pages %}
<option value="{{ file.index }}" {% if nav.cur == file.index%}selected="True"{% endif %}>{{ file.name }}</option>
{% endfor %}
</select>
{% else %}
<p>No comics.</p>
{% endif %}
<a href="/comic/file/{{ nav.next }}/{{ file_name }}/">Next</a>
</center>
{% endblock %}