Commit Graph

98 Commits

Author SHA1 Message Date
058b4cf8be Fix PNG deck width in a less stupid way 2019-01-14 23:50:25 -05:00
2c819ad02e Fix styles in PNG render 2019-01-14 23:50:25 -05:00
b726813587 Add an explicit load button to deck JSON upload 2019-01-14 23:50:25 -05:00
f310782fc3 Fix vue-headful requirement 2019-01-14 23:50:25 -05:00
2c220bca2a Generate PNGs on the client instead of using phantomJS 2019-01-14 23:50:25 -05:00
36a8aeaf1f Improve editor download buttons 2019-01-14 23:50:25 -05:00
82539bfc60 Add a loading icon for deck upload 2019-01-14 23:50:25 -05:00
62e92eaf92 Allow generating other types of cards (ie 'character' and 'character-back') 2019-01-14 23:50:25 -05:00
687cd373b6 Clean up Editor controls, add button to download deck png 2019-01-14 23:50:25 -05:00
e9fd80dd66 Fix editor retrieving deck JSON 2019-01-14 23:50:25 -05:00
9e16ea14ad Allow for using CSS in PhantomJS deck rendering 2019-01-14 23:50:25 -05:00
9ad1329962 Strip "<?xml ..." header from SVG template files 2019-01-14 23:50:25 -05:00
a692a22a12 Use Vue-Headful to set page titles 2019-01-14 23:50:25 -05:00
c6853200ab Use YAML parser instead of JSON for deck input 2019-01-14 23:50:25 -05:00
d25da968c4 Fix some uploading stuff, rename some variables 2019-01-14 23:50:25 -05:00
96f1b728cb Rename and adjust example decks 2019-01-14 23:50:25 -05:00
8afda19685 Switch backend to NeDB storage, fix image/json creation 2019-01-14 23:50:25 -05:00
828ddf39e2 Start migration to Express/Vue/Parcel 2019-01-14 23:50:25 -05:00
a4b606f950 Remove proposal and evaluations 2019-01-14 23:50:25 -05:00
8cd2d2f122 Update phantomjs, add package-lock.json 2019-01-14 23:50:25 -05:00
b4c930ffd0 Use path.join instead of string concat 2019-01-14 23:50:25 -05:00
127394a729 Send the correct raw TTS json when the TTS output button is pressed 2019-01-14 23:50:25 -05:00
06d5af2e9e Add some example input jsons 2019-01-14 23:50:25 -05:00
00f0c17c24 Add some basic css 2019-01-14 23:50:25 -05:00
8ac026767a Add URL to README 2019-01-14 23:50:25 -05:00
0e5239734a Add evaluations 2019-01-14 23:50:25 -05:00
a7afab93f9 Fix villain deck image tag 2019-01-14 23:50:25 -05:00
11e86330b6 Fix Face URI quoting 2019-01-14 23:50:25 -05:00
6deeba8e25 Add basic README 2019-01-14 23:50:25 -05:00
e4819c1f26 Further fix server deck JSON generation 2019-01-14 23:50:25 -05:00
7c999e0dfd Allow for tap to "flip" cards with two states 2019-01-14 23:50:25 -05:00
7ddb8290b0 Playfield: Allow decks with spaces in name 2019-01-14 23:50:25 -05:00
b435916f32 Switch Playfield to use Fetch instead of XMLHTTPRequest 2019-01-14 23:50:25 -05:00
08e5a8f376 Partially fix server side deck generation for heros/villains 2019-01-14 23:50:25 -05:00
25ab1118bf Remove margin in rendered deck image 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
ae1517a717 Add basic deck-only input.json for hero and villain 2019-01-14 23:50:25 -05:00
b0ebbf2c62 Clean up all SVGs and prep villain and hero for adding 2019-01-14 23:50:25 -05:00
b6ab75b1aa Add back a common css file, use lower contrast color/background-color 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
b0207e3f8b Move css to subdirectory in prep for page-specific css 2019-01-14 23:50:25 -05:00
63e82b4556 Use textareas for block text 2019-01-14 23:50:25 -05:00
35973af7e3 Move deck files to 'decks' subdirectory and ignore 2019-01-14 23:50:25 -05:00
0a8a5f9573 Environment Template: Fix image placement 2019-01-14 23:50:25 -05:00
6d5196b1f1 Editor: hide things as per input JSON 2019-01-14 23:50:25 -05:00