mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-07 12:54:36 +00:00
Rebuilt all html
This commit is contained in:
@@ -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 ''
|
||||
Reference in New Issue
Block a user