Set input type number for port & reconnect_delay

This commit is contained in:
Samuel Mannehed 2017-02-17 15:17:50 +01:00
parent c3325dc6f7
commit 6c857dc50c
2 changed files with 5 additions and 4 deletions

View File

@ -80,7 +80,8 @@ html {
* ---------------------------------------- * ----------------------------------------
*/ */
input[type=input], input[type=password], input:not([type]), textarea { input[type=input], input[type=password], input[type=number],
input:not([type]), textarea {
/* Disable default rendering */ /* Disable default rendering */
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none; -moz-appearance: none;
@ -138,7 +139,7 @@ input[type=submit]::-moz-focus-inner {
input[type=input]:disabled, input[type=password]:disabled, input[type=input]:disabled, input[type=password]:disabled,
input:not([type]):disabled, input[type=button]:disabled, input:not([type]):disabled, input[type=button]:disabled,
input[type=submit]:disabled, input[type=submit]:disabled, input[type=number]:disabled,
textarea:disabled, select:disabled { textarea:disabled, select:disabled {
color: rgb(128, 128, 128); color: rgb(128, 128, 128);
background: rgb(240, 240, 240); background: rgb(240, 240, 240);

View File

@ -222,7 +222,7 @@
</li> </li>
<li> <li>
<label for="noVNC_setting_port">Port:</label> <label for="noVNC_setting_port">Port:</label>
<input id="noVNC_setting_port" /> <input id="noVNC_setting_port" type="number" />
</li> </li>
<li> <li>
<label for="noVNC_setting_path">Path:</label> <label for="noVNC_setting_path">Path:</label>
@ -236,7 +236,7 @@
</li> </li>
<li> <li>
<label for="noVNC_setting_reconnect_delay">Reconnect Delay (ms):</label> <label for="noVNC_setting_reconnect_delay">Reconnect Delay (ms):</label>
<input id="noVNC_setting_reconnect_delay" type="input" value="" /> <input id="noVNC_setting_reconnect_delay" type="number" />
</li> </li>
<li><hr></li> <li><hr></li>
<!-- Logging selection dropdown --> <!-- Logging selection dropdown -->