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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-01-14 01:13:50 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:217
Console: Python code generates a minimal document with a DIV and links to
    JavaScript.
    Added console.js. This spawns the server (calling consoleservice) and sets
    up the iframe. Console now working.
Added md5.js to media/common.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    req.content_type = "text/html"
32
32
    req.write_html_head_foot = True     # Have dispatch print head and foot
33
33
 
34
 
    # Start writing data
35
 
    req.write("<p>Console (not yet implemented)</p>\n")
 
34
    req.scripts = [
 
35
        "media/common/json2.js",
 
36
        "media/common/md5.js",
 
37
        "media/common/util.js",
 
38
        "media/console/console.js",
 
39
    ]
36
40
 
 
41
    req.write('<div id="consolebody"></div>\n')