~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-01-29 23:38:20 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:328
console: Renamed HTML element IDs to prefix "console_".
    Reason: To facilitate plugging the console into other apps. Need to avoid
    naming conflicts.
    console.css and console.js: Updated references to these IDs.
tutorial: Minor changes to get XHTML to validate.
tutorialservice: Minor comment typo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
276
276
    # Print this problem out to HTML 
277
277
    req.write("<p><b>Problem:</b> %s</p>\n" % problemname)
278
278
    if problemdesc is not None:
279
 
        req.write("<p>%s</p>" % problemdesc)
 
279
        req.write("<div>%s</div>" % problemdesc)
280
280
    req.write('<textarea class="problembox" cols="80" rows="12">%s</textarea>'
281
281
            % problempartial)
282
282
    filename = cgi.escape(cjson.encode(problemsrc), quote=True)
287
287
    onclick="submitproblem(&quot;problem%d&quot;, %s)" />
288
288
</div>
289
289
<p>Output:</p>
290
 
<textarea class="runoutput" cols="80" rows="6" readonly="true">
 
290
<textarea class="runoutput" cols="80" rows="6" readonly="readonly">
291
291
</textarea>
292
292
<div class="testoutput">
293
293
</div>