# HG changeset patch # User Michiel Broek # Date 1592049057 -7200 # Node ID f0896a6f9b641a4d8b56eebf505634ad31dbda3c # Parent 3ce3df681be0a688442b3e82575dce27c0337940 Add total count in the statusbar for inventory and profile databases. diff -r 3ce3df681be0 -r f0896a6f9b64 www/js/inv_equipments.js --- a/www/js/inv_equipments.js Sat Jun 13 12:14:26 2020 +0200 +++ b/www/js/inv_equipments.js Sat Jun 13 13:50:57 2020 +0200 @@ -221,6 +221,8 @@ theme: theme, showstatusbar: true, renderstatusbar: function(statusbar) { + var rowCount = $("#jqxgrid").jqxGrid('getrows').length; + statusbar.append('
Aantal items: ' + rowCount + '
'); var addButton, container = $('
'); addButton = $('
Nieuw
'); diff -r 3ce3df681be0 -r f0896a6f9b64 www/js/inv_fermentables.js --- a/www/js/inv_fermentables.js Sat Jun 13 12:14:26 2020 +0200 +++ b/www/js/inv_fermentables.js Sat Jun 13 13:50:57 2020 +0200 @@ -193,6 +193,8 @@ theme: theme, showstatusbar: true, renderstatusbar: function(statusbar) { + var rowCount = $("#jqxgrid").jqxGrid('getrows').length; + statusbar.append('
Aantal items: ' + rowCount + '
'); var container, addButton, impButton; container = $('
'); addButton = $('
Aantal items: ' + rowCount + '
'); var container, addButton, impButton; container = $('
'); addButton = $('
Aantal items: ' + rowCount + '
'); var container = $('
'); var addButton = $('
Nieuw
'); diff -r 3ce3df681be0 -r f0896a6f9b64 www/js/inv_suppliers.js --- a/www/js/inv_suppliers.js Sat Jun 13 12:14:26 2020 +0200 +++ b/www/js/inv_suppliers.js Sat Jun 13 13:50:57 2020 +0200 @@ -150,6 +150,8 @@ theme: theme, showstatusbar: true, renderstatusbar: function(statusbar) { + var rowCount = $("#jqxgrid").jqxGrid('getrows').length; + statusbar.append('
Aantal items: ' + rowCount + '
'); var addButton, container = $('
'); addButton = $('
Nieuw
'); diff -r 3ce3df681be0 -r f0896a6f9b64 www/js/inv_waters.js --- a/www/js/inv_waters.js Sat Jun 13 12:14:26 2020 +0200 +++ b/www/js/inv_waters.js Sat Jun 13 13:50:57 2020 +0200 @@ -158,6 +158,8 @@ theme: theme, showstatusbar: true, renderstatusbar: function(statusbar) { + var rowCount = $("#jqxgrid").jqxGrid('getrows').length; + statusbar.append('
Aantal items: ' + rowCount + '
'); var addButton, container = $('
'); addButton = $('
Nieuw
'); diff -r 3ce3df681be0 -r f0896a6f9b64 www/js/inv_yeasts.js --- a/www/js/inv_yeasts.js Sat Jun 13 12:14:26 2020 +0200 +++ b/www/js/inv_yeasts.js Sat Jun 13 13:50:57 2020 +0200 @@ -233,6 +233,8 @@ theme: theme, showstatusbar: true, renderstatusbar: function(statusbar) { + var rowCount = $("#jqxgrid").jqxGrid('getrows').length; + statusbar.append('
Aantal items: ' + rowCount + '
'); var container, addButton, impButton; container = $('
'); addButton = $('
Aantal items: ' + rowCount + '
'); var container = $('
'); var addButton = $('
Nieuw
'); diff -r 3ce3df681be0 -r f0896a6f9b64 www/js/profile_mash.js --- a/www/js/profile_mash.js Sat Jun 13 12:14:26 2020 +0200 +++ b/www/js/profile_mash.js Sat Jun 13 13:50:57 2020 +0200 @@ -269,6 +269,8 @@ theme: theme, showstatusbar: true, renderstatusbar: function(statusbar) { + var rowCount = $("#jqxgrid").jqxGrid('getrows').length; + statusbar.append('
Aantal items: ' + rowCount + '
'); var container = $('
'); var addButton = $('
Add
'); diff -r 3ce3df681be0 -r f0896a6f9b64 www/js/profile_styles.js --- a/www/js/profile_styles.js Sat Jun 13 12:14:26 2020 +0200 +++ b/www/js/profile_styles.js Sat Jun 13 13:50:57 2020 +0200 @@ -177,6 +177,8 @@ theme: theme, showstatusbar: true, renderstatusbar: function(statusbar) { + var rowCount = $("#jqxgrid").jqxGrid('getrows').length; + statusbar.append('
Aantal items: ' + rowCount + '
'); var container, addButton, impButton; container = $('
'); addButton = $('
Aantal items: ' + rowCount + '
'); var container = $('
'), addButton = $('
Nieuw
');