diff --git a/assets/webconfig/content/conf_leds.html b/assets/webconfig/content/conf_leds.html index e7ff559f..3229c206 100755 --- a/assets/webconfig/content/conf_leds.html +++ b/assets/webconfig/content/conf_leds.html @@ -322,6 +322,17 @@ +
 ');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "iswitch") {
-    $('#id_body').html('
');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "iswitch") {
-    $('#id_body').html(' ');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "uilock") {
-    $('#id_body').html('
');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "uilock") {
-    $('#id_body').html(' ');
-    $('#id_footer').html('' + $.i18n('InfoDialog_nowrite_foottext') + '');
-  }
-  else if (type == "import") {
-    $('#id_body').html('');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "delInst") {
-    $('#id_body').html('');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "renInst") {
-    $('#id_body_rename').html('
');
-    $('#id_footer').html('' + $.i18n('InfoDialog_nowrite_foottext') + '');
-  }
-  else if (type == "import") {
-    $('#id_body').html('');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "delInst") {
-    $('#id_body').html('');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-  else if (type == "renInst") {
-    $('#id_body_rename').html('' + $.i18n('infoDialog_username_text') + - '
' + $.i18n('infoDialog_password_current_text') + - '
' + $.i18n('infoDialog_password_new_text') + - '
 ');
-    $('#id_body').append('
');
-    $('#id_body').append(' ');
-    $('#id_footer').html('');
-  }
-  else if (type == "grantToken") {
-    $('#id_body').html('
');
-    $('#id_footer').html('');
-  }
-  else if (type == "grantToken") {
-    $('#id_body').html(' ');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-
-  if (type != "renInst") {
-    $('#id_body').append('
');
-    $('#id_footer').html('');
-    $('#id_footer').append('');
-  }
-
-  if (type != "renInst") {
-    $('#id_body').append(' ');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "iswitch") {
+    $('#id_body').html('
');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "iswitch") {
+    $('#id_body').html(' ');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "uilock") {
+    $('#id_body').html('
');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "uilock") {
+    $('#id_body').html(' ');
+    $('#id_footer').html('' + $.i18n('InfoDialog_nowrite_foottext') + '');
+  }
+  else if (type == "import") {
+    $('#id_body').html('');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "delInst") {
+    $('#id_body').html('');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "renInst") {
+    $('#id_body_rename').html('
');
+    $('#id_footer').html('' + $.i18n('InfoDialog_nowrite_foottext') + '');
+  }
+  else if (type == "import") {
+    $('#id_body').html('');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "delInst") {
+    $('#id_body').html('');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+  else if (type == "renInst") {
+    $('#id_body_rename').html('' + $.i18n('infoDialog_username_text') + + '
' + $.i18n('infoDialog_password_current_text') + + '
' + $.i18n('infoDialog_password_new_text') + + '
 ');
+    $('#id_body').append('
');
+    $('#id_body').append(' ');
+    $('#id_footer').html('');
+  }
+  else if (type == "grantToken") {
+    $('#id_body').html('
');
+    $('#id_footer').html('');
+  }
+  else if (type == "grantToken") {
+    $('#id_body').html(' ');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+
+  if (type != "renInst") {
+    $('#id_body').append('
');
+    $('#id_footer').html('');
+    $('#id_footer').append('');
+  }
+
+  if (type != "renInst") {
+    $('#id_body').append('