diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index 8878de6..e1bd171 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -625,10 +625,6 @@ def panel_products(current_user): def recent_bar(current_user): bar_data = { "last_update": datetime.datetime.utcnow(), - "initial": random.randint(0, 10), - "processing": random.randint(0, 10), - "verifying" : random.randint(0, 10), - "completed" : random.randint(0, 10), "top_bar": [ {"id": "1", "description": "Contacts" , "last_update": "10-10-2010 11:00 AM", "value": random.randint(0, 10) , "data_span":'Last 2 months'}, {"id": "2", "description": "Site Traffic" , "last_update": "10-10-2010 11:30 AM", "value": random.randint(0, 10), "data_span":'Past 12 hours'}, @@ -638,6 +634,11 @@ def recent_bar(current_user): } return jsonify(bar_data=bar_data) +# "initial": random.randint(0, 10), +# "processing": random.randint(0, 10), +# "verifying" : random.randint(0, 10), +# "completed" : random.randint(0, 10), +# @app.route("/panel/account/actions") @token_required def recent_actions(current_user): @@ -666,15 +667,16 @@ def recent_actions(current_user): "processing": random.randint(0, 10), "verifying" : random.randint(0, 10), "completed" : random.randint(0, 10), - "actions2": [ - {"no": "1", "description": "Welcome to MERMS" , "date": "10-10-2010 11:00 AM", "status": 'completed'}, - {"no": "2", "description": "Personal Blog Setup" , "date": "10-10-2010 11:30 AM", "status": 'processing'}, - {"no": "3", "description": "Web Traffic Analysis" , "date": "10-12-2010 11:30 AM", "status": 'verifying'}, - ], "actions" :array3 } return jsonify(action_data=action_data, recent_actions=array3) +# "actions2": [ +# {"no": "1", "description": "Welcome to MERMS" , "date": "10-10-2010 11:00 AM", "status": 'completed'}, +# {"no": "2", "description": "Personal Blog Setup" , "date": "10-10-2010 11:30 AM", "status": 'processing'}, +# {"no": "3", "description": "Web Traffic Analysis" , "date": "10-12-2010 11:30 AM", "status": 'verifying'}, +# ], +# @app.route("/panel/account/products/url") @token_required def product_urls(current_user):