Use backbone to display taskmanager front end

This commit is contained in:
Nicolas Le Goff
2014-02-11 08:46:20 +01:00
parent fa98c42ff3
commit 7025e756bc
31 changed files with 1002 additions and 521 deletions

View File

@@ -0,0 +1,23 @@
/*
* This file is part of Phraseanet
*
* (c) 2005-2014 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
define([
"underscore",
"backbone",
"models/task"
], function (_, Backbone, TaskModel) {
var TaskCollection = Backbone.Collection.extend({
model: TaskModel,
url: function () {
return "/admin/task-manager/tasks";
}
});
return TaskCollection;
});