From bb054aebea41a44df116fac707cc0d9c8f3f00bc Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 29 Apr 2020 11:36:41 +0300 Subject: [PATCH] File browser --- app/views/console/database/rules/fileId.phtml | 6 ++--- app/views/console/storage/index.phtml | 2 +- public/dist/scripts/app-all.js | 8 +++--- public/dist/scripts/app.js | 8 +++--- public/scripts/services/search.js | 12 +++++++++ public/scripts/views/forms/upload.js | 25 ++++++++++++++----- 6 files changed, 42 insertions(+), 19 deletions(-) create mode 100644 public/scripts/services/search.js diff --git a/app/views/console/database/rules/fileId.phtml b/app/views/console/database/rules/fileId.phtml index dce9377e4..fb48f329b 100644 --- a/app/views/console/database/rules/fileId.phtml +++ b/app/views/console/database/rules/fileId.phtml @@ -12,11 +12,9 @@ $namespace = $this->getParam('namespace', ''); data-accept="" data-forms-upload="" data-label-button="Upload" - data-search="1" + data-search="escape($namespace); ?>" data-scope="sdk" data-default="" data-project="{{router.params.project}}" required - class="margin-bottom-no"> - - \ No newline at end of file + class="margin-bottom-no"> \ No newline at end of file diff --git a/app/views/console/storage/index.phtml b/app/views/console/storage/index.phtml index 73ad61a33..efbc6e21d 100644 --- a/app/views/console/storage/index.phtml +++ b/app/views/console/storage/index.phtml @@ -110,7 +110,7 @@ $fileLimitHuman = $this->getParam('fileLimitHuman', 0); - +