From e1349d418ce4bd5957f8fe657c2ce80d2b502b81 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 27 Aug 2017 19:35:08 +0100 Subject: views: In the summary, make the sections toggable As an experiment, make the sections of the summary to be toggable. This can help readability, although it's unclear if it's worth the additional complexity and could be removed later. --- views/tree-list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/tree-list.html') diff --git a/views/tree-list.html b/views/tree-list.html index 5eea1aa..70f032a 100644 --- a/views/tree-list.html +++ b/views/tree-list.html @@ -1,4 +1,4 @@ - +
% key_func = lambda (t, n, s): (t != 'tree', n.raw) % for type, name, size in sorted(tree.ls(dirname.raw), key = key_func): -- cgit v1.2.3