Commit 002a61fb authored by José Luis  Gutiérrez's avatar José Luis Gutiérrez Committed by Alessandro Rubini

www: terminal emulator autofocus

- Now terminal emulator cursor is always focused on text input.
	- Change password menu shows admin user as read-only.
parent 0f86913e
......@@ -24,7 +24,7 @@
<table border="0" align="left">
<form method="post">
<tr><th>Username: </th><th><INPUT type="text" name="user" ></th></tr>
<tr><th>Username: </th><th><INPUT type="text" name="user" value="admin" readonly></th></tr>
<tr><th>Old Password: </th><th><INPUT type="password" name="oldpasswd" > </th></tr>
<tr><th>New Password: </th><th> <INPUT type="password" name="newpasswd" > </th></tr>
<tr><th>Confirm Password: </th><th><INPUT type="password" name="confirmpasswd" > </th></tr>
......
......@@ -21,7 +21,7 @@
<?php session_is_started() ?>
<FORM action="terminal.php" method="POST" accept-charset="UTF-8">
Unix Command: <input type="text" name="cmd">
Unix Command: <input type="text" name="cmd" autofocus="autofocus">
<input type="submit" value="Enter" class="btn">
</FORM>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment