diff --git a/couchpotato/core/plugins/wizard/static/wizard.css b/couchpotato/core/plugins/wizard/static/wizard.css
index dd73a65..a24f2b9 100644
--- a/couchpotato/core/plugins/wizard/static/wizard.css
+++ b/couchpotato/core/plugins/wizard/static/wizard.css
@@ -76,4 +76,8 @@
margin: 10px 30px 80px;
display: block;
text-align: center;
- }
\ No newline at end of file
+ }
+
+.page.wizard .tab_nzb_providers {
+ margin: 20px 0 0 0;
+}
diff --git a/couchpotato/core/plugins/wizard/static/wizard.js b/couchpotato/core/plugins/wizard/static/wizard.js
index a3fe938..5d087ad 100644
--- a/couchpotato/core/plugins/wizard/static/wizard.js
+++ b/couchpotato/core/plugins/wizard/static/wizard.js
@@ -41,7 +41,8 @@ Page.Wizard = new Class({
},
'providers': {
'title': 'Are you registered at any of these sites?',
- 'description': 'CP uses these sites to search for movies. A few free are enabled by default, but it\'s always better to have a few more. Check settings for the full list of available providers.'
+ 'description': 'CP uses these sites to search for movies. A few free are enabled by default, but it\'s always better to have a few more. Check settings for the full list of available providers.',
+ 'include': ['nzb_providers', 'torrent_providers']
},
'renamer': {
'title': 'Move & rename the movies after downloading?',
@@ -49,59 +50,18 @@ Page.Wizard = new Class({
},
'automation': {
'title': 'Easily add movies to your wanted list!',
- 'description': 'You can easily add movies from your favorite movie site, like IMDB, Rotten Tomatoes, Apple Trailers and more. Just install the userscript or drag the bookmarklet to your browsers bookmarks.' +
+ 'description': 'You can easily add movies from your favorite movie site, like IMDB, Rotten Tomatoes, Apple Trailers and more. Just install the userscript or drag the bookmarklet to your browsers bookmarks.' +
'
Once installed, just click the bookmarklet on a movie page and watch the magic happen ;)',
'content': function(){
-
- // See if userscript can be installed
- var userscript = false;
- try {
- if(Components.interfaces.gmIGreasemonkeyService)
- userscript = true
- }
- catch(e){
- userscript = Browser.chrome === true;
- }
-
- var host_url = window.location.protocol + '//' + window.location.host;
-
- var el = new Element('div.group_userscript').adopt(
-
- (userscript ? [new Element('a.userscript.button', {
- 'text': 'Install userscript',
- 'href': Api.createUrl('userscript.get')+randomString()+'/couchpotato.user.js',
- 'target': '_self'
- }), new Element('span.or[text=or]')] : null),
- new Element('span.bookmarklet').adopt(
- new Element('a.button.orange', {
- 'text': '+CouchPotato',
- 'href': "javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','" +
- host_url + Api.createUrl('userscript.bookmark') +
- "?host="+ encodeURI(host_url + Api.createUrl('userscript.get')+randomString()+'/') +
- "&r='+Math.random()*99999999);document.body.appendChild(e)})());",
- 'target': '',
- 'events': {
- 'click': function(e){
- (e).stop()
- alert('Drag it to your bookmark ;)')
- }
- }
- }),
- new Element('span', {
- 'text': '⇽ Drag this to your bookmarks'
- })
- )
- ).setStyles({
+ return App.createUserscriptButtons().setStyles({
'background-image': "url('"+Api.createUrl('static/userscript/userscript.png')+"')"
- });
-
- return el
+ })
}
},
'finish': {
'title': 'Finishing Up',
'description': 'Are you done? Did you fill in everything as much as possible?' +
- '
Be sure to check the settings to see what more CP can do!
' +
+ '
Be sure to check the settings to see what more CP can do!
' +
'