summaryrefslogtreecommitdiff
path: root/templates/view.html
blob: a1d00a70e99b2841881159584c7008336365e8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "base.html" %}
{% block head %}
		<link rel="StyleSheet" href="/highlight_stylesheet" type="text/css">
		<script type="text/javascript" src="/static/view.js"></script>
{% endblock %}
{% block content %}
		<p><a href="/">New paste</a></p>
		<div id="paste">
			<h3>{{ pastetitle }}</h3>
			<div id="info">Pasted by <span id="nick">{{ nick }}</span> on <span id="date">{{date }}</span>
			{% if syntax %} as <span id="syntax-type">{{ syntax }}</span>{% endif %}
			</div>
			<div id="alt-links">
				{% if hash %}
				<a href="/raw/{{ hash }}">Download as plain text</a>
				&mdash;
				<a href="/full/{{ hash }}">View in fullscreen</a>
				{% endif %}
			</div>
			{% if rendered %}
			<div class="paste-rendered">
			{% endif %}
			{{ text }}
			{% if rendered %}
			</div>
			{% endif %}
		</div>
{% endblock %}