From 8d36cf39ddd368eddd4392ac7b12d81601882c76 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Wed, 30 Apr 2014 19:22:07 -0400 Subject: [PATCH] ui: handle "folders", directory browsing with parents --- ui/index.html | 9 ++++++--- ui/javascripts/app/controllers.js | 12 ++++++++---- ui/javascripts/app/models.js | 6 ++++-- ui/javascripts/app/routes.js | 5 +++-- 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/ui/index.html b/ui/index.html index 4298403e69..6487c5961c 100644 --- a/ui/index.html +++ b/ui/index.html @@ -114,7 +114,6 @@
-
{{parentKey}} @@ -122,9 +121,13 @@
-
+ {{#if newKey.isFolder }} +

No value needed for nested keys.

+ {{else}} +
{{ textarea value=newKey.Value class="form-control"}}
+ {{/if}} @@ -137,7 +140,7 @@