styled log page.

This commit is contained in:
kay.one 2013-07-13 19:40:47 -07:00
commit 8f9b9c901c
8 changed files with 1804 additions and 43 deletions

18
UI/Logs/LogLevelCell.js Normal file
View file

@ -0,0 +1,18 @@
'use strict';
define(
[
'Cells/NzbDroneCell'
], function (NzbDroneCell) {
return NzbDroneCell.extend({
className: 'log-level-cell',
render: function () {
var level = this._getValue();
this.$el.html('<i class="icon-{0}" title="{1}"/>'.format(this._getValue().toLowerCase(), level));
return this;
}
});
});