Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: RaphaelBergmann/atlas
base: master
head repository: RaphaelBergmann/atlas
compare: task-21635
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 10 files changed
  • 0 comments
  • 1 contributor
@@ -81,6 +81,11 @@ pre {
padding: 5px;
}

input {
width:150px;
max-width:100%;
}

@media screen and (max-width: 980px) {
.splash h1 {
font-size:40px;
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -32,11 +32,9 @@ define([
if (flag == "Named") {
output.push([flag,"info_"+size[2], "This relay's identity-nickname mapping is canonical, and this authority binds names."]);
}
/* added for future use, but we need an icon...
if (flag == "NoEdConsensus") {
output.push([flag,"xxx_"+size[2], "An Ed25519 key in the relay's descriptor or microdesriptor does not reflect authority consensus."]);
output.push([flag,"noedconsensus_"+size[0], "An Ed25519 key in the relay's descriptor or microdesriptor does not reflect authority consensus."]);
}
*/
if (flag == "Running") {
output.push([flag,"fork_"+size[1], "This relay is currently usable."]);
}
@@ -55,9 +53,6 @@ define([
if (flag == "Exit") {
output.push([flag,"cloud_download_"+size[0], "This relay is more useful for building general-purpose exit circuits than for relay circuits."]);
}
if (flag == "Not Recommended") {
output.push([flag,"not_recommended_"+size[0], "This relay is running a software version that is not recommended by the directory authorities."]);
}
});
return output;
},
@@ -194,9 +189,6 @@ define([
relay.fingerprint = relay.hashed_fingerprint ? relay.hashed_fingerprint : relay.fingerprint;
model.set({badexit: false});
var size = ['16x16', '14x16', '8x16'];
if (relay.recommended_version===false) {
relay.flags.push("Not Recommended");
}
relay.flags = model.parseflags(relay.flags, size);
model.set(relay, options);
success(model, relay);
@@ -54,12 +54,14 @@ <h1 id="search-title"></h1>
<table class="table table-bordered table-striped" id="torstatus_results">
<thead>
<tr>
<th style="width:16px;"></th>
<th>Nickname</th>
<th>Bandwidth</th>
<th>Uptime</th>
<th>Country</th>
<th>IP</th>
<th>Flags</th>
<th>Properties</th>
<th>ORPort</th>
<th>DirPort</th>
<th>Type</th>
@@ -74,12 +76,19 @@ <h1 id="search-title"></h1>
<% } else { %>
<tr class="odd">
<% } %>
<td>
<% if (relay.get('running') === false) { %>
<img class="tip inline flags" src="img/properties/offline_16x16.png" alt="Currently offline" title="This relay is currently offline."/>
<% } else { %>
<img class="tip inline flags" src="img/properties/online_16x16.png" alt="Currently running" title="This relay is currently running."/>
<% } %>
</td>
<td>
<a href="#details/<%= relay.get('fingerprint') %>">
<%= _.escape(relay.get('nickname')) %>
</a>
</td>
<td><span data-filter="<%= relay.get('bandwidth') %>"><%= relay.get('bandwidth_hr') %></td>
<td><span data-filter="<%= relay.get('bandwidth') %>"><%= relay.get('bandwidth_hr') %></span></td>
<td>
<span data-hidden="<%= relay.get('last_restarted') %>" title="<%= relay.get('uptime_hrfull') %>" data-filter="<%= relay.get('uptime') %>" class="tip uptime">
<% if (relay.get('running') === false) { %><s><% } %><%= relay.get('uptime_hr') %><% if (relay.get('running') === false) { %></s><% } %>
@@ -95,6 +104,23 @@ <h1 id="search-title"></h1>
<% _.each(relay.get('flags'), function(flag) { %>
<img class="tip inline flags" src="img/flags/<%= flag[1] %>.png" alt="<%= flag[0] %>" title="<%= flag[0] %><br /><%= flag[2] %>"/>
<% }); %>
</td>
<td>
<% if (relay.get('recommended_version') === false) { %>
<img class="tip inline flags" src="img/properties/not_recommended_16x16.png" alt="Not recommended" title="Not recommended<br />This relay is running a software version that is not recommended by the directory authorities."/>
<% } %>
<% if (false) { %>
<img class="tip inline flags" src="img/properties/shirt_16x16.png" alt="T-Shirt" title="T-Shirt<br />This relay would currently qualify for a T-Shirt."/>
<% } %>
<%
ipv6 = false;
or_addresses = relay.get('or_addresses');
for (var j=0; j<or_addresses.length; j++) {
if (or_addresses[j].indexOf(']')>0) ipv6 = true;
}
if (ipv6) { %>
<img class="tip inline flags" src="img/properties/ipv6_16x16.png" alt="IPv6" title="IPv6<br />This relay supports IPv6."/>
<% } %>
</td>
<td><%= relay.get('or_port') %></td>
<td><%= relay.get('dir_port') %></td>
@@ -111,6 +137,9 @@ <h1 id="search-title"></h1>
</tbody>
<tfoot>
<tr>
<th>
&nbsp;
</th>
<th>
<input type="text" id="nickname" name="nickname" placeholder="Nickname" class="search_init">
</th>
@@ -131,6 +160,9 @@ <h1 id="search-title"></h1>
</th>
<th>
<input type="text" id="flags" name="flags" placeholder="Flags" class="search_init">
</th>
<th>
&nbsp;
</th>
<th>
<input type="text" id="or_port" name="or_port" placeholder="ORPort" class="search_init span1">

No commit comments for this range