From 149465ab5278c135030466632c7fa79905c4646b Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 26 Jul 2017 15:55:39 +0100 Subject: [PATCH] Copy and cut files Former-commit-id: ac9399efef37f13706590384e29295c6234acb7c [formerly f62dcb89aa49125769405c502688f3f8d4348da3] [formerly 4b9f0fd696f449c30da2d2f7a11cf5d6c7054c54 [formerly 64e70e39dcf6759e04315bc97ec6a0fed927c737]] Former-commit-id: 422165231c785b121b1f6725909d3ce7c8dcdfee [formerly 2b26582a03f674d40abb39e27b2cc880d2bd3ebb] Former-commit-id: ee743808a3c012514c9b7d57a34c79e408a8a78b --- assets/src/components/Header.vue | 4 + assets/src/components/Listing.vue | 64 +++++++++- assets/src/components/ListingItem.vue | 12 +- assets/src/components/buttons/Copy.vue | 17 +++ assets/src/components/prompts/Copy.vue | 58 +++++++++ assets/src/components/prompts/FileList.vue | 137 +++++++++++++++++++++ assets/src/components/prompts/Move.vue | 134 ++------------------ assets/src/components/prompts/Prompts.vue | 4 + assets/src/components/prompts/Rename.vue | 2 +- assets/src/css/mobile.css | 2 +- assets/src/css/prompts.css | 2 +- assets/src/store/index.js | 4 + assets/src/store/mutations.js | 8 ++ assets/src/utils/api.js | 53 +++++--- caddy/hugo/rice-box.go | 69 ----------- dir/dir.go | 6 +- file.go | 9 +- resource.go | 15 ++- rice-box.go.REMOVED.git-id | 1 - 19 files changed, 371 insertions(+), 230 deletions(-) create mode 100644 assets/src/components/buttons/Copy.vue create mode 100644 assets/src/components/prompts/Copy.vue create mode 100644 assets/src/components/prompts/FileList.vue delete mode 100644 caddy/hugo/rice-box.go delete mode 100644 rice-box.go.REMOVED.git-id diff --git a/assets/src/components/Header.vue b/assets/src/components/Header.vue index aa30a5d5..9f9b2a77 100644 --- a/assets/src/components/Header.vue +++ b/assets/src/components/Header.vue @@ -38,6 +38,7 @@
{{ selectedCount }} selected +
@@ -46,6 +47,7 @@