Further HTML5-fication, plus fix some case consistency mismatches.

This commit is contained in:
Uriel 2009-07-28 20:49:53 +02:00
parent 8a30cf0b68
commit f6faca3ea9
6 changed files with 26 additions and 26 deletions

View file

@ -1,7 +1,7 @@
% if(! ~ $#debug_shell 0) {
<form method="POST" name="prompt">
<input size="80" type="text" name="command" value="%($"post_arg_command%)" />
<input type="submit" Value="Run" />
<input size="80" type="text" name="command" value="%($"post_arg_command%)">
<input type="submit" Value="Run">
</form>
<script language="javascript"><!--
document.prompt.command.focus()
@ -14,16 +14,16 @@ fn evl {
rc -c 'flag s +; flag x +;'^$post_arg_command
}
if(! ~ $#post_arg_command 0 && ! ~ $#post_arg_command '') {
echo '<hr /><pre>'
echo '<hr><pre>'
evl | escape_html |[2] awk '{print "<b>"$0"</b>"}'
echo '</pre>'
}
%}
% }
<hr /><pre>
<hr><pre>
% env | escape_html
</pre><hr />
</pre><hr>
% umask

View file

@ -6,13 +6,13 @@
% if not {
% if (~ $REQUEST_METHOD POST)
% echo '<div class="notify_errors">Login failed!</div>'
<form method="post" action="" style="text-align: right; float: left;">
<form method="POST" action="" style="text-align: right; float: left;">
<fieldset>
<label>User name: <input type="text" name="user_name" value="%($"post_arg_user_name%)"/></label><br />
<label>User password: <input type="password" name="user_password" /></label><br />
<input name="s" type="submit" value="Login" />
<label>User name: <input type="text" name="user_name" value="%($"post_arg_user_name%)"/></label><br>
<label>User password: <input type="password" name="user_password"></label><br>
<input name="s" type="submit" value="Login">
</fieldset>
</form>
% }
<br style="clear:left" />
<br style="clear:left">