]> Untitled Git - web-gallery.git/blobdiff - navigator/app/templates/pages.html
Updated to 1.7.0
[web-gallery.git] / navigator / app / templates / pages.html
index f74770a1d353814b700caa398534de6e63d7abfe..8ff8c83ee415694dadcef1f494f63c90fe88200a 100644 (file)
@@ -1,23 +1,22 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <title>Pages</title>
-</head>
-<body>
-    <h1>Pages</h1>
+{% extends 'base.html' %}
 
-    {% if description %}
-    <p>
-    {% autoescape false %}
-    {{ description }}
-    {% endautoescape %}
-    </p>
-    {% endif %}
+{% block title %}
+{{ title }}
+{% endblock %}
 
-    <ul id="navigation">
-    {% for page in pages %}
-        <li><a href="{{ gallery }}/{{ page.number }}">{{ page.number }}</a></li>
-    {% endfor %}
-    </ul>
-</body>
-</html>
+{% block content %}
+{% if header %}
+<div class="card third-color">
+{% autoescape false %}
+{{ header }}
+{% endautoescape %}
+</div>
+{% endif %}
+
+<ul class="card third-color" id="navigation">
+{% for page in pages %}
+    <li class="link fourth-color">
+        <a href="{{ gallery }}/{{ page.number }}">{{ page.number }}</a>
+    </li>
+{% endfor %}
+{% endblock %}