|
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 textarea s 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 |
|
|
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 |
|
|
dfd6496513
|
handleUpload: make JSON, write to useful filenames, and add to decks
|
2019-01-14 23:50:25 -05:00 |
|
|
617176ed14
|
Simplify server switch/case and check if deck in decks list
|
2019-01-14 23:50:25 -05:00 |
|
|
4cedb447dd
|
Set version, license, and author in package.json
|
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 |
|
|
d43804896d
|
Add jshint header for playfield.js
|
2019-01-14 23:50:25 -05:00 |
|
|
c15494049d
|
Add .gitignore
|
2019-01-14 23:50:25 -05:00 |
|
|
2b9139dd66
|
Load more stuff from deck JSON
actually uses deck number and FaceURL
preperation for arbitrary decks (from TTS mods)
also changes to send only the deck part of the JSON
|
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 |
|
|
4133ba8e7c
|
Add default text for discard pile
|
2019-01-14 23:50:25 -05:00 |
|
|
631edefc9c
|
Allow spaces in deck names
|
2019-01-14 23:50:25 -05:00 |
|
|
77ca7ec536
|
Fix deckWidth->deckHeight typo
|
2019-01-14 23:50:25 -05:00 |
|
|
bb192cf535
|
Simplify access to deckJSON a bit
only needed a subsection
|
2019-01-14 23:50:25 -05:00 |
|
|
6e6f3189e1
|
Allow adding to bottom of pile by holding shift
|
2019-01-14 23:50:25 -05:00 |
|
|
d5b0b5ffee
|
Make pile list behavior a bit less dumb
- drag and drop doesn't jump all over the place
- can't drag cards from list into piles
|
2019-01-14 23:50:25 -05:00 |
|
|
7f656842e5
|
Add page titles
|
2019-01-14 23:50:25 -05:00 |
|
|
5c4936155e
|
Use a list for deck index
Not terribly useful yet, but easier to manually add to
|
2019-01-14 23:50:25 -05:00 |
|
|
1aa50927a8
|
Minor style fixes
|
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 |
|
|
4a90b4f9f1
|
Allow re-arranging cards in piles and properly draw things in that view
|
2019-01-14 23:50:25 -05:00 |
|
|
9d07b4f0c5
|
Add shake animation for shuffling piles
|
2019-01-14 23:50:25 -05:00 |
|
|
7bdbc538e3
|
Rearrange text in environment/card so order matches layout
|
2019-01-14 23:50:25 -05:00 |
|
|
12f8147cea
|
Indent environment/card
|
2019-01-14 23:50:25 -05:00 |
|
|
a843c0e0f2
|
Use linear gradient for text in environment/card
|
2019-01-14 23:50:25 -05:00 |
|
|
38e17c0622
|
Really basic client-side card generation
|
2019-01-14 23:50:25 -05:00 |
|
|
61f2851246
|
Move client js to 'js' subfolder, rename script.js to playfield.js
|
2019-01-14 23:50:25 -05:00 |
|
|
4d514c2f37
|
Provide a search box for filtering cards in pile list
|
2019-01-14 23:50:25 -05:00 |
|
|
3b62ed0244
|
Make scaling happen on doubletap, and be more persistent
|
2019-01-14 23:50:25 -05:00 |
|
|
07648ce1c5
|
Prevent right click context menu
Chrome (again) makes a context menu when a touch pointer is
held. We'll have none of that
|
2019-01-14 23:50:25 -05:00 |
|
|
fc23e7f2ef
|
Disable touch actions on all elements, except vertical scroll
disables stupid chrome gestures
|
2019-01-14 23:50:25 -05:00 |
|
|
2b71ea58ce
|
Move pile shuffle from click listener to interact.js tap event
|
2019-01-14 23:50:25 -05:00 |
|
|
068ee81df9
|
Fix contentType -> Content-Type
|
2019-01-14 23:50:25 -05:00 |
|
|
acb6c4365e
|
Minor fixes and cleanups
|
2019-01-14 23:50:25 -05:00 |
|
|
d2aab7a920
|
Add modal pile listing
|
2019-01-14 23:50:25 -05:00 |
|
|
b3d8ea8fac
|
Center align text in piles
|
2019-01-14 23:50:25 -05:00 |
|
|
fccc4e887f
|
Fix card backgroundPosition in Chrome
Apperently, in Firefox you can get the style before appending, whereas
in Chrome you cannot
|
2019-01-14 23:50:25 -05:00 |
|
|
dd94513736
|
Shuffle decks on click
|
2019-01-14 23:50:25 -05:00 |
|
|
345a86bfa6
|
Set correct name when updating pile text
|
2019-01-14 23:50:25 -05:00 |
|