~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/apps/tutorial/__init__.py

  • Committer: mattgiuca
  • Date: 2008-03-15 11:40:58 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:705
tutorial (Python & JS)
    Submit now behaves like Save in that it greys out the button while waiting
    for a response from the server, and activates it again once a response
    comes back.

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
    onclick="runexercise("exercise%d", %s)"
374
374
    title="Run this program in the console" />
375
375
  <input type="button" value="Submit"
 
376
    id="submitbutton_exercise%d"
376
377
    onclick="submitexercise(&quot;exercise%d&quot;, %s)"
377
378
    title="Submit this solution for evaluation" />
378
379
</div>
379
380
<div class="testoutput">
380
381
</div>
381
382
""" % (exerciseid, exerciseid, filename, exerciseid, filename,
382
 
       exerciseid, filename))
 
383
       exerciseid, exerciseid, filename))
383
384
    req.write("</div>\n")