git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
can pass starting lat/lon/zoom to googlemap
[myslice.git]
/
trash
/
sliceview.py
diff --git
a/trash/sliceview.py
b/trash/sliceview.py
index
456d635
..
7cbb4f9
100644
(file)
--- a/
trash/sliceview.py
+++ b/
trash/sliceview.py
@@
-48,6
+48,7
@@
def slice_view (request, slicename=tmp_default_slice):
page=page,
title="Runtime messages",
domid="msgs-pre",
page=page,
title="Runtime messages",
domid="msgs-pre",
+ levels="ALL",
),
Tabs (
page=page,
),
Tabs (
page=page,
@@
-89,6
+90,10
@@
def slice_view (request, slicename=tmp_default_slice):
# tab's sons preferably turn this off
togglable=False,
query=main_query,
# tab's sons preferably turn this off
togglable=False,
query=main_query,
+ # center on Paris
+ latitude=49.,
+ longitude=2.2,
+ zoom=3,
),
Raw (
# SensLabMap (
),
Raw (
# SensLabMap (
@@
-109,7
+114,7
@@
if I keep this active, so for now it's disabled
]),
Hazelnut (
page=page,
]),
Hazelnut (
page=page,
- title='not in tabs',
+ title='
a hazelnut
not in tabs',
domid='standalone',
# this is the query at the core of the slice list
query=main_query,
domid='standalone',
# this is the query at the core of the slice list
query=main_query,