summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/App.js4
-rw-r--r--src/components/MoreInformation.js19
-rw-r--r--src/components/RelayInformationTable.js4
3 files changed, 24 insertions, 3 deletions
diff --git a/src/App.js b/src/App.js
index 82416b4..1785b85 100644
--- a/src/App.js
+++ b/src/App.js
@@ -2,6 +2,7 @@ import React, { Component } from 'react';
import Header from './components/Header';
import RelayInformationTable from './components/RelayInformationTable';
import Introduction from './components/Introduction';
+import MoreInformation from './components/MoreInformation';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';
@@ -9,10 +10,11 @@ import 'bootstrap/dist/css/bootstrap.min.css';
class App extends Component {
render() {
return (
- <div className="App">
+ <div>
<Header />
<Introduction/>
<RelayInformationTable />
+ <MoreInformation />
</div>
);
}
diff --git a/src/components/MoreInformation.js b/src/components/MoreInformation.js
new file mode 100644
index 0000000..889974e
--- /dev/null
+++ b/src/components/MoreInformation.js
@@ -0,0 +1,19 @@
+import React, { Component } from 'react';
+
+class MoreInformation extends Component {
+ render() {
+ return (
+ <div>
+ <h3>How do I find out more?</h3>
+ <ul>
+ <li><a href="https://www.noisebridge.net/wiki/Tor_FAQ">Noisetor FAQ</a></li>
+ <li><a href="https://www.noisebridge.net/mailman/listinfo/tor">Noisebridge Tor mialing list</a></li>
+ <li><a href="https://github.com/noisetor">Noisetor on Github</a> where you can find source code for this website as well as deployment automation scripts</li>
+ <li><a href="https://twitter.com/noisetor">Noisetor on Twitter</a></li>
+ </ul>
+ </div>
+ );
+ }
+}
+
+export default MoreInformation;
diff --git a/src/components/RelayInformationTable.js b/src/components/RelayInformationTable.js
index 92aa26a..e3bd8c2 100644
--- a/src/components/RelayInformationTable.js
+++ b/src/components/RelayInformationTable.js
@@ -32,7 +32,7 @@ class RelayInformationTable extends Component {
return (
<div>
<h2>Noisetor Relay Stats</h2>
- <table className="relay-information table">
+ <table className="relay-information table table-striped">
<thead>
<tr>
<th>Name</th>
@@ -53,7 +53,7 @@ class RelayInformationTable extends Component {
<td></td>
<td><b>Total</b></td>
<td><b><BandwidthRate rate={totalObservedBandwidth}/></b></td>
- <td><b>{(totalExitProbabilty * 100).toFixed(2)}%</b></td>
+ <td><b>{(totalExitProbabilty * 100).toFixed(3)}%</b></td>
</tr>
</tbody>
</table>