mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-15 23:59:04 +00:00
Reworked console terminal.
This commit is contained in:
38
game.php
38
game.php
@@ -94,23 +94,6 @@ if (isset($user)) {
|
||||
#gameBtns {
|
||||
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>
|
||||
|
||||
<script>
|
||||
@@ -185,14 +168,23 @@ 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 id="console_ui">
|
||||
<div id="console_holder">
|
||||
<div id="console_scrollable">
|
||||
</div>
|
||||
</div>
|
||||
<div id="console_buttons">
|
||||
<button id="console_clear">CLR</button>
|
||||
<label class="checkbox_container">
|
||||
<input type="checkbox" checked id="console_autoscroll">
|
||||
<span>SCRL</span>
|
||||
</label>
|
||||
<button id="console_font_plus">+</button>
|
||||
<button id="console_font_minus">-</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<form id="floppyForm">
|
||||
<input id="floppyIn" type="file" name="floppyIn" style="display: none;"/>
|
||||
</form>
|
||||
@@ -240,4 +232,4 @@ if (isset($user)) {
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user