1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Added new design

This commit is contained in:
Retspen 2015-03-04 17:48:22 +02:00
parent d3bdec0380
commit 44c0e07c7e
62 changed files with 12134 additions and 347 deletions

View file

@ -7,5 +7,5 @@ register = template.Library()
@register.simple_tag
def class_active(request, pattern):
if re.search(pattern, request.path):
return 'active'
return 'class="active"'
return ''