36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
{% extends "index" %}
|
|
|
|
{% block description %}{{ description }}{% endblock %}
|
|
|
|
{% block paste_header %}
|
|
<div>
|
|
{{ paste.markdown | safe }}
|
|
</div>
|
|
{% if paste.delete_at %}
|
|
<div class="autodelete-text">
|
|
This paste will be automatically deleted on {{ paste.delete_at }} UTC.
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if paste.exit_code is defined %}
|
|
<input type=hidden id=dbstatus value="{{ paste.exit_code }}">
|
|
{% endif %}
|
|
{% if paste.output is defined %}
|
|
<input type=hidden id=dboutput value="{{ paste.output }}">
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block code %}{{ paste.paste }}{% endblock %}
|
|
|
|
{% block languages %}
|
|
{% for language in languages %}
|
|
<option value="{{ language.identifier }}"
|
|
{% if paste.language_id == language.id %}
|
|
selected
|
|
{% endif %}
|
|
>{{ language.name }}</option>
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% block rawpaste %}<span class="autodelete-text"> | <a href="{{ raw_paste_url }}">raw paste</a></span>{% endblock %}
|