mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
Use backbone to display taskmanager front end
This commit is contained in:
26
www/scripts/apps/admin/tasks-manager/views/ping.js
Normal file
26
www/scripts/apps/admin/tasks-manager/views/ping.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* 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([
|
||||
"jquery",
|
||||
"underscore",
|
||||
"backbone"
|
||||
], function ($, _, Backbone) {
|
||||
var PingView = Backbone.View.extend({
|
||||
render: function () {
|
||||
var date = new Date();
|
||||
|
||||
this.$el.html(date.toISOString());
|
||||
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
||||
return PingView;
|
||||
});
|
Reference in New Issue
Block a user