ive been hard art work in the toyhouse layout coding mines today... It's been a while since I've poked at this but today I coded:
- grabbing all the data from the simple form fields
- grabbing the data from the reorderable lists for the details & rotating portrait
- converting that all into nunjucks variables
- feeding all that into the nunjucks layout & parsing that as HTML then rendering it in the preview pane
- added a custom CSS preview also
- made the preview update automatically when a field is updated / you hit enter / you edit a list
So now it's preddy functional ! Stuff is happening !! But the trickiest part is going to be coding the outfits section, & then exporting & importing the form data backup stuff...
For reference, the layout when fully filled out looks like this (live preview) (also featuring my profile css):
So still a ways to go yet with the form, but it's something!
