Commit graph

479 commits

Author SHA1 Message Date
Lance Edgar c7496d7018 Clean up some inventory batch UI logic; prefer units by default 2018-12-18 15:13:01 -06:00
Lance Edgar 6a643411a4 Fix some styles, per flexbox layout changes 2018-12-17 22:35:42 -06:00
Lance Edgar b4d1666bdf Add object_helpers() def to master/view template 2018-12-15 22:29:08 -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 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 358ac1592b Fix layout issues for "object-helper" element
thanks flexbox!
2018-11-30 17:53:00 -06:00
Lance Edgar 3bc0ba73ee Fix app_title reference in mobile templates 2018-11-30 15:32:59 -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 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 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 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 3b54ab3e0b Add "min % diff" option for pricing batch from products query
refactor the "batch from query" a bit also, to allow for multiple batch type
options which represent the same underlying batch type.  (thought i needed
that, then realized i didn't, but seems safe to include.)
2018-11-25 20:14:49 -06:00
Lance Edgar 4fa9ab3c6e Add better support for "make import batch from file" pattern 2018-11-22 20:26:28 -06:00
Lance Edgar 4ad958b9d2 Fix bug in receiving template when truck dump not enabled 2018-11-21 23:03:07 -06:00
Lance Edgar 20e654ddea Display "suggested price" when viewing product details
very basic support here...
2018-11-08 09:57:41 -06:00
Lance Edgar 1123cbb728 Only show Restart Filemon button if so configured
otherwise everyone would need to include that view in their config
2018-10-25 17:52:00 -05:00
Lance Edgar 2131ea65cb Add button for restarting filemon
although this button shows up only on the datasync page, for now..
2018-10-25 17:47:43 -05:00
Lance Edgar fc8391c6d1 Use load mask even for first data fetch, for probe readings graph 2018-10-25 16:00:15 -05:00
Lance Edgar f086a2aa38 Add more time range options for viewing tempmon probe readings as graph 2018-10-25 15:57:25 -05:00
Lance Edgar 05c33a4b34 Add ability to "transform" TD parent row from pack to unit item
to make "claiming" more straightforward
2018-10-24 18:52:49 -05:00
Lance Edgar 0e13e5606a Add very basic support for viewing probe readings as graph
can only view the last hour of readings, so far
2018-10-19 23:00:43 -05:00
Lance Edgar 78941ec8d9 Add thumbnail images to Appliances grid
guess we'll see how folks like this
2018-10-19 19:47:00 -05:00
Lance Edgar 40a8761feb Add support for new Tempmon Appliance table, etc. 2018-10-19 17:55:23 -05:00
Lance Edgar aa97a36167 Customize template for viewing probe details
probably still need to improve editing also?  we'll see
2018-10-19 16:49:47 -05:00
Lance Edgar 1bbf6c0940 Fix a dialog button for Chrome 2018-10-18 15:50:06 -05:00
Lance Edgar fd0760ed07 Add "hours as decimal" hover text for some HH:MM timesheet values
hoping this helps with random troubleshooting...
2018-10-12 19:05:14 -05:00
Lance Edgar 362173ef10 Allow override of jquery source, for mobile base template 2018-10-06 21:04:21 -05:00
Lance Edgar 3f2c57c89f Allow override of jquery for base template 2018-10-06 20:51:04 -05:00
Lance Edgar e05a58bdee Add some helptext for various tempmon fields 2018-10-06 17:41:33 -05:00
Lance Edgar f17d7355e0 Auto-disable button when sending email preview 2018-10-05 19:58:58 -05:00
Lance Edgar 29e023096b Show tempmon readings when viewing client or probe
also make the probes list more helpful when viewing client
2018-10-05 19:29:26 -05:00
Lance Edgar d7863c2572 Add speedbump by default when deleting any "row" record
also, allow deleting rows for truck dump child batch
2018-09-22 19:27:17 -05:00
Lance Edgar 8c26b632fe Only show mobile "quick receive" buttons if product is identifiable 2018-09-20 16:15:45 -05:00
Lance Edgar 0b9fe2dfe7 Add simple row status breakdown when viewing batch 2018-09-20 15:58:45 -05:00
Lance Edgar be49ca6967 Add quick-receive 1EA, 3EA, 6EA for mobile receiving
but only when cases are allowed.  at least for now...should surely be more
configurable than we have it now
2018-09-19 17:11:16 -05:00