~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-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:
41
41
        "media/console/console.css",
42
42
    ]
43
43
 
44
 
    req.write("""<div id="consolebody">
45
 
  <div id='output'>
 
44
    req.write("""<div id="console_body">
 
45
  <div id="console_output">
46
46
  </div>
47
 
  <div id='input'>
48
 
   <div id='inputArea'>
 
47
  <div id="console_input">
 
48
   <div id="console_inputArea">
49
49
   </div>
50
 
   <label id='prompt'>&gt;&gt;&gt;&nbsp;</label><input id='inputText'
51
 
        type='text' size='80' onkeypress='catch_input(event.keyCode)'/>
 
50
   <label id="console_prompt">&gt;&gt;&gt;&nbsp;</label>
 
51
   <input id="console_inputText"
 
52
     type="text" size="80" onkeypress="catch_input(event.keyCode)" />
52
53
  </div>
53
 
</div>\n""")
 
54
</div>
 
55
""")