log viewer for web debugging

workspace
Brendan Howell 5 years ago
parent 873ab3b6a2
commit 3d1965a567

@ -30,10 +30,10 @@ class IhrApp(Bottle):
<ul> <ul>
""" """
for bureau in self.bureaus: for bureau in self.bureaus:
out += '<li>{0}\n'.format(bureau) out += '<li>{0}:<ul>\n'.format(bureau)
out += '<li><a href="/config/{0}">{0}</a></li>\n'.format(bureau) out += '<li><a href="/config/{0}">{0}</a></li>\n'.format(bureau)
out += '<li><a href="/log/{0}">{0}</a></li>\n'.format(bureau) out += '<li><a href="/log/{0}">{0}</a></li>\n'.format(bureau)
out += '</li>' out += '</ul></li>'
out += '<li><a href="/config/printers">Printers</a></li>\n' out += '<li><a href="/config/printers">Printers</a></li>\n'
out += '<li><a href="/config/mgmt">Management</a></li>\n' out += '<li><a href="/config/mgmt">Management</a></li>\n'

Loading…
Cancel
Save