more list
This commit is contained in:
parent
36d1158f1a
commit
fc5c98fd97
4 changed files with 164 additions and 67 deletions
|
|
@ -2,7 +2,7 @@ $(function() {
|
|||
Ox.theme("modern");
|
||||
var $body = $("body"),
|
||||
app = new Ox.App({
|
||||
requestURL: "http://blackbook.local:8000/api/"
|
||||
requestURL: "http://lion.oil21.org:8000/api/"
|
||||
}),
|
||||
$list = new Ox.TextList({
|
||||
columns: [
|
||||
|
|
@ -11,6 +11,7 @@ $(function() {
|
|||
id: "title",
|
||||
operator: "+",
|
||||
title: "Title",
|
||||
visible: true,
|
||||
width: 160
|
||||
},
|
||||
{
|
||||
|
|
@ -18,13 +19,31 @@ $(function() {
|
|||
id: "director",
|
||||
operator: "+",
|
||||
title: "Director",
|
||||
visible: true,
|
||||
width: 160
|
||||
},
|
||||
{
|
||||
align: "left",
|
||||
id: "country",
|
||||
operator: "+",
|
||||
title: "Country",
|
||||
visible: true,
|
||||
width: 120
|
||||
},
|
||||
{
|
||||
align: "right",
|
||||
id: "year",
|
||||
operator: "-",
|
||||
title: "Year",
|
||||
visible: true,
|
||||
width: 80
|
||||
},
|
||||
{
|
||||
align: "right",
|
||||
id: "runtime",
|
||||
operator: "-",
|
||||
title: "Runtime",
|
||||
visible: false,
|
||||
width: 80
|
||||
}
|
||||
],
|
||||
|
|
@ -42,9 +61,11 @@ $(function() {
|
|||
}
|
||||
}), options.callback);
|
||||
},
|
||||
sort: {
|
||||
key: "year",
|
||||
operator: "-"
|
||||
}
|
||||
sort: [
|
||||
{
|
||||
key: "year",
|
||||
operator: "-"
|
||||
}
|
||||
]
|
||||
}).appendTo($body);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue