Refactor MoveFile.js and folder.ejs to improve file moving functionality
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -143,8 +143,9 @@
|
||||
<form class="file-actions d-flex align-items-center mb-2" action="/api/dpanel/dashboard/movefile/<%= folderName %>" method="post">
|
||||
<input type="hidden" name="fileName" value="<%= file.name %>">
|
||||
<input type="hidden" name="userName" value="<%= userName %>">
|
||||
<select class="form-control rounded mr-2 custom-dropdown" name="folderName">
|
||||
<select class="form-control rounded mr-2 custom-dropdown" name="newFolderName">
|
||||
<option value="" disabled selected>Déplacer vers...</option>
|
||||
<option value="root">Dossier Racine</option>
|
||||
<% allFolders.forEach(folder => { %>
|
||||
<option value="<%= folder %>"><%= folder %></option>
|
||||
<% }); %>
|
||||
|
||||
Reference in New Issue
Block a user