Move business logic out of main, use askama and bound the ENTRIES
This commit is contained in:
parent
3093b06b4e
commit
9d4b3ecafc
8 changed files with 156 additions and 578 deletions
16
templates/paste.html
Normal file
16
templates/paste.html
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue