summaryrefslogtreecommitdiffstats
path: root/templates/image_page_template.html
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2022-06-25 23:17:19 +0100
committerMartin Green <martin.speleo@gmail.com>2022-06-25 23:17:19 +0100
commit20583b04c0c1a826aaddbf0342f4369a206dae2d (patch)
treea1ef507b3f8827e70d0233cbb17191ec4f463e40 /templates/image_page_template.html
parentb3d9e814997ab8f83e8e441ed48625c66ed68d51 (diff)
downloadtroggle-20583b04c0c1a826aaddbf0342f4369a206dae2d.tar.gz
troggle-20583b04c0c1a826aaddbf0342f4369a206dae2d.tar.bz2
troggle-20583b04c0c1a826aaddbf0342f4369a206dae2d.zip
Allowed user to select/upload images when editing. When uploaded thumbnails and description pages are automatically created. Git commiting can now handle multiple files at once.
Diffstat (limited to 'templates/image_page_template.html')
-rw-r--r--templates/image_page_template.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/image_page_template.html b/templates/image_page_template.html
new file mode 100644
index 0000000..4a240e8
--- /dev/null
+++ b/templates/image_page_template.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
+<title>
+{{ header }}
+</title>
+<link rel="stylesheet" type="text/css" href="../../../css/main2.css" />
+</head>
+
+<body>
+<H1>{{ header }}</H1>
+<div class="centre"><img alt="" src="{{ filepath }}" />
+</div>
+
+<p>{{ description }}</p>
+
+{% if photographer %}
+<p class="caption">Photo &copy; {{ photographer }}{% if year %}, {{ year }}{% endif %}</p>
+{% endif %}
+
+<hr />
+</body>
+</html>