tob bar clean up
This commit is contained in:
@@ -61,16 +61,20 @@ class AccountService(BaseService):
|
||||
next_bill = "End: 10/10/202"
|
||||
view_sub = "Upgrade Account"
|
||||
|
||||
contacts_count =0 # random.randint(0, 10)
|
||||
appointments_count =0
|
||||
site_traffic_count =0
|
||||
|
||||
|
||||
bar_data = {
|
||||
"last_update": datetime.datetime.utcnow(),
|
||||
"top_bar": [
|
||||
{"id": "1", "description": "Contacts", "last_update": "10-10-2010 11:00 AM",
|
||||
"value": random.randint(0, 10), "data_span": 'Last 2 months', "link": "#", "extra_style": ''},
|
||||
{"id": "2", "description": "Site Traffic", "last_update": "10-10-2010 11:30 AM",
|
||||
"value": random.randint(0, 10), "data_span": 'Past 12 hours', "link": "#", "extra_style": ''},
|
||||
{"id": "3", "description": "Appointments", "last_update": "10-12-2010 11:30 AM",
|
||||
"value": random.randint(0, 10), "data_span": 'Last 14 days', "link": "#", "extra_style": ''},
|
||||
"value": contacts_count, "data_span": 'Last 2 months', "link": "/contacts", "extra_style": ''},
|
||||
{"id": "2", "description": "Appointments", "last_update": "10-12-2010 11:30 AM",
|
||||
"value": appointments_count, "data_span": 'Last 14 days', "link": "/appointments", "extra_style": ''},
|
||||
{"id": "3", "description": "Site Traffic", "last_update": "10-10-2010 11:30 AM",
|
||||
"value": site_traffic_count, "data_span": 'Past 12 hours', "link": "/reports/traffic", "extra_style": ''},
|
||||
{"id": "4", "description": view_sub, "last_update": "10-12-2010 11:30 AM",
|
||||
"value": option_name, "data_span": next_bill, "link": "/subscription",
|
||||
"extra_style": " billing "}
|
||||
|
||||
Reference in New Issue
Block a user