Log files are viewable in the UI

This commit is contained in:
Mark McDowall 2013-07-28 16:13:14 -07:00
commit 4c536a077f
21 changed files with 325 additions and 40 deletions

19
UI/Logs/Files/Row.js Normal file
View file

@ -0,0 +1,19 @@
'use strict';
define(
[
'app',
'backgrid'
], function (App, Backgrid) {
return Backgrid.Row.extend({
className: 'log-file-row',
events: {
'click': '_showContents'
},
_showContents: function () {
App.vent.trigger(App.Commands.ShowLogFile, { model: this.model });
}
});
});