summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/full.html18
-rw-r--r--templates/view.html2
2 files changed, 20 insertions, 0 deletions
diff --git a/templates/full.html b/templates/full.html
new file mode 100644
index 0000000..dfa0606
--- /dev/null
+++ b/templates/full.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>{{ title }}</title>
+ <link rel="StyleSheet" href="/highlight_stylesheet" type="text/css">
+ <link rel="StyleSheet" href="/static/paste.css" type="text/css">
+ <script type="text/javascript" src="/static/view.js"></script>
+</head>
+<body>
+{% if rendered %}
+<div class="paste-rendered">
+{% endif %}
+{{ text }}
+{% if rendered %}
+</div>
+{% endif %}
+</body>
+</html>
diff --git a/templates/view.html b/templates/view.html
index 0a20a62..a1d00a7 100644
--- a/templates/view.html
+++ b/templates/view.html
@@ -13,6 +13,8 @@
<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 %}