|
@@ -204,7 +204,8 @@ img {
|
|
|
</div>
|
|
|
<div class="form-group" id="WifiPasswordDiv">
|
|
|
<label>Password</label>
|
|
|
- <input type="text" name="WifiPassword" id="WifiPassword" class="form-control" value="<?php echo $obj->{'WifiPassword'};?>">
|
|
|
+ <input type="password" name="WifiPassword" id="WifiPassword" class="form-control floatingPassword" value="<?php echo $obj->{'WifiPassword'};?>">
|
|
|
+ <i id="checkEye1" class="fa fa-eye" style="opacity: 0.5;color: red;"></i>
|
|
|
</div>
|
|
|
<div class="form-group" id="WifiBroadcastSsidDiv">
|
|
|
<label>Wifi Broadcast SSID</label>
|
|
@@ -295,7 +296,8 @@ img {
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label><?php echo $lang->showWord("chap_pap_pwd"); ?></label>
|
|
|
- <input type="text" name="TelcomChapPapPwd" id="TelcomChapPapPwd" class="form-control" value="<?php echo $obj->{'TelcomChapPapPwd'};?>">
|
|
|
+ <input type="password" name="TelcomChapPapPwd" id="TelcomChapPapPwd" class="form-control floatingPassword" value="<?php echo $obj->{'TelcomChapPapPwd'};?>">
|
|
|
+ <i id="checkEye2" class="fa fa-eye" style="opacity: 0.5;color: red;"></i>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label><?php echo $lang->showWord("modem_imei"); ?></label>
|
|
@@ -671,9 +673,9 @@ img {
|
|
|
}
|
|
|
|
|
|
function scan_wifi()
|
|
|
- {
|
|
|
- window.open("scan_wifi.php","_blank","height=200,width=400, status=yes,toolbar=no,menubar=no,location=no");
|
|
|
- }
|
|
|
+ {
|
|
|
+ window.open("scan_wifi.php","_blank","height=200,width=400, status=yes,toolbar=no,menubar=no,location=no");
|
|
|
+ }
|
|
|
$("#scan").fancybox({
|
|
|
'type' : 'iframe',
|
|
|
'iframe' : {
|
|
@@ -683,6 +685,23 @@ img {
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ $("#checkEye1").click(function () {
|
|
|
+ if($(this).hasClass('fa-eye')){
|
|
|
+ $("#WifiPassword").attr('type', 'text');
|
|
|
+ }else{
|
|
|
+ $("#WifiPassword").attr('type', 'password');
|
|
|
+ }
|
|
|
+ $("#checkEye1").toggleClass('fa-eye').toggleClass('fa-eye-slash');
|
|
|
+ });
|
|
|
+ $("#checkEye2").click(function () {
|
|
|
+ if($(this).hasClass('fa-eye')){
|
|
|
+ $("#TelcomChapPapPwd").attr('type', 'text');
|
|
|
+ }else{
|
|
|
+ $("#TelcomChapPapPwd").attr('type', 'password');
|
|
|
+ }
|
|
|
+ $("#checkEye2").toggleClass('fa-eye').toggleClass('fa-eye-slash');
|
|
|
+ });
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
</html>
|