diff --git a/js/html.js b/js/html.js index 3edb9e5..7a69b12 100644 --- a/js/html.js +++ b/js/html.js @@ -2154,10 +2154,20 @@ function render_tracker() show_modal(html,{wwidth:578,hideinbackground:true}); } -function render_computer($element) +function render_computer($element,type="computer",slot=0) { var html=""; html+="
CONNECTED.
"; + html+="
> TRADE HISTORY
"; + if(character.stand) { + html+="
> CLOSE STAND
"; + } else { + html+="
> OPEN STAND
"; + } + if(type == "supercomputer") { + html+="
> TRACKER
"; + } + html+="
> UPGRADE
"; // style='color: #C3C3C3' style='color: #D6D6D6' html+="
> COMPOUND
"; html+="
> EXCHANGE
"; @@ -2228,11 +2238,11 @@ function render_skill(selector,skill_name,args) else $(selector).html(html); } -function render_computer_network(selector) +function render_computer_network(selector,type,num) { var html="
"; $(selector).html(html); - render_computer($(".computernx")); + render_computer($(".computernx"),type,num); } function render_secondhands(type)