Commit Graph

20 Commits

Author SHA1 Message Date
127394a729 Send the correct raw TTS json when the TTS output button is pressed 2019-01-14 23:50:25 -05:00
933c275243 Add support for hero and villain decks
Should definitely have been smaller commits, but oh well, too lazy to
split them up now

important note: switched editor from XMLHttpRequest to fetch
2019-01-14 23:50:25 -05:00
7b3ca422c0 Add a cruddy handler for prompt when unload "unsaved changes" thing 2019-01-14 23:50:25 -05:00
dd76936478 Allow changing the type of deck after generation 2019-01-14 23:50:25 -05:00
f70af7cc02 Fix image edit not working in Chrome 2019-01-14 23:50:25 -05:00
4193ae14c9 Add jshit options for editor 2019-01-14 23:50:25 -05:00
fe1d2ecd4a Allow for downloading the input json from the editor 2019-01-14 23:50:25 -05:00
3ae052c13c Editor: Add save button and rearange buttons a bit 2019-01-14 23:50:25 -05:00
63e82b4556 Use textareas for block text 2019-01-14 23:50:25 -05:00
6d5196b1f1 Editor: hide things as per input JSON 2019-01-14 23:50:25 -05:00
13b3ed4c96 Use JSON templates for deck info 2019-01-14 23:50:25 -05:00
d12ab839aa Editor: Load existing input JSON if it exists 2019-01-14 23:50:25 -05:00
2bc6c4b58b Allow downloading input JSONs 2019-01-14 23:50:25 -05:00
6f5ab8b595 Add basic card editing 2019-01-14 23:50:25 -05:00
7a6ecc2202 Allow for newlines in wrapped text 2019-01-14 23:50:25 -05:00
26fa5f3398 Move playfield and editor html to separate files 2019-01-14 23:50:25 -05:00
afcb1851cc Flatten editor.js code 2019-01-14 23:50:25 -05:00
6619e20f4a Use PhantomJS to render PNGs from uploaded files
Not in a useful place yet, but hey: progress
2019-01-14 23:50:25 -05:00
c577e1c872 Use real width of SVGs for translation in editor 2019-01-14 23:50:25 -05:00
38e17c0622 Really basic client-side card generation 2019-01-14 23:50:25 -05:00