Commit graph

2744 commits

Author SHA1 Message Date
Lance Edgar 0ea0ca240a Fix bug when making new member 2018-12-19 23:14:23 -06:00
Lance Edgar 512e74c493 Add basic master view for Members table 2018-12-19 23:07:32 -06:00
Lance Edgar c9d40abe96 Update changelog 2018-12-19 11:38:01 -06:00
Lance Edgar 2ed34dda15 Make sure custom field labels are shown for batch execution dialog 2018-12-18 20:23:13 -06:00
Lance Edgar 5151e2dd96 Expose label profile selection when editing label batch 2018-12-18 19:26:11 -06:00
Lance Edgar a637ba1e6b Add 'percent' as field type for Form; fix rendering of 'percent' for Grid
these both now assume the value obtained will be a "typical" percentage
decimal, i.e. 0.30130 instead of 30.130
2018-12-18 17:41:38 -06:00
Lance Edgar 3e9fdbacad Expose subdepartment for pricing batch rows 2018-12-18 16:50:49 -06:00
Lance Edgar 8d534691ac Add 'unit_cost' to Excel download for Products grid 2018-12-18 16:37:40 -06:00
Lance Edgar c7496d7018 Clean up some inventory batch UI logic; prefer units by default 2018-12-18 15:13:01 -06:00
Lance Edgar d61d9cc574 Add ability to make new pricing batch from input data file 2018-12-17 22:35:56 -06:00
Lance Edgar 6a643411a4 Fix some styles, per flexbox layout changes 2018-12-17 22:35:42 -06:00
Lance Edgar d369693f9f Add oneoff_import() helper method to MasterView class 2018-12-15 22:29:28 -06:00
Lance Edgar b4d1666bdf Add object_helpers() def to master/view template 2018-12-15 22:29:08 -06:00
Lance Edgar 2f2b36c91d Update changelog 2018-12-14 16:09:26 -06:00
Lance Edgar 10a8babed7 Fix some layout styles for master edit template
yay, flexbox
2018-12-14 16:08:18 -06:00
Lance Edgar 86117944e4 Update changelog 2018-12-13 13:01:33 -06:00
Lance Edgar 841dda903f Refactor product view template to use flexbox styles
finally, the layout is reasonably clean and should stay that way...
2018-12-12 15:07:18 -06:00
Lance Edgar 6907fbe844 Update changelog 2018-12-10 18:34:40 -06:00
Lance Edgar bef7a2af36 Expose new "sync me" flag for LabelProfile settings 2018-12-04 18:56:20 -06:00
Lance Edgar 8192b19858 Update changelog 2018-12-02 15:35:42 -06:00
Lance Edgar fe35986432 Expose old_price_margin field for pricing batch rows 2018-11-30 19:24:23 -06:00
Lance Edgar 358ac1592b Fix layout issues for "object-helper" element
thanks flexbox!
2018-11-30 17:53:00 -06:00
Lance Edgar e100e0ea72 Use 4 decimal places when calculating hours for worked shift excel download 2018-11-30 16:59:59 -06:00
Lance Edgar 61fa77b752 Remove some pointless tests
they became broken, but not worth fixing
2018-11-30 16:07:58 -06:00
Lance Edgar 3bc0ba73ee Fix app_title reference in mobile templates 2018-11-30 15:32:59 -06:00
Lance Edgar 6022ef9be3 Don't assume app has configured a tempmon DB engine
whoops
2018-11-29 14:52:44 -06:00
Lance Edgar c1eaf28812 Add support for top-level links for simple menus
also add 'messaging_enabled' to global template context, so can include (or
not) that stuff in the user menu
2018-11-29 14:51:57 -06:00
Lance Edgar 0eb394fb86 Add support for "simple" menus in base template
also flesh out the simple menu logic a bit, add separators etc.
2018-11-29 14:00:11 -06:00
Lance Edgar 291128b96f Refactor default and bobcat theme re: "context menu" styles
finally, we have that hugging the top right corner, without float!
2018-11-29 12:04:29 -06:00
Lance Edgar c88e1cca68 Force use of "simple" menus for bobcat theme
seems safe i think...
2018-11-29 01:55:29 -06:00
Lance Edgar b5083d32db Add basic support for "simple menus"
for sake of keeping those in common across various themes
2018-11-29 01:39:20 -06:00
Lance Edgar a76a7dd54c Add support for new Bulma 'navbar' menu for bobcat theme
unfortunately the /menu.mako can't be shared (yet?) so apps must maintain a
separate one if they wish to support this new theme.

also, now when changing app theme we totally clear the lookup object's template
cache.  this was necessary for sake of /menu.mako but seems to be 'safe' so far
2018-11-28 23:50:50 -06:00
Lance Edgar 0ba1d65b11 Use bulma-style notifications for bobcat theme
instead of previous one, which was sort of pseudo-jquery i guess?
2018-11-28 22:35:22 -06:00
Lance Edgar 1fa56aa683 Add Bulma-style footer to bobcat theme
also refactor HTML element tree in general, for sake of bulma
2018-11-28 22:23:02 -06:00
Lance Edgar 103f006cc0 Turn on Bulma CSS framework for 'bobcat' theme
still trying to match the default theme here, but only in spirit, and giving
priority to doing things "the bulma way" if possible
2018-11-28 21:39:46 -06:00
Lance Edgar 9913586155 Add basic 'excite-bike' theme
no one will want this, surely...  but useful for contrast
2018-11-28 19:57:10 -06:00
Lance Edgar 3a982f6e38 Fix head_tags() template inheritance bug
this broke lots of things!
2018-11-28 19:44:09 -06:00
Lance Edgar 23ce2fb33c Add description, notes to default form_fields for batch views 2018-11-28 18:15:48 -06:00
Lance Edgar 36f786f0eb Clean up how we configure DB sessions on app startup
not real sure if the old logic was a "problem" per se, but this cleanup seems
warranted and (fingers crossed) shouldn't break anything
2018-11-28 15:37:57 -06:00
Lance Edgar c56eadc49b Fix "delete object" form submit
not real sure why that broke, but this is a better pattern anyway
2018-11-28 15:37:35 -06:00
Lance Edgar 508359a939 Fix template references for app_title
make sure we only look to /base_meta.mako for that
2018-11-27 18:20:15 -06:00
Lance Edgar acaa83c31a Add some code comments 2018-11-27 17:53:24 -06:00
Lance Edgar ea0dc1ea19 Add template "theme" feature, albeit global
would be even better to let each user session have something different, but
alas this is all-or-nothing for now
2018-11-27 17:52:02 -06:00
Lance Edgar f05d50bce3 Allow user to choose which columns to show, for Vue.js users grid 2018-11-27 03:05:14 -06:00
Lance Edgar b7319fd152 Add patterns for joining tables in API list methods
i.e. we needed to do an *outer* join on User.person since that can be null
2018-11-27 02:21:38 -06:00
Lance Edgar 93aa96a339 Add support for sorting by person name in Vue.js Users grid 2018-11-27 01:49:39 -06:00
Lance Edgar 875f520710 Add basic FontAwesome support to new Vue.js table grid
i.e. for sortable column icons
2018-11-27 00:57:38 -06:00
Lance Edgar 02528aecc7 Tweak styles for "global title" in header 2018-11-26 22:58:21 -06:00
Lance Edgar 993d8c3b4e Add very basic Vue.js grid/index experiment for Users table 2018-11-26 22:07:30 -06:00
Lance Edgar 25e61cc8d5 Use empty string instead of null as fallback value, for pricing rows CSV 2018-11-26 19:25:32 -06:00