Add "grid tools" to "complete" grid template.
We'll see about this...
This commit is contained in:
parent
640bb736b2
commit
654c69772e
2 changed files with 15 additions and 1 deletions
|
@ -17,6 +17,13 @@
|
|||
$('.newgrid-wrapper').gridwrapper();
|
||||
});
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.grid-tools {
|
||||
float: right;
|
||||
position: relative;
|
||||
top: -36px;
|
||||
}
|
||||
</style>
|
||||
</%def>
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
|
@ -25,8 +32,10 @@
|
|||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="grid_tools()"></%def>
|
||||
|
||||
<ul id="context-menu">
|
||||
${self.context_menu_items()}
|
||||
</ul>
|
||||
|
||||
${grid.render_complete()|n}
|
||||
${grid.render_complete(tools=capture(self.grid_tools))|n}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue