From: Thierry Parmentelat <thierry.parmentelat@inria.fr> Date: Tue, 9 Apr 2013 14:50:59 +0000 (+0200) Subject: disable SensLabMap for now X-Git-Tag: myslice-0.2-1~167 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=692eeb65d8c9bdeec7fd79d3c66380ae107918a6;p=unfold.git disable SensLabMap for now --- diff --git a/trash/sliceview.py b/trash/sliceview.py index fd2baf83..7345e626 100644 --- a/trash/sliceview.py +++ b/trash/sliceview.py @@ -8,6 +8,7 @@ from django.contrib.auth.decorators import login_required from unfold.page import Page from manifold.manifoldquery import ManifoldQuery +from plugins.raw.raw import Raw from plugins.stack.stack import Stack from plugins.tabs.tabs import Tabs from plugins.lists.slicelist import SliceList @@ -89,13 +90,21 @@ def slice_view (request, slicename=tmp_default_slice): togglable=False, query=main_query, ), - SensLabMap ( + Raw ( +# SensLabMap ( page=page, - title='3D view', + title='3D view (disabled)', domid='smap', - # tab's sons preferably turn this off +# # tab's sons preferably turn this off togglable=False, - query=main_query, +# query=main_query, + html="""<p class='well'> +Thierry: I am commeting off the use of <button class="btn btn-danger">SensLabMap</button> which, + although rudimentarily ported to the django framework, +causes a weird behaviour especially wrt scrolling. +On my Mac <button class="btn btn-warning"> I cannot use the mouse to scroll</button> any longer +if I keep this active, so for now it's disabled +</p>""", ), ]), Hazelnut (