we don't need a shell for now
This commit is contained in:
parent
1573043237
commit
71afc7074b
@ -15,11 +15,6 @@ Source is available via `GitHub <http://github.com/sunlightlabs/oyster/>`_
|
|||||||
TODO
|
TODO
|
||||||
====
|
====
|
||||||
|
|
||||||
* turn daemon code into a real oysterd
|
|
||||||
* internal logging
|
|
||||||
* oyster shell commands
|
|
||||||
* status
|
|
||||||
* track
|
|
||||||
* oysterweb
|
* oysterweb
|
||||||
* dashboard
|
* dashboard
|
||||||
* errors
|
* errors
|
||||||
|
@ -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()
|
|
22
oyster/templates/logs.html
Normal file
22
oyster/templates/logs.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user