Misc Settings

This commit is contained in:
Mark McDowall
2013-03-18 08:25:36 -07:00
parent 15bbeb9270
commit b87f2a22da
6 changed files with 83 additions and 18 deletions

View File

@@ -7,9 +7,17 @@ define([
NzbDrone.Settings.Misc.MiscView = Backbone.Marionette.ItemView.extend({
template: 'Settings/Misc/MiscTemplate',
className: 'form-horizontal',
ui: {
switch: '.switch',
tooltip: '[class^="help-inline"] i'
},
onRender: function () {
NzbDrone.ModelBinder.bind(this.model, this.el);
this.ui.switch.bootstrapSwitch();
this.ui.tooltip.tooltip({ placement: 'right', html: true });
}
});
});