diff --git a/NzbDrone.Backbone/Content/form.css b/NzbDrone.Backbone/Content/form.css
index 7c2750c51..30d0d8f02 100644
--- a/NzbDrone.Backbone/Content/form.css
+++ b/NzbDrone.Backbone/Content/form.css
@@ -1,6 +1,7 @@
.form-horizontal .controls i {
- font-size: 25px;
- color: #3A87AD;
+ font-size: 16px;
+ /*color: #3A87AD;*/ /* Info blue */
+ color: #595959;
cursor: default;
}
diff --git a/NzbDrone.Backbone/Quality/qualityProfileModel.js b/NzbDrone.Backbone/Quality/qualityProfileModel.js
index 6781fe306..2e26fa7be 100644
--- a/NzbDrone.Backbone/Quality/qualityProfileModel.js
+++ b/NzbDrone.Backbone/Quality/qualityProfileModel.js
@@ -14,7 +14,7 @@
defaults: {
id: null,
name: '',
- //allowed: {},
+ //'qualities.allowed': false,
cutoff: null
}
});
diff --git a/NzbDrone.Backbone/Settings/DownloadClient/DownloadClientTemplate.html b/NzbDrone.Backbone/Settings/DownloadClient/DownloadClientTemplate.html
index 86ac9ebf4..70c60e335 100644
--- a/NzbDrone.Backbone/Settings/DownloadClient/DownloadClientTemplate.html
+++ b/NzbDrone.Backbone/Settings/DownloadClient/DownloadClientTemplate.html
@@ -1,3 +1,293 @@
-
+
\ No newline at end of file
diff --git a/NzbDrone.Backbone/Settings/Quality/Profile/EditQualityProfileView.js b/NzbDrone.Backbone/Settings/Quality/Profile/EditQualityProfileView.js
new file mode 100644
index 000000000..f85a29d8f
--- /dev/null
+++ b/NzbDrone.Backbone/Settings/Quality/Profile/EditQualityProfileView.js
@@ -0,0 +1,38 @@
+'use strict';
+define(['app', 'Quality/QualityProfileModel'], function () {
+
+ NzbDrone.Settings.Quality.Profile.EditQualityProfileView = Backbone.Marionette.ItemView.extend({
+ template: 'Settings/Quality/Profile/EditQualityProfileTemplate',
+ tagName: 'div',
+ className: "modal",
+
+ ui: {
+ switch: '.switch'
+ },
+
+ events: {
+ 'click .x-save': 'saveQualityProfile',
+ //'click .x-remove': 'removeSeries'
+ },
+
+ onRender: function () {
+ NzbDrone.ModelBinder.bind(this.model, this.el);
+ this.ui.switch.bootstrapSwitch();
+ },
+
+
+ saveQualityProfile: function () {
+ //Todo: Make sure model is updated with Allowed, Cutoff, Name
+
+ this.model.save();
+ this.trigger('saved');
+ this.$el.parent().modal('hide');
+ },
+
+// removeSeries: function () {
+// var view = new NzbDrone.Series.Delete.DeleteSeriesView({ model: this.model });
+// NzbDrone.modalRegion.show(view);
+// }
+ });
+
+});
\ No newline at end of file
diff --git a/NzbDrone.Backbone/Settings/Quality/Profile/QualityProfileTemplate.html b/NzbDrone.Backbone/Settings/Quality/Profile/QualityProfileTemplate.html
index f2b0d8a6f..74d91c901 100644
--- a/NzbDrone.Backbone/Settings/Quality/Profile/QualityProfileTemplate.html
+++ b/NzbDrone.Backbone/Settings/Quality/Profile/QualityProfileTemplate.html
@@ -5,4 +5,7 @@
{{/each}}