2016-10-16 01:23:04 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Netburner</title>
|
2016-10-17 10:24:39 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="css/styles.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/terminal.css" />
|
|
|
|
|
2016-10-16 01:23:04 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-10-17 10:24:39 +02:00
|
|
|
<div id="mainmenu-container">
|
|
|
|
<!-- Main menu -->
|
|
|
|
<ul class="mainmenu">
|
|
|
|
<li class="terminal-tab">
|
|
|
|
<a href="#" id="terminal-menu-link"> Terminal </a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="character-tab">
|
|
|
|
<a href="#" id="character-menu-link"> Character </a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="gym-tab">
|
|
|
|
<a href=#Gym> Gym </a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-10-16 01:23:04 +02:00
|
|
|
</div>
|
|
|
|
|
2016-10-17 10:24:39 +02:00
|
|
|
<div id="terminal-container">
|
|
|
|
<!-- Terminal -->
|
|
|
|
<table id="terminal">
|
|
|
|
<tr id="terminal-input">
|
|
|
|
<td>$ <input type="text" class="terminal-input"/></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table> <!-- End terminal -->
|
|
|
|
</div> <!-- End terminal-container -->
|
|
|
|
|
|
|
|
<div id="character-container">
|
|
|
|
<p id="character-info"> </p>
|
|
|
|
</div> <!-- End terminal-container -->
|
|
|
|
|
2016-10-16 01:23:04 +02:00
|
|
|
<!-- We'll add in the jQuery library here - direct from
|
|
|
|
the Google CDN (Content Delivery Network). -->
|
2016-10-17 10:24:39 +02:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
|
|
|
|
|
|
|
<!-- Always keep the terminal in focus -->
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('.terminal-input').focus();
|
|
|
|
});
|
|
|
|
$(document).keydown(function() {
|
|
|
|
$('.terminal-input').focus();
|
|
|
|
})
|
|
|
|
</script>
|
2016-10-16 01:23:04 +02:00
|
|
|
|
2016-10-20 20:26:38 +02:00
|
|
|
<script src="src/Server.js"></script>
|
2016-10-17 10:24:39 +02:00
|
|
|
<script src="src/Player.js"></script>
|
2016-10-20 23:11:01 +02:00
|
|
|
<script src="src/Terminal.js"></script>
|
2016-10-17 10:24:39 +02:00
|
|
|
<script src="src/engine.js"></script>
|
2016-10-16 01:23:04 +02:00
|
|
|
</body>
|
|
|
|
</html>
|