Permalink
Browse files

Improve page layout.

  • Loading branch information...
nelhage committed Jun 4, 2011
1 parent 7cb927e commit c55fcefb8d6015a13861306f0741536f3c20483d
Showing with 43 additions and 40 deletions.
  1. +7 −5 beta.css
  2. +36 −35 beta.html
View
@@ -8,10 +8,6 @@
border: 3px double black;
}
#rightcol {
float: right;
}
#cpucontrol {
float: left;
}
@@ -22,6 +18,8 @@
#registers {
font-family: mono;
float: left;
padding: 2em;
}
#PC {
@@ -41,10 +39,14 @@
padding-left: 1em;
}
#memcol {
float: right;
}
#memory {
border: 1px solid black;
overflow-y: scroll;
height: 100%;
height: 90%;
}
View
@@ -35,40 +35,9 @@
<div style='clear: both'>
</div>
</div>
<div id='registers'>
<div id='PC'>
PC: <span id='pcval'>00000000</span>
</div>
<table id='regtab'>
<tr>
<th>R0:</th><td>00000000</td> <th>R1:</th><td>00000000</td> <th>R2:</th><td>00000000</td> <th>R3:</th><td>00000000</td>
</tr>
<tr>
<th>R4:</th><td>00000000</td> <th>R5:</th><td>00000000</td> <th>R6:</th><td>00000000</td> <th>R7:</th><td>00000000</td>
</tr>
<tr>
<th>R8:</th><td>00000000</td> <th>R9:</th><td>00000000</td> <th>R10:</th><td>00000000</td> <th>R11:</th><td>00000000</td>
</tr>
<tr>
<th>R12:</th><td>00000000</td> <th>R13:</th><td>00000000</td> <th>R14:</th><td>00000000</td> <th>R15:</th><td>00000000</td>
</tr>
<tr>
<th>R16:</th><td>00000000</td> <th>R17:</th><td>00000000</td> <th>R18:</th><td>00000000</td> <th>R19:</th><td>00000000</td>
</tr>
<tr>
<th>R20:</th><td>00000000</td> <th>R21:</th><td>00000000</td> <th>R22:</th><td>00000000</td> <th>R23:</th><td>00000000</td>
</tr>
<tr>
<th>R24:</th><td>00000000</td> <th>R25:</th><td>00000000</td> <th>R26:</th><td>00000000</td> <th>R27:</th><td>00000000</td>
</tr>
<tr>
<th>R28:</th><td>00000000</td> <th>R29:</th><td>00000000</td> <th>R30:</th><td>00000000</td> <th>R31:</th><td>00000000</td>
</tr>
</table>
</div>
</div>
<div id="rightcol">
<div id="memcol">
<h3>Memory</h3>
<div id='memory'>
<table id='memtab'>
@@ -79,9 +48,41 @@ <h3>Memory</h3>
</div>
</div>
<div id='registers'>
<div id='PC'>
PC: <span id='pcval'>00000000</span>
</div>
<table id='regtab'>
<tr>
<th>R0:</th><td>00000000</td> <th>R1:</th><td>00000000</td> <th>R2:</th><td>00000000</td> <th>R3:</th><td>00000000</td>
</tr>
<tr>
<th>R4:</th><td>00000000</td> <th>R5:</th><td>00000000</td> <th>R6:</th><td>00000000</td> <th>R7:</th><td>00000000</td>
</tr>
<tr>
<th>R8:</th><td>00000000</td> <th>R9:</th><td>00000000</td> <th>R10:</th><td>00000000</td> <th>R11:</th><td>00000000</td>
</tr>
<tr>
<th>R12:</th><td>00000000</td> <th>R13:</th><td>00000000</td> <th>R14:</th><td>00000000</td> <th>R15:</th><td>00000000</td>
</tr>
<tr>
<th>R16:</th><td>00000000</td> <th>R17:</th><td>00000000</td> <th>R18:</th><td>00000000</td> <th>R19:</th><td>00000000</td>
</tr>
<tr>
<th>R20:</th><td>00000000</td> <th>R21:</th><td>00000000</td> <th>R22:</th><td>00000000</td> <th>R23:</th><td>00000000</td>
</tr>
<tr>
<th>R24:</th><td>00000000</td> <th>R25:</th><td>00000000</td> <th>R26:</th><td>00000000</td> <th>R27:</th><td>00000000</td>
</tr>
<tr>
<th>R28:</th><td>00000000</td> <th>R29:</th><td>00000000</td> <th>R30:</th><td>00000000</td> <th>R31:</th><td>00000000</td>
</tr>
</table>
</div>
<!--
<pre id='debugLog' style="face: mono; border: 1px solid black; width: 100%: padding: 2em">
</pre>
-->
<pre id='debugLog' style="face: mono; border: 1px solid black; width: 100%: padding: 2em">
</pre>
-->
</body>
</html>

0 comments on commit c55fcef

Please sign in to comment.