diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 1c36d6f2..6e09667d 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -688,14 +688,17 @@
- + + + +
-

Current API key: ${config['api_key']}

+

API key used to access the Tautulli API.

@@ -774,7 +777,12 @@
- +
+ + + + +

@@ -923,7 +931,10 @@

- + + + + @@ -1130,7 +1141,12 @@
- +
+ + + + +

Enter the password that will be required to view self-hosted newsletters.

@@ -1259,7 +1275,12 @@
- +
+ + + + +

Enter your Imgur API Client ID.

@@ -1281,7 +1302,12 @@
- +
+ + + + +

@@ -1292,7 +1318,12 @@

- +
+ + + + +

@@ -1303,7 +1334,12 @@

- +
+ + + + +

@@ -3123,13 +3159,24 @@ $(document).ready(function() { } }); - $("body").on('click', '[data-toggle=browse]', function () { + $('body').on('click', '[data-toggle=browse]', function () { var filter = $(this).data('filter'); var target = $(this).data('target'); var path = $(target).val(); var description = $(this).data('description') || $("label[for='" + target.replace('#', '') + "']").text(); openBrowsePath(null, path, filter, description, target); }); + + $('body').on('click', '.reveal-token', function() { + var input = $(this).parent().next('input'); + if (input.prop('type') === 'password') { + input.prop('type', 'text'); + $(this).children('.fa').removeClass('fa-eye-slash').addClass('fa-eye'); + } else { + input.prop('type', 'password'); + $(this).children('.fa').removeClass('fa-eye').addClass('fa-eye-slash'); + } + }); });