binawork / OnlineOnboarding

✈️ Online onboarding, reporting for employees, human resources management. A modern, simple and powerful web app to help you running your company while everyone are working remotely due to COVID social distancing
4 stars 0 forks source link

Feature/files in forms 160 #273

Open adam-sas-on opened 2 years ago

adam-sas-on commented 2 years ago

After this merge user will have an option to upload files for every page of packages. For a situation when filenames duplicate, backend changes name and keeps original name in database.

It will be necessary to do a migration of database: python manage.py migrate

Preview of the list of files in a form

Remarks A limit of the sum of file-sizes is not implemented yet. Error function for a case when file can not be updated is also a todo-feature (function(){} part of addNewFiles()). This merge is to dev branch, so main frontend branch will have to be update also.

This branch might not be to removed because there is a plan to change style ot the list of files.