<% import socket host_ip = 'void' try: host_ip = socket.gethostbyname(socket.gethostname()) except: pass end tor_info = get('tor_info') box_bold_grid = 'col-xs-3 col-md-2 box_bold' box_section_grid = 'col-xs-8 col-md-9 box_section' box_datum_grid = 'col-xs-3 col-md-2 box_datum' box_value_grid = 'col-xs-8 col-md-9 box_value' box_title_grid = 'col-xs-8 col-md-9 box_title' box_subtitle_grid = 'col-xs-8 col-md-9 box_subtitle' def standard_row(datum, value): out = "
" out += "
{}
".format(box_datum_grid, datum) out += "

{}

".format(box_value_grid, value) out += "
" out += "
" return out end def header_row(bold, section, target): out = "
".format(target) out += "
{}
".format(box_bold_grid, bold) out += "

{}

".format(box_section_grid, section) out += "
" out += "
" return out end my_name = 'The Onion Box' %> {{my_name}} % include('css/box.css')
{{my_name}}

{{!"Tor @ {}
Client @ {}".format(host_ip, remote_addr)}}


{{!header_row('Tor', 'Login Request', 'host')}}

Password