we don't need a shell for now

This commit is contained in:
James Turk 2011-08-02 14:56:53 -04:00
parent 1573043237
commit 71afc7074b
3 changed files with 22 additions and 12 deletions

View File

@ -15,11 +15,6 @@ Source is available via `GitHub <http://github.com/sunlightlabs/oyster/>`_
TODO
====
* turn daemon code into a real oysterd
* internal logging
* oyster shell commands
* status
* track
* oysterweb
* dashboard
* errors

View File

@ -1,7 +0,0 @@
from ..client import Client
if __name__ == '__main__':
c = Client()
print 'Tracking:', c.db.tracked.count()
print 'Waiting In Queue:', c.get_update_queue_size()

View File

@ -0,0 +1,22 @@
<!doctype html>
<html>
<body>
<table>
<tr>
<th>error</th>
<th>action</th>
<th>description</th>
<th>timestamp</th>
</tr>
{% for log in logs %}
<tr>
<td>{% if log.error %}{{log.error}}{% endif %}</td>
<td>{{log.action}}</td>
<td><a href="/tracked/{{log.url}}">{{log.url}}</td>
<td>{{log.timestamp}}</td>
</tr>
{% endfor %}
</table>
</body>
</html>