Revision 072ac3b4 ui/views.py

b/ui/views.py
19 19
                 {'id':5, 'name':'My firewall', 'state':'3','public_ip':'147.102.1.67', 'thumb' : 'static/netbsd.png'},
20 20
                 {'id':6, 'name':'My windows workstation', 'state':'0','public_ip':'147.102.1.69', 'thumb' : 'static/windows.png'},
21 21
                ]
22

  
22 23
def template(name, context):
23 24
    template_path = os.path.join(os.path.dirname(__file__), "templates/")  
24 25
    current_template = template_path + name + '.html'

Also available in: Unified diff