diff --git a/editor/sahliedit.css b/editor/sahliedit.css index 6a8d143..cdc0dab 100644 --- a/editor/sahliedit.css +++ b/editor/sahliedit.css @@ -27,4 +27,18 @@ label { #list { border: 1px solid black; +} + +.entry { + margin: 0 3px 3px 3px; + padding: 0.4em; + padding-left: 1.5em; + width: 75%; + height: 18px; + border: 2px outset rgb(255,228,196); + background-color: rgb(245,245,220); +} + +.entry span { + display: inline-block; } \ No newline at end of file diff --git a/editor/sahliedit.litcoffee b/editor/sahliedit.litcoffee index 1990c5a..fcc3dd4 100644 --- a/editor/sahliedit.litcoffee +++ b/editor/sahliedit.litcoffee @@ -113,10 +113,13 @@ edit button. buildlist: (data) -> $('#list').show 100 - @.additem item for item in @data.filedata + $('#sortlist').append @.additem item for item in @data.filedata + $('#sortlist').sortable().disableSelection() + additem: (item) -> - alert dumpjson item + $("