From a412164ef7a533bda11a9841281c8c9dc6593455 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 24 Jun 2021 17:33:09 +1000 Subject: [PATCH] moved styles to force folder naming correctly from base to files.html so that file_list.html didnt end up with crud. Also allowed move DBox to handle multiple storage paths and passes chosen (or only) storage path through to web front-end then to back-end job --- templates/files.html | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/templates/files.html b/templates/files.html index a090989..874ebce 100644 --- a/templates/files.html +++ b/templates/files.html @@ -1,5 +1,18 @@ {% extends "base.html" %} {% block main_content %} + + +
@@ -326,7 +339,22 @@ function MoveDBox() dt=$('.highlight').first().attr('date') div+=`
- To: / + ` + sps={{StoragePathNames()|safe}} + if( sps.length > 1 ) { + div+= '' + } else { + div+= '/'+sps[0]+'/' + div+= '' + } + div+=` + +