Skip to content

Commit

Permalink
Removed error leaking things from frontend
Browse files Browse the repository at this point in the history
Im to lazy to fix them so i removed: local rate in shares and peers graphs
  • Loading branch information
Rav3nPL committed Dec 11, 2013
1 parent 113cea6 commit 3ee901a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
20 changes: 1 addition & 19 deletions web-static/graphs.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="/">P2Pool pool (<span class="symbol upper"></span>)</a>
<a class="brand" href="/">Rav3n_pl P2Pool pool (<span class="symbol upper"></span>) node</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="index.html">Stats</a></li>
Expand Down Expand Up @@ -97,11 +97,6 @@ <h2>Local rate</h2>
<svg id="local"></svg>
</div>
<br/>
<div class="well" style="width:1000px">
<h2>Local rate reflected in shares</h2>
<svg id="local_shares"></svg>
</div>
<br/>
<div class="well" style="width:1000px">
<h2>Current payout to default address</h2>
<svg id="payout"></svg>
Expand All @@ -112,11 +107,6 @@ <h2>Pool rate</h2>
<svg id="pool"></svg>
</div>
<br/>
<div class="well" style="width:1000px">
<h2>Peers</h2>
<svg id="peers"></svg>
</div>
<br/>
<div class="well" style="width:1000px">
<h2>Miners</h2>
<div id="miners"></div>
Expand Down Expand Up @@ -450,20 +440,12 @@ <h2>Memory Usage</h2>
{"url": "/web/graph_data/local_hash_rate/last_" + lowerperiod, "color": "#0000FF", "label": "Total"},
{"url": "/web/graph_data/local_dead_hash_rate/last_" + lowerperiod, "color": "#FF0000", "label": "Dead"}
]);
plot_later(d3.select("#local_shares"), "H/s", "H", [
{"url": "/web/graph_data/local_share_hash_rate/last_" + lowerperiod, "color": "#0000FF", "label": "Total"},
//{"url": getData("/web/graph_data/local_dead_share_hash_rate/last_" + lowerperiod, "color": "#FF0000", "label": "Dead"}
]);
plot_later(d3.select("#payout"), currency_info.symbol, null, [
{"url": "/web/graph_data/current_payout/last_" + lowerperiod, "color": "#0000FF"}
]);
d3.json("/web/graph_data/pool_rates/last_" + lowerperiod, function(data) {
plot(d3.select('#pool'), 'H/s', 'H', data_to_lines(data), true);
});
plot_later(d3.select("#peers"), "", null, [
{"url": "/web/graph_data/outgoing_peers/last_" + lowerperiod, "color": "#FF0000", "label": "Outgoing"},
{"url": "/web/graph_data/incoming_peers/last_" + lowerperiod, "color": "#0000FF", "label": "Incoming"}
], true);

d3.json("/web/graph_data/miner_hash_rates/last_" + lowerperiod, function(data) {
d3.json("/web/graph_data/miner_dead_hash_rates/last_" + lowerperiod, function(dead_data) {
Expand Down
1 change: 0 additions & 1 deletion web-static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ <h4>Global pool speed</h4>
<center>
<tt>P2Pool version: <span id="version"></span> <a href="https://github.com/Rav3nPL/p2pool-rav">GIT</a></tt><br/>
<tt>Interface by hardcpp <a href="https://github.com/hardcpp/P2PoolExtendedFrontEnd">https://github.com/hardcpp/P2PoolExtendedFrontEnd</a></tt><br/>
<tt>Donate if you love it (LTC LdKxw2JewLdo1atDsQ33LiCG9ZUDQ4XmPb) (BTC 1FBa12SPET7YRGHoTXyawp1EBJyFPzju31)</tt>
</center>
<br/>
<script type="text/javascript">
Expand Down

0 comments on commit 3ee901a

Please sign in to comment.