Overhaul newgrid template header a bit, to improve styles

This commit is contained in:
Lance Edgar 2016-04-30 20:54:22 -05:00
parent 130b6dda76
commit 6d2af6d698
5 changed files with 69 additions and 31 deletions

View file

@ -36,6 +36,9 @@
<script type="text/javascript">
$(function() {
$('.newgrid-wrapper .grid-header .tools select').selectmenu();
$('.newgrid-wrapper').on('click', 'a.print_label', function() {
var quantity = $('table.label-printing #label-quantity');
if (isNaN(quantity.val())) {
@ -96,7 +99,7 @@
<%def name="context_menu_items()">
${parent.context_menu_items()}
% if request.has_perm('batches.create'):
<li>${h.link_to("Create Batch from Results", url('products.create_batch'))}</li>
<li>${h.link_to("Create new Batch from results", url('products.create_batch'))}</li>
% endif
</%def>