From 67124665b944668fdd50fe6e958aca74bf8610e9 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 1 Jan 2018 14:57:38 -0500 Subject: [PATCH] Implementing form validation for settings #4 --- views/settings.tpl | 126 ++++++++++++++++++++++++++++++--------------- 1 file changed, 84 insertions(+), 42 deletions(-) diff --git a/views/settings.tpl b/views/settings.tpl index 68514a4a3..fdfa8d132 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -45,8 +45,7 @@ Subliminal
-
-
+
Bazarr settings
@@ -55,8 +54,10 @@
-
- +
+
+ +
@@ -77,8 +78,10 @@
-
- +
+
+ +
@@ -269,8 +272,7 @@
-
-
+
Sonarr settings
@@ -279,8 +281,10 @@
-
- +
+
+ +
-
- +
+
+ +
-
- +
+
+ +
-
-
+
Subtitles providers
-
+

Be aware that the more providers you enable, the longer it will take everytime you search for a subtitles.

@@ -366,16 +373,18 @@
- +
+ +
@@ -472,16 +481,18 @@
- +
+ +
@@ -499,11 +510,7 @@ .tab() ; - $('#settings_general_check_update').click(function(){ - window.location = '{{base_url}}check_update'; - }) - - $('a:not(.tabs), button:not(.cancel)').click(function(){ + $('a:not(.tabs), button:not(.cancel, .submit)').click(function(){ $('#loader').addClass('active'); }) @@ -532,4 +539,39 @@ $('#settings_providers').dropdown(); $('#settings_languages').dropdown(); $('#settings_branch').dropdown(); + + + \ No newline at end of file