-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Need app.js to track each step in the CSS classes changing and some buttons appearing. Usually switching between btn-primary and btn-success, some bootstrap classes. And a positional class such as text-center or pull-right (none for left), but all should have btn bootstrap css class.
primary = blue, success = green, warning = orange
init / 0 files selected
-
$scope.splitLastOne=false
-
canvas height 0
Select File (LEFT GREEN) (PULL-RIGHT BLUE) Save File // but above the canvas/image area, if possible
1+ files selected && splitLastOne=false:
// buttons present under above conditions
ADD NEXT TILE (LEFT GREEN) SPLIT CURRENT MEME (MIDDLE GREEN) (PULL-RIGHT GREEN) Save This
- add next tile adds 500px height to the canvas, opens window to select new file
- split current meme triggers splitLastOne=true
- save this opens new tab [shows an ad and] gives the entire canvas as an image to download.
SPLIT MEME SELECTED (splitLastOne=true):
ADD NEXT TILE (LEFT BLUE) (PULL-RIGHT BLUE) Save This
_________________________________________________________________
SELECT BOTTOM FILE (LEFT GREEN) | SELECT TOP FILE (RIGHT GREEN)
<bottom[0] filename bold | <top[0] filename bold> &repeat 0->$i
- select bottom meme opens select file dialog
- dont split is like 'nevermind' and sets splitcurrent to false.
- save this opens new tab [shows an ad and] gives the entire canvas as an image to download.
when addNextImage changes
- add 500px to canvas, open image dialog
- split last one set to false on successful image upload
- when image selected the 1+ files selected will
when splitLastOne changes
- if changing from false to true,
- change classes of ADD NEXT TILEand Save This
- add the new buttons select top, select bottom. show filenames under buttons.
- if changing from true to false
- the buttons should update usually from the scope watcjes
After selecting top or bottom split file, reset buttons to regular add
I'm just ranting to myself, some of this might be useful. A lot of it is a duplicate of itself
Metadata
Metadata
Assignees
Labels
No labels