Commit 4f66665d authored by seansaito's avatar seansaito
Browse files

Updated navbar, badges, FAQ

parent f50b166f
......@@ -29,6 +29,7 @@
<div class="container text-center">
<div class="row" style="margin-top: 5%;">
<h1>Badges</h1>
<h3>Badges are awarded based on how well <br>a family of relays does compared to others</h3>
</div>
{% for badge in badges_list %}
......
......@@ -32,35 +32,36 @@
</h4>
</div>
<div id="collapse1" class="panel-collapse collapse">
<div class="panel-body">All the data on Roster comes from <a href="https://onionoo.torproject.org/index.html" target="_blank">Onionoo</a>. Relays and their stats are then grouped into families based on their extended_family fields.</div>
<div class="panel-body">All the data on Roster comes from <a href="https://onionoo.torproject.org/index.html" target="_blank">Onionoo</a>.
Relays and their stats are then grouped into families based on their extended_family fields.<br>
Raw data downloaded and processed every hour using consensus data provided from Onionoo.</div>
</div>
</div>
<div class="panel panel-warning">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse2">
Collapsible Group 2</a>
How are points calculated?</a>
</h4>
</div>
<div id="collapse2" class="panel-collapse collapse">
<div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.</div>
<div class="panel-body">
The points are calculated via a linear combination of the various relay stats. These include bandwidth, <br> consensus weight, number of relays, multiple diversity
metrics of the family, etc. Each stat is assigned a coefficient/weight.
</div>
</div>
</div>
<div class="panel panel-warning">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse3">
Collapsible Group 3</a>
Who's behind this?</a>
</h4>
</div>
<div id="collapse3" class="panel-collapse collapse">
<div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.</div>
<div class="panel-body">
Roster is maintained and developed by Sean Saito and Virgil Griffith.
</div>
</div>
</div>
</div>
......
......@@ -17,8 +17,9 @@
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://github.com/seansaito/Roster/">Repo on GitHub</a></li>
{% if not top10_bandwidth and not top10_consensus %}
<ul class="nav navbar-nav navbar-right">
<li><a>A relay operator? Search here:</a></li>
<form class="navbar-form navbar-right" role="search" action="/search" method="post">
<li>
......@@ -28,8 +29,8 @@
<button type="submit" class="btn btn-default">Submit</button>
</li>
</form>
</ul>
{% endif %}
</ul>
</div>
</div>
</nav>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment