jeudi 4 juillet 2019

How to add checkboxes on a very specific point on the image in django?

There are two questions here. 1) I want to make check boxes solder points for a chip. So how do I go about displaying those specific soldering points/check boxes on the image? 2)If I have multiple such chips with varying number of solder points, how do I proceeding making such number of check boxes without making too many tables in my db?

So far I have thought of changing the background of the page and displaying check boxes. But since I have too many images I cant keep having to specifically 20-25 check boxes. I though of using a grid layout to help, but in that case a new grid layout for each image separately will be required because some places the solder joints are too close to each other. I don't know how to make one dynamic multiple choice field that will change the number of choices depending on the image. I don't know how to set said choices in a particular pattern on the image itself either. PS: I'm fairly new to Django and web development as a whole so any help whatsoever is most welcome

Aucun commentaire:

Enregistrer un commentaire