load location into location input field
This commit is contained in:
parent
61686c559c
commit
dcadf74d55
3 changed files with 323 additions and 308 deletions
|
|
@ -120,6 +120,7 @@
|
|||
var item, x, _i, _len, _ref;
|
||||
$('#list').show(100);
|
||||
x = 0;
|
||||
$('#dirlocation').val(this.data.location);
|
||||
_ref = this.data.filedata;
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
item = _ref[_i];
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ does not alter the array. Alternately, _have_ it alter the array.
|
|||
buildlist: (data) ->
|
||||
$('#list').show 100
|
||||
x = 0
|
||||
$('#dirlocation').val @data.location
|
||||
$('#sortlist').append @.additem item,x++ for item in @data.filedata
|
||||
$('#sortlist').sortable
|
||||
start: (event,ui) ->
|
||||
|
|
|
|||
83
list.sahli
83
list.sahli
|
|
@ -5,33 +5,35 @@
|
|||
"template": "template.html",
|
||||
"css": "template.css"
|
||||
},
|
||||
"filedata": [{
|
||||
"filedata": [
|
||||
{
|
||||
"file": "spaceflight.asc",
|
||||
"name": "Spaceflight",
|
||||
"filetype":"plain",
|
||||
"filetype": "plain",
|
||||
"amiga": true,
|
||||
"width": "80",
|
||||
"author": "Urs",
|
||||
"font": "Propaz",
|
||||
"color": [
|
||||
200,
|
||||
200,
|
||||
200,
|
||||
255
|
||||
255,
|
||||
255,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"bg": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
11,
|
||||
11,
|
||||
59,
|
||||
0
|
||||
],
|
||||
"line1": "Revision 2013",
|
||||
"line2": "Mercury",
|
||||
"text": "No tools, just a text editor"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "az0!-revi510n.txt",
|
||||
"name": "Revi510n",
|
||||
"filetype":"plain",
|
||||
"filetype": "plain",
|
||||
"amiga": true,
|
||||
"width": "80",
|
||||
"color": [
|
||||
|
|
@ -51,10 +53,11 @@
|
|||
"line1": "Revision 2013",
|
||||
"line2": "Madwizards+Floppy",
|
||||
"text": "Wow I'm back to ascii scene after 12 years break. Have fun people! Amiiiiiiga :)"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "ted_-_spaceship_enterprise.ans",
|
||||
"name": "SPACEshiP ENterprISe",
|
||||
"filetype":"ansi",
|
||||
"filetype": "ansi",
|
||||
"amiga": false,
|
||||
"width": "80",
|
||||
"color": [
|
||||
|
|
@ -74,10 +77,11 @@
|
|||
"line1": "Revision 2013",
|
||||
"line2": "Pöo-crüe^3ln",
|
||||
"text": "Special greets to m0d - you're AWESOME! -\nThis displays more nicely in 80x50 mode\nTruck said it was OK to do that mode outside the rules\nProper resolution in Partymeister"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "h7-supergroupies.ans",
|
||||
"name": "Super Groupies",
|
||||
"filetype":"ansi",
|
||||
"filetype": "ansi",
|
||||
"amiga": false,
|
||||
"width": "80",
|
||||
"color": [
|
||||
|
|
@ -97,10 +101,11 @@
|
|||
"line1": "Revision 2013",
|
||||
"line2": "Blocktronics & Accession",
|
||||
"text": "Pablodraw osX"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "51_DRGN.XB",
|
||||
"name": "51 Dragon",
|
||||
"filetype":"xbin",
|
||||
"filetype": "xbin",
|
||||
"amiga": false,
|
||||
"width": "80",
|
||||
"color": [
|
||||
|
|
@ -120,10 +125,11 @@
|
|||
"line1": "CIA Pack 62",
|
||||
"line2": "",
|
||||
"text": "16colors archive"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "ARTX-LGO.ADF",
|
||||
"name": "example ADF",
|
||||
"filetype":"adf",
|
||||
"filetype": "adf",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"color": [
|
||||
|
|
@ -143,10 +149,11 @@
|
|||
"line1": "ADF example",
|
||||
"line2": "...",
|
||||
"text": "not Amiga disk file"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "US-SADIS.BIN",
|
||||
"name": "bin example",
|
||||
"filetype":"bin",
|
||||
"filetype": "bin",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"color": [
|
||||
|
|
@ -166,10 +173,11 @@
|
|||
"line1": "BIN example",
|
||||
"line2": "...",
|
||||
"text": "whee"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "zv_iniq.tnd",
|
||||
"name": "tundra example",
|
||||
"filetype":"tundra`",
|
||||
"filetype": "tundra",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"color": [
|
||||
|
|
@ -189,10 +197,11 @@
|
|||
"line1": "Tundra example",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "MD-XMAS.IDF",
|
||||
"name": "IDF example",
|
||||
"filetype":"idf",
|
||||
"filetype": "idf",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"color": [
|
||||
|
|
@ -212,10 +221,11 @@
|
|||
"line1": "Xmas (ivf example)",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "example.avatar",
|
||||
"name": "AVATAR example",
|
||||
"filetype":"avatar",
|
||||
"filetype": "avatar",
|
||||
"amiga": false,
|
||||
"width": "80",
|
||||
"color": [
|
||||
|
|
@ -235,10 +245,11 @@
|
|||
"line1": "an avatar file",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "pcboard.pcboard",
|
||||
"name": "PCBoard example",
|
||||
"filetype":"pcboard",
|
||||
"filetype": "pcboard",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"color": [
|
||||
|
|
@ -258,10 +269,11 @@
|
|||
"line1": "PCBOARD example",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "example.ICE",
|
||||
"name": "ICE example",
|
||||
"filetype":"ice",
|
||||
"filetype": "ice",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"color": [
|
||||
|
|
@ -281,11 +293,11 @@
|
|||
"line1": "ICE example",
|
||||
"line2": "...",
|
||||
"text": "more examples"
|
||||
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"file": "51_EMP.XB",
|
||||
"name": "WIDE xbin",
|
||||
"filetype":"xbin",
|
||||
"filetype": "xbin",
|
||||
"amiga": false,
|
||||
"width": "120",
|
||||
"color": [
|
||||
|
|
@ -305,5 +317,6 @@
|
|||
"line1": "wide XBIN",
|
||||
"line2": "...",
|
||||
"text": "wide XBIN example"
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue