So if I understood correctly, you like to manage Samba shares via a web interface? Correct?
Maybe you can have a look to Webmin. It should have a Samba plugin as well
https://dietpi.com/forum/t/resolved-removing-diversion-of-boot-overlays-readme-err/74/1