diff --git a/emhttp/plugins/dynamix/include/Wireless.php b/emhttp/plugins/dynamix/include/Wireless.php index 290ad2125..43d6b1061 100644 --- a/emhttp/plugins/dynamix/include/Wireless.php +++ b/emhttp/plugins/dynamix/include/Wireless.php @@ -199,35 +199,35 @@ case 'join': echo mk_option($safe, 'IEEE 802.1X/SHA-256', _('WPA3 Enterprise')); echo ""; } - if ($ieee1 || $manual || $safe) echo ""._('Username').":"; - if ($attr3 || $manual || $safe) echo ""._('Password').":"; + if ($ieee1 || $manual || $safe) echo ""._('Username').":"; + if ($attr3 || $manual || $safe) echo ""._('Password').":"; echo " "; echo ""._('IPv4 address assignment').":"; - echo ""._('IPv4 address')."://"; - echo ""._('IPv4 default gateway').":"; + echo ""._('IPv4 default gateway').":"; echo ""._('IPv4 DNS assignment').":"; - echo ""._('DNSv4 server').":"; + echo ""._('DNSv4 server').":"; echo " "; echo ""._('IPv6 address assignment').":"; - echo ""._('IPv6 address').":/"; - echo ""._('IPv6 default gateway').":"; + echo ""._('IPv6 address').":/"; + echo ""._('IPv6 default gateway').":"; echo ""._('IPv6 DNS assignment').":"; - echo ""._('DNSv6 server').":"; + echo ""._('DNSv6 server').":"; echo " "; echo ""; echo ""; diff --git a/emhttp/plugins/dynamix/styles/jquery.sweetalert.css b/emhttp/plugins/dynamix/styles/jquery.sweetalert.css index 8448e3d1f..44cbe4f53 100644 --- a/emhttp/plugins/dynamix/styles/jquery.sweetalert.css +++ b/emhttp/plugins/dynamix/styles/jquery.sweetalert.css @@ -178,18 +178,9 @@ pre#swaltext { } } - input[type=text] { - width: 100%; - box-sizing: border-box; - border-radius: 3px; - border: 1px solid #d7d7d7; - margin-top: 2rem; - font-size: 1.8rem; - box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06); - padding: 1rem; + /* this is a hack to prevent the default SWAL input from being shown, but allow the ones we want to be show */ + input[type="text"]:not(.swal-input-show) { display: none; - -webkit-transition: all 0.3s; - transition: all 0.3s; } input:focus { @@ -608,43 +599,6 @@ pre#swaltext { transform: scale(1); } -.sweet-alert input[type=text] { - width: 100%; - box-sizing: border-box; - border-radius: 3px; - border: 1px solid #d7d7d7; - margin-top: 2rem; - font-size: 1.8rem; - box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06); - padding: 1rem; - display: none; - -webkit-transition: all 0.3s; - transition: all 0.3s; -} - -.sweet-alert input:focus { - outline: none; - box-shadow: 0px 0px 3px #c4e6f5; - border: 1px solid #b4dbed; -} - -.sweet-alert input:focus::-moz-placeholder, -.sweet-alert input:focus:-ms-input-placeholder, -.sweet-alert input:focus::-webkit-input-placeholder { - transition: opacity 0.3s 0.03s ease; - opacity: 0.5; -} - -.sweet-alert input::-moz-placeholder, -.sweet-alert input:-ms-input-placeholder, -.sweet-alert input::-webkit-input-placeholder { - color: #bdbdbd; -} - -.sweet-alert.show-input input { - display: block; -} - /* Buttons */ .sa-button-container { margin-top: 2rem;