refine dashboard (remove chart.js in favor of bs progressbar), modify lineup to fit
This commit is contained in:
@@ -1,9 +1,22 @@
|
||||
import datetime
|
||||
|
||||
from django import template
|
||||
from django.shortcuts import redirect, render
|
||||
|
||||
from teamsnap.views import get_teamsnap_client
|
||||
|
||||
register = template.Library()
|
||||
|
||||
|
||||
@register.simple_tag
|
||||
def multiply(a, b):
|
||||
return a * b
|
||||
|
||||
|
||||
@register.simple_tag
|
||||
def divide(a, b):
|
||||
return int(a / b)
|
||||
|
||||
|
||||
def dashboard(request, team_id=None):
|
||||
if not team_id:
|
||||
|
||||
Reference in New Issue
Block a user