Minor layout fixes, basic schematic entry support, XPath for XML. Login page has better types for input elements.

This commit is contained in:
Piotr Mitros
2011-12-20 19:17:46 -05:00
parent 216db51072
commit c39a39cf16
4 changed files with 13 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
<!-- TODO: Add pattern field to username. See HTML5 cookbook,
page 84 for details-->
<div name="enroll_form" id="enroll_form">
<form name="login" method="get">
<%
@@ -10,12 +12,12 @@
style="color:red;"><div id="enroll_error"
name="enroll_error"></div></td></tr>
<tr><td align=right>E-mail</td><td><input name="email" id="ca_email"
type="text"> </td><td></td></tr>
type="email" required> </td><td></td></tr>
<tr><td align=right>Password</td><td><input name="password"
id="ca_password" type="password"> </td><td></td></tr>
id="ca_password" type="password" required> </td><td></td></tr>
<tr><td align=right>Public Name</td><td><input name="username"
id="ca_username" type="text"> </td><td><span class="ui-icon ui-icon-help" id="spinner_nick" style="display:inline-block;"></td></tr>
id="ca_username" type="text" required> </td><td><span class="ui-icon ui-icon-help" id="spinner_nick" style="display:inline-block;"></td></tr>
<tr><td colspan=3 align=center><div style="display:none"
id="sregion_nick">Nickname you'd like to use on forums. We recommend
some variant of your real name (e.g. first name, last initial), but we
@@ -47,11 +49,11 @@ regions to focus on. </div></td></tr>
<tr><td align=right><input name="terms_of_service"
id="cb_terms_of_service" type="checkbox"
value="terms_of_service"></td><td colspan=2>I agree to the Terms of
value="terms_of_service" required></td><td colspan=2>I agree to the Terms of
Service</td></tr>
<tr><td align=right><input name="honor_code" id="cb_honor_code"
type="checkbox" value="honor_code"></td><td colspan=2>I agree
type="checkbox" value="honor_code" required></td><td colspan=2>I agree
to:</td></tr>
<tr><td colspan=3 align=center>
<br>

View File

@@ -4,8 +4,8 @@
<table><tr><td>
<form name="login" action="/login" method="get">
<tr><td colspan=2 align=center><div id="login_error"></div></td></tr>
<tr><td align=right>E-mail</td><td><input name="email" id="li_email" type="text"> </td></tr>
<tr><td align=right>Password</td><td><input name="password" id="li_email" type="password"> </td></tr>
<tr><td align=right>E-mail</td><td><input name="email" id="li_email" type="email" required> </td></tr>
<tr><td align=right>Password</td><td><input name="password" id="li_password" type="password" required> </td></tr>
<!--tr><td align=right><input name="remember" type="checkbox" value="remember"></td><td>Remember me </td></tr-->
<tr><td align=right></td><td align=right><input name="submit" id="login_button" type="button" value="Log in"> </td></tr>
</form>

View File

@@ -2,6 +2,7 @@ function ${ id }_load() {
$('#main_${ id }').load('${ ajax_url }problem_get?id=${ id }',
function() {
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
update_schematics();
$('#check_${ id }').click(function() {
var submit_data={};

View File

@@ -1,5 +1,5 @@
<table>
<tr><td rowspan=13 colspan=4>
<tr><td rowspan=14 colspan=4>
<div id="ytapiplayer">
You need Flash player 8+ and JavaScript enabled to view this video.
</div>
@@ -16,6 +16,7 @@
<tr><td width=15><span class="" onclick="">&nbsp;</span></td><td colspan=2 id=stt_p4 align=center><div id=std_p4 onclick="title_seek( 4);">&nbsp;</div></td></tr>
<tr><td width=15><span class="" onclick="">&nbsp;</span></td><td colspan=2 id=stt_p5 align=center><div id=std_p5 onclick="title_seek( 5);">&nbsp;</div></td></tr>
<tr><td width=15><span class="" onclick="">&nbsp;</span></td><td colspan=2 id=stt_p6 align=center><div id=std_p7 onclick="title_seek( 6);">&nbsp;</div></td></tr>
<tr><td></td><td colspan=2><img src="/static/pixel.jpg" width=400 height=0></td></tr>
<tr><td></td></tr>
<tr><td width=15><span class="ui-icon ui-icon-play" onclick="play();"></span></td>
@@ -23,3 +24,4 @@
<td width=500 colspan=4><div id=slider></div></td></tr>
</table>
<div align=right>0.75x 1x 1.25x 1.5x </div>