improved toorbar, thanks Anthony
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.1 (2012-08-27 15:29:22) rc4
|
||||
Version 2.00.1 (2012-08-27 16:16:20) rc4
|
||||
|
||||
+6
-1
@@ -405,10 +405,15 @@ class Response(Storage):
|
||||
dbstats = [TABLE(*[TR(PRE(row[0]),'%.2fms' % (row[1]*1000)) \
|
||||
for row in i.db._timings]) \
|
||||
for i in thread.instances]
|
||||
dbtables = dict([(i.uri, [t for t in i.db.tables if t not in i.db._LAZY_TABLES])
|
||||
dbtables = dict([(i.uri, {'defined': sorted(list(set(i.db.tables) -
|
||||
set(i.db._LAZY_TABLES.keys()))) or
|
||||
'[no defined tables]',
|
||||
'lazy': sorted(i.db._LAZY_TABLES.keys()) or
|
||||
'[no lazy tables]'})
|
||||
for i in thread.instances])
|
||||
else:
|
||||
dbstats = [] # if no db or on GAE
|
||||
dbtables = {}
|
||||
u = web2py_uuid()
|
||||
return DIV(
|
||||
BUTTON('design',_onclick="document.location='%s'" % admin),
|
||||
|
||||
Reference in New Issue
Block a user