mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-17 00:29:07 +00:00
Added console area
This commit is contained in:
23
game.php
23
game.php
@@ -95,6 +95,21 @@ if (isset($user)) {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#console {
|
||||
font-family: fixedsys, monospace;
|
||||
font-size: 24pt;
|
||||
line-height: 21px;
|
||||
resize: none;
|
||||
overflow-y: scroll;
|
||||
width: 680px;
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
#consoleContainer {
|
||||
margin: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
@@ -169,6 +184,14 @@ if (isset($user)) {
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Console-->
|
||||
<div id="consoleContainer">
|
||||
<textarea id="console" readonly title="console"></textarea>
|
||||
|
||||
<a class="button" style="vertical-align: top"
|
||||
onclick="document.getElementById('console').innerHTML=''">Clear</a>
|
||||
</div>
|
||||
|
||||
|
||||
<form id="floppyForm">
|
||||
<input id="floppyIn" type="file" name="floppyIn" style="display: none;"/>
|
||||
|
||||
Reference in New Issue
Block a user