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

Rebuilt all html

This commit is contained in:
Retspen 2015-03-05 11:55:15 +02:00
parent 44c0e07c7e
commit 3e14977b8f
17 changed files with 313 additions and 226 deletions

View file

@ -1,11 +0,0 @@
from django import template
import re
register = template.Library()
@register.simple_tag
def class_activebtn(request, pattern):
if re.search(pattern, request.path):
return 'btn-primary'
return ''