psi-4ward / psitransfer

Simple open source self-hosted file sharing solution.
BSD 2-Clause "Simplified" License
1.5k stars 217 forks source link

Customization using CSS (or modification to the pug files) #314

Open adit-s opened 1 month ago

adit-s commented 1 month ago

Hello. I was looking for a tool to allow others to upload files for me and psitransfer is really good! Thanks for writing and maintaining it.

I'd like to hide the Settings box on the upload page so the default settings are applied and users don't have the option to change the Retention period or Password setting when they visit the site. I went through the open and closed issues and understand the concepts of customizing the css, but I can't figure out how to do it with the Settings box on the upload page. I was trying to find a unique div ID (for the Settings block) to apply the custom css rule with display:none applied, but I can't find it or figure out how to do it.

I generally understand HTML and CSS but am not a web developer and have never used PUG before. I'd appreciate it if someone could give me a hand and layout the steps to hide the Settings block on the upload page. It looks like CSS is the recommended or cleaner option, but I'm open to using PUG if that is the preferred approach.

Thanks in advance. Adit S

jcormier commented 1 month ago

Not the dev but I would try to clear the contents of https://github.com/psi-4ward/psitransfer/blob/5491b501f855edd3fec2a8e9beb9861512013303/app/src/Upload/Settings.vue or perhaps everything inside its