forked from MIrrors/bin
Move business logic out of main, use askama and bound the ENTRIES
This commit is contained in:
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 %}
|
||||
Reference in New Issue
Block a user