diff --git a/editor/sahliedit.css b/editor/sahliedit.css index 0789e87..3821a74 100644 --- a/editor/sahliedit.css +++ b/editor/sahliedit.css @@ -66,3 +66,33 @@ div ul li{ div.groupbox p { margin: .25 ex; } + +#dumparea { + position: absolute; + top: 1em; + padding: 1em; + margin: 1em; + width: 90%; + height: 90%; + background: floralwhite; + border: inset 2px royalblue; +} + +#sahlioutput { + font-family: 'TopazPlus a500a1000a2000','mOsOul',Monaco,monospace; + font-size: 16; + background: aliceblue; + overflow-wrap: break-word; + word-wrap: break-word; + width: 100%; + height: 95%; + padding: 1ex; + border: inset 2px royalblue; +} + +#closespan { + float: right; + margin: 0px 0px 1ex; + padding: 0px; + +} \ No newline at end of file diff --git a/editor/sahliedit.js b/editor/sahliedit.js index f637ecd..39c1f9c 100644 --- a/editor/sahliedit.js +++ b/editor/sahliedit.js @@ -110,9 +110,15 @@ } }).click((function(_this) { return function() { + $('#sahlioutput').text(dumpjson(_this.data)); + $('#dumparea').show(100); return console.log(dumpjson(_this.data)); }; })(this)); + $('#closespan').click(function() { + $(this.parentElement.parentElement).hide(); + return $('#sahlioutput').text(''); + }); return this.buildlist(this.data); }; diff --git a/editor/sahliedit.litcoffee b/editor/sahliedit.litcoffee index 85e0707..9bddcab 100644 --- a/editor/sahliedit.litcoffee +++ b/editor/sahliedit.litcoffee @@ -128,7 +128,12 @@ edit button. @.data.location = event.target.value $('#listsave').button {icons: {primary:"ui-icon-disk"}} .click => + $('#sahlioutput').text dumpjson @.data + $('#dumparea').show 100 console.log dumpjson @.data + $('#closespan').click -> + $(@parentElement.parentElement).hide() + $('#sahlioutput').text '' You need to save the order, and extract these in that order; moving around diff --git a/editor/sahlieditor.html b/editor/sahlieditor.html index 3f62c02..d4992b5 100644 --- a/editor/sahlieditor.html +++ b/editor/sahlieditor.html @@ -159,5 +159,10 @@ + + \ No newline at end of file diff --git a/todo.txt b/todo.txt index 4e35876..3f56ad2 100644 --- a/todo.txt +++ b/todo.txt @@ -1,5 +1,15 @@ -(A) Add "type" of file(format) - plain, xbin, etc. -(A) Create Editor - Standalone @EDITOR +@EDITOR delete an entry +@EDITOR redo filenames to load from list of files in directory (specfied in 'location') +@EDITOR button to reload filename list from directory +@EDITOR button to insert an entry + +x 2014-08-06 @EDITOR dump to screen or file, not to console when saving +x 2014-08-06 @EDITOR save (print) routine +@EDITOR text/bg colors change 'SAHLI' thing +@EDITOR update the line item when saving - what the heck is 'line item?' + +x 2014-08-06 (A) Add "type" of file(format) - plain, xbin, etc.( +x 2014-08-06 (A) Create Editor - Standalone @EDITOR (A) remove the SAUCE lines at bottom, return ANSI object for render @SAUCE (A) XBIN @OTHER (A) load SAUCE into 'info' lines (should be done at prep) @SAUCE @EDITRO @@ -25,13 +35,7 @@ (C) hook for progress @progress @PARTYMEISTER (C) load to array/picture, render from picture @16colors (C) speed up rendering more? @16colors -@EDITOR delete an entry -@EDITOR dump to screen or file, not to console when saving -@EDITOR fix filename 'holdover' from previous bit, 'escape/cancel' reset as well -@EDITOR fix filenames -@EDITOR save (print) routine -@EDITOR text/bg colors change 'SAHLI' thing -@EDITOR update the line item when saving + x (A) Error handler for file not found x 2014-03-24 (B) Get with dfox on the partymeister package version x 2014-04-05 (A) Split coffeescript into files, use cake.