diff --git a/tailbone/static/css/newgrids.css b/tailbone/static/css/newgrids.css index 59327e24..2fb1728c 100644 --- a/tailbone/static/css/newgrids.css +++ b/tailbone/static/css/newgrids.css @@ -79,6 +79,17 @@ } +/****************************** + * tools + ******************************/ + +.grid-tools { + float: right; + margin-bottom: 4px; +} + + + /****************************** * table ******************************/ diff --git a/tailbone/templates/master/index.mako b/tailbone/templates/master/index.mako index 5376c37b..f11f369d 100644 --- a/tailbone/templates/master/index.mako +++ b/tailbone/templates/master/index.mako @@ -2,7 +2,8 @@ ## ############################################################################## ## ## Default master 'index' template. Features a prominent data table and -## exposes a way to filter and sort the data, etc. +## exposes a way to filter and sort the data, etc. Some index pages also +## include a "tools" section, just above the grid on the right. ## ## ############################################################################## <%inherit file="/base.mako" /> @@ -17,18 +18,11 @@ $('.newgrid-wrapper').gridwrapper(); }); - %def> <%def name="context_menu_items()"> - % if master.creatable and request.has_perm('{0}.create'.format(grid.permission_prefix)): -