Move business logic out of main, use askama and bound the ENTRIES

This commit is contained in:
Jordan Johnson-Doyle 2019-02-11 10:37:50 +00:00
parent 3093b06b4e
commit 9d4b3ecafc
No known key found for this signature in database
GPG key ID: A95F87B578CE79B6
8 changed files with 156 additions and 578 deletions

16
templates/paste.html Normal file
View file

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block styles %}
pre {
height: 100%;
width: 100%;
margin: 0;
overflow: scroll;
font-family: Courier;
line-height: 1.1;
}
{% endblock styles %}
{% block content %}
<pre><code>{{ content|safe }}</code></pre>
{% endblock content %}