summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index ba9f1a3..db56169 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -380,7 +380,8 @@ def index():
server_id = i['server'].id
dashboard_servers[server_id]['clients'] = i['json']['clients']
- return render_template('dashboard.html', servers=dashboard_servers, colsize="6")
+ now = timestamp.strftime('%Y-%m-%d %H:%M:%S')
+ return render_template('dashboard.html', servers=dashboard_servers, now=now, colsize="6")
@app.route('/login', methods=['GET', 'POST'])
def login():