<% # Note that this file is not a valid *.html file! # It is intended to be a bottlepy - style template # used for the scripting part of TheOnionBox! # from tob_template_tools import * import psutil cpu_count = psutil.cpu_count() # host = get('host') transport = get('transport_status') %> {{!header_row('Tor', 'Transportation Status', 'transport')}} {{!standard_row('Connections', transport['or'])}} {{!standard_row('Streams', transport['stream'])}} {{!standard_row('Circuits', transport['circ'])}}