From cbae664ed2d1d8ac378b27afbc186b0f0f0872fc Mon Sep 17 00:00:00 2001 From: Alexandre Beloin Date: Mon, 2 Feb 2015 21:27:29 -0500 Subject: [PATCH] Added default host:port for each torrent clients. --- gui/slick/interfaces/default/config_search.tmpl | 1 - gui/slick/js/configSearch.js | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gui/slick/interfaces/default/config_search.tmpl b/gui/slick/interfaces/default/config_search.tmpl index 276de372..c41bb331 100755 --- a/gui/slick/interfaces/default/config_search.tmpl +++ b/gui/slick/interfaces/default/config_search.tmpl @@ -449,7 +449,6 @@

URL to your torrent client (e.g. http://localhost:8000/)

-
diff --git a/gui/slick/js/configSearch.js b/gui/slick/js/configSearch.js index 24694843..f75ea622 100644 --- a/gui/slick/js/configSearch.js +++ b/gui/slick/js/configSearch.js @@ -83,6 +83,7 @@ $(document).ready(function(){ client = 'uTorrent'; $(torrent_path_option).hide(); $(torrent_seed_time_option).show(); + $('#host_desc_torrent').text('URL to your uTorrent client (e.g. http://localhost:8000)'); } else if ('transmission' == selectedProvider){ client = 'Transmission'; $(torrent_seed_time_option).show(); @@ -90,12 +91,14 @@ $(document).ready(function(){ $(torrent_label_option).hide(); $(torrent_label_anime_option).hide(); $(torrent_rpcurl_option).show(); + $('#host_desc_torrent').text('URL to your Transmission client (e.g. http://localhost:9091)'); //$('#directory_title').text(client + directory); } else if ('deluge' == selectedProvider){ client = 'Deluge'; $(torrent_verify_cert_option).show(); $(label_warning_deluge).show(); $(label_anime_warning_deluge).show(); + $('#host_desc_torrent').text('URL to your Deluge client (e.g. http://localhost:8112)'); //$('#directory_title').text(client + directory); } else if ('download_station' == selectedProvider){ client = 'Synology DS'; @@ -103,13 +106,13 @@ $(document).ready(function(){ $(torrent_label_anime_option).hide(); $('#torrent_paused_option').hide(); $(torrent_path_option).find('.fileBrowser').hide(); + $('#host_desc_torrent').text('URL to your Synology DS client (e.g. http://localhost:5000)'); //$('#directory_title').text(client + directory); $(path_synology).show(); } else if ('rtorrent' == selectedProvider){ client = 'rTorrent'; - $(host_desc_torrent).hide(); - $(host_desc_rtorrent).show(); $(torrent_paused_option).hide(); + $('#host_desc_torrent').text('URL to your rTorrent client (e.g. scgi://localhost:5000
or https://localhost/rutorrent/plugins/httprpc/action.php)'); //$('#directory_title').text(client + directory); } $('#host_title').text(client + host);