From 951b3cd4c7851e2fa9b514f84d1a4333b1dbd54b Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 13 Dec 2024 07:41:35 -0500 Subject: [PATCH] members --- services/web/project/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index f15d8eb..0530a0a 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -68,8 +68,8 @@ def hello_world(): with connection.cursor() as cursor: cursor.execute(GLOBAL_AVG) account = cursor.fetchone() - #return jsonify(hello="ameye world") - return {"account": account} + return jsonify(hello="ameye world") + # return {"account": account} @app.route("/panel/auth/login", methods=["POST"]) @@ -185,6 +185,12 @@ def recent_actions(current_user): "processing": "0", "verifying" : "0", "completed" : "0", + "top_bar": [ + {"id": "1", "description": "Contacts" , "last_update": "10-10-2010 11:00 AM", "value": '0'}, + {"id": "2", "description": "Site Traffic" , "last_update": "10-10-2010 11:30 AM", "value": '0'}, + {"id": "3", "description": "Appointments" , "last_update": "10-12-2010 11:30 AM", "value": '0'}, + {"id": "4", "description": "Purchases" , "last_update": "10-12-2010 11:30 AM", "value": '0'}, + ], "actions": [ {"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'},