From 6954dbf99e66052cf7a0518355088d62bfdec5dd Mon Sep 17 00:00:00 2001 From: alexwl Date: Wed, 24 Apr 2019 21:41:50 +0300 Subject: Add an option to sort files by name/type --- javascript/app/templates/components/file-tree.hbs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'javascript/app/templates/components') diff --git a/javascript/app/templates/components/file-tree.hbs b/javascript/app/templates/components/file-tree.hbs index b5e38ef..3559efe 100644 --- a/javascript/app/templates/components/file-tree.hbs +++ b/javascript/app/templates/components/file-tree.hbs @@ -2,6 +2,18 @@
{{input class="form-control" value=query placeholder="Filename"}}Hide
+
+ {{#radio-button + value="alphabetical" + groupValue=sortType}} + Sort by name + {{/radio-button}} + {{#radio-button + value="type" + groupValue=sortType}} + Sort by type + {{/radio-button}} +
-- cgit v1.2.3