cosmetic
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 24 Apr 2013 15:09:25 +0000 (17:09 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 24 Apr 2013 15:09:25 +0000 (17:09 +0200)
trash/pluginview.py
trash/sliceview.py

index efac780..efc353b 100644 (file)
@@ -35,7 +35,7 @@ def test_plugin_view (request):
     main_query = ManifoldQuery (action='get',
                                 subject='resource',
                                 timestamp='latest',
-                                fields=['network','type','hrn','hostname'],
+                                fields=['network','type','hrn','hostname','sliver'],
                                 filters= [ [ 'slice_hrn', '=', slicename, ] ],
                                 )
     # without an hazelnut, this would use use : run_it=False as nothing would listen to the results
@@ -51,7 +51,7 @@ def test_plugin_view (request):
         sons=[ \
             Updater (
                     page=page,
-                    title="Update me",
+                    title="wont show up as non togglable by default",
                     query=main_query,
                     label="Update me",
                     domid="the-updater",
@@ -59,16 +59,17 @@ def test_plugin_view (request):
             # make sure the 2 things work together
             Hazelnut (
                     page=page,
-                    title="Checkboxes should impact updater",
+                    title="Slice %s - checkboxes interacting w/ updater"%slicename,
                     query=main_query,
                     domid="hazelnut",
+                    checkboxes=True,
                     ),
             Messages (
-                page=page,
-                title="Runtime messages",
-                domid="msgs-pre",
-                levels='ALL',
-                ),
+                    page=page,
+                    title="Runtime messages",
+                    domid="msgs-pre",
+                    levels='ALL',
+                    ),
             ])
 
     # define 'unfold1_main' to the template engine
index 7cbb4f9..8f8a8ba 100644 (file)
@@ -23,7 +23,7 @@ from myslice.viewutils import quickfilter_criterias
 
 from myslice.viewutils import topmenu_items, the_user
 
-tmp_default_slice='ple.inria.sfatest'
+tmp_default_slice='ple.inria.heartbeat'
 
 @login_required
 def slice_view (request, slicename=tmp_default_slice):
@@ -44,9 +44,10 @@ def slice_view (request, slicename=tmp_default_slice):
         domid='thestack',
         togglable=False,
         sons=[
+            Raw (page=page,togglable=False, toggled=True,html="<h2> Slice page for %s</h2>"%slicename),
             Messages (
                 page=page,
-                title="Runtime messages",
+                title="Runtime messages for slice %s"%slicename,
                 domid="msgs-pre",
                 levels="ALL",
                 ),