Revision 072ac3b4
b/ui/static/main.css | ||
---|---|---|
18 | 18 |
|
19 | 19 |
body { |
20 | 20 |
line-height: 1; |
21 |
background:#fff url(../static/degrade-background.png) repeat scroll 0 0;
|
|
21 |
background: url(../static/degrade-background.png) repeat-x scroll 0 0 #C3C3C3;
|
|
22 | 22 |
margin: 0; |
23 | 23 |
} |
24 | 24 |
|
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