From 7924be10cdd632272cfa60cf66c61aab3f0b31b8 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Sun, 13 Dec 2015 12:59:04 -0500 Subject: [PATCH] Add an icon and sort column for pages/dirs in the index --- realms/templates/wiki/index.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/realms/templates/wiki/index.html b/realms/templates/wiki/index.html index 92ea1f8..ad6ea8c 100644 --- a/realms/templates/wiki/index.html +++ b/realms/templates/wiki/index.html @@ -3,7 +3,7 @@ {% block js %} {% endblock %} @@ -18,17 +18,20 @@ $(document).ready(function() { + - - + + {% for file in index %} {% if file['dir'] %} + {% else %} + {% endif %}
Name CreatedModified
Dir {{ file['name'][path|length:] }}Page {{ file['name'][path|length:] }}