Adding updated build and fixing display bugs with Terminal's 'analyze'

This commit is contained in:
danielyxie 2018-09-22 19:36:28 -05:00
parent f78f0ec1a7
commit 3051208bcb
5 changed files with 81 additions and 65 deletions

File diff suppressed because one or more lines are too long

20
dist/engine.css vendored

@ -89,6 +89,9 @@ tr:focus {
padding: 12px 8px;
text-decoration: none; }
.mainmenu.classic > li a {
padding: 16px; }
/* Hovering makes them lighter */
.mainmenu > li a:hover,
.mainmenu > li a:hover:not(.active),
@ -114,6 +117,10 @@ tr:focus {
.mainmenu-accordion-header {
outline: 2px solid #fff; }
.mainmenu-accordion-header-classic {
border: 2px solid #fff;
padding: 16px !important; }
/* Plus and minus signs */
.mainmenu-accordion-header:after {
content: '\2795';
@ -125,9 +132,18 @@ tr:focus {
color: transparent;
text-shadow: 0 0 0 #fff; }
.mainmenu-accordion-header.opened {
.mainmenu-accordion-header-classic:after {
content: '\2795';
float: right;
font-size: 13px;
color: #fff;
margin-left: 5px; }
.mainmenu-accordion-header.opened,
.mainmenu-accordion-header-classic.opened {
background-color: #222; }
.mainmenu-accordion-header.opened:after {
.mainmenu-accordion-header.opened:after,
.mainmenu-accordion-header-classic.opened:after {
content: "\2796"; }
/* Slide down transition */

118
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

@ -30,7 +30,7 @@
<div id="entire-game-container" style="visibility:hidden;">
<div id="mainmenu-container">
<!-- Main menu -->
<ul class="mainmenu">
<ul id="mainmenu" class="mainmenu">
<!-- Hacking dropdown -->
<li id="hacking-menu-header-li">
<a id="hacking-menu-header" class="mainmenu-accordion-header"> Hacking </a>

@ -739,9 +739,9 @@ let Terminal = {
post("Root Access: " + rootAccess);
post("Required hacking skill: " + currServ.requiredHackingSkill);
post("Server security level: " + numeralWrapper.format(currServ.hackDifficulty, '0.000a'));
post("Chance to hack: " + numeralWrapper.format(calculateHackingChance(currServ) * 100, '0.00%'));
post("Chance to hack: " + numeralWrapper.format(calculateHackingChance(currServ), '0.00%'));
post("Time to hack: " + numeralWrapper.format(calculateHackingTime(currServ), '0.000') + " seconds");
post("Total money available on server: $" + numeralWrapper.format(currServ.moneyAvailable, '$0,0.00'));
post("Total money available on server: " + numeralWrapper.format(currServ.moneyAvailable, '$0,0.00'));
post("Required number of open ports for NUKE: " + currServ.numOpenPortsRequired);
if (currServ.sshPortOpen) {