Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d3351b
commit 39dc715
Showing
8 changed files
with
119 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<%! from time import time %> | ||
<%inherit file="base.mako"/> | ||
<div class=grid_12> | ||
<h2 id=page-heading>Raw data</h2> | ||
<p>This is the information about the response of the last 300 trackers contacted, for research and debugging purposes. | ||
These include only trackers already in the list. </p> | ||
<p>The trackers are queried with a random hash.</p> | ||
</div> | ||
% if data: | ||
<div class=grid_12> | ||
<table cellspacing=0 class=sortable> | ||
<thead> | ||
<tr> | ||
<th>Time</th> | ||
<th>Result</th> | ||
<th>Tracker</th> | ||
<th>IP</th> | ||
<th>Response/Error</th> | ||
</tr> | ||
</thead> | ||
% for response in data: | ||
<tr> | ||
<td>${response['time']}</td> | ||
% if response['status'] == 1: | ||
<td class="up"><b>Working</b></td> | ||
% else: | ||
<td class="down"><b>Down</b></td> | ||
% endif | ||
<td>${response['url']}</td> | ||
<td>${response['ip']}</td> | ||
<td>${response['info']}</td> | ||
</tr> | ||
% endfor | ||
% endif | ||
</table> | ||
</div> | ||
<%def name="title()">Raw tracker data</%def> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters