From 58df35590395297bbac12113ec60874bf63756f8 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 24 Aug 2022 20:29:51 -0400 Subject: [PATCH] Make password fields be passwords fields with a visibility toggle --- web/skins/classic/views/monitor.php | 34 ++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index c1b6260de..6e8c133b4 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -572,7 +572,10 @@ switch ($name) { - + + + visibility + @@ -683,13 +686,22 @@ include('_monitor_source_nvsocket.php'); - + + + visibility + Type() == 'Remote' ) { ?> - + + + + + visibility + + Protocol(), "updateMethods( this );if(this.value=='rtsp'){\$('RTSPDescribe').setStyle('display','table-row');}else{\$('RTSPDescribe').hide();}" ); ?> @@ -723,7 +735,13 @@ include('_monitor_source_nvsocket.php'); ?> - + + + + + visibility + + Type() == 'WebSite' ) { ?> @@ -751,7 +769,13 @@ include('_monitor_source_nvsocket.php'); - + + + + + visibility + +