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

« back to all changes in this revision

Viewing changes to console/index.html

  • Committer: drtomc
  • Date: 2008-01-02 22:05:22 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:127
A bit of simplification - unify the output areas and use colours to
distinguish output, return values and errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
        height: 24em;
13
13
        overflow: scroll;
14
14
        margin-bottom: 4pt;
15
 
    }
16
 
    #errors {
17
 
        border: solid red 1pt;
18
 
        height: 6em;
19
 
        overflow: scroll;
20
 
        margin-bottom: 4pt;
 
15
        padding: 4pt;
21
16
    }
22
17
    #input {
23
18
        border: solid green 1pt;
25
20
    #prompt {
26
21
        font-family: monospace;
27
22
    }
 
23
    pre.errorMsg {
 
24
        color: red;
 
25
        margin-top: 0em;
 
26
        margin-bottom: 0em;
 
27
    }
 
28
    pre.inputMsg {
 
29
        color: gray;
 
30
        margin-top: 0em;
 
31
        margin-bottom: 0em;
 
32
    }
 
33
    pre.outputMsg {
 
34
        margin-top: 0em;
 
35
        margin-bottom: 0em;
 
36
    }
28
37
  </style>
29
38
 </head>
30
39
 <body>
31
40
  <div id='output'>
32
 
    <pre id='outputArea'></pre>
33
 
  </div>
34
 
  <div id='errors'>
35
 
    <pre id='errorArea'></pre>
36
41
  </div>
37
42
  <div id='input'>
38
 
    <pre id='inputArea'></pre>
 
43
   <div id='inputArea'>
 
44
   </div>
39
45
   <label id='prompt'>&gt;&gt;&gt;&nbsp;</label><input id='inputText' type='text' size='80' onkeypress='catch_input(event.keyCode)'/>
40
46
  </div>
41
47
 </body>