-
Notifications
You must be signed in to change notification settings - Fork 29
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
f1e28fb
commit a547ed6
Showing
3 changed files
with
108 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
ooni-api (1.0.75) unstable; urgency=medium | ||
|
||
* Debug test list using HTML table | ||
|
||
-- Federico Ceratto <[email protected]> Mon, 09 Oct 2023 11:32:34 +0200 | ||
|
||
ooni-api (1.0.74) unstable; urgency=medium | ||
|
||
* Filter measurements by OONIRun ID | ||
|
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,75 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>OONI API</title> | ||
|
||
{% block head_meta %} | ||
<meta charset="UTF-8"> | ||
{% endblock %} | ||
|
||
{% block head_css %} | ||
<link href="/static/css/master.css" rel="stylesheet" /> | ||
{% endblock %} | ||
|
||
{% block head %} | ||
{% endblock %} | ||
|
||
{% block head_js %} | ||
{% endblock %} | ||
|
||
<script src="https://www.kryogenix.org/code/browser/sorttable/sorttable.js"></script> | ||
|
||
</head> | ||
<body> | ||
{% block body %} | ||
|
||
{% block navbar %} | ||
{% endblock %} | ||
|
||
{% block uncontained %} | ||
{% endblock %} | ||
|
||
<div class="container"> | ||
|
||
{% block content_fluid %} | ||
{% endblock %} | ||
|
||
<form> | ||
<label>CC</label> <input type="text" name="probe_cc"> <br> | ||
<input type="submit" value="Submit"> | ||
</form> | ||
|
||
<table class="sortable"> | ||
<tr> | ||
<th>url</th> | ||
<th>category_code</th> | ||
<th>msmt_cnt</th> | ||
<th>priority</th> | ||
<th>weight</th> | ||
</tr> | ||
|
||
{% for i in test_items %} | ||
<tr class="item"> | ||
<td>{{ i["url"] }}</td> | ||
<td>{{ i["category_code"] }}</td> | ||
<td>{{ i["msmt_cnt"] }}</td> | ||
<td>{{ i["priority"] }}</td> | ||
<td>{{ i["weight"] }}</td> | ||
</tr> | ||
{% endfor %} | ||
|
||
</table> | ||
|
||
</div> | ||
|
||
{% block footer %} | ||
{% include 'footer.html' %} | ||
{% endblock %} | ||
|
||
{% block tail_js %} | ||
{% endblock %} | ||
|
||
{% endblock %} | ||
</body> | ||
</html> | ||
|