Commit graph

3681 commits

Author SHA1 Message Date
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
Lance Edgar d773043429 Allow override of products query when making batch from it
also, invoke handler properly when populating the batch (i.e. to include
setup/teardown)
2018-11-26 18:58:55 -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 d9e5eff23d Fix download filename when it contains spaces 2018-11-25 17:27:31 -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 0375d66b91 Tweak default "model title" logic for master view
i.e. if view class doesn't declare one
2018-11-22 11:12:31 -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 de788423e1 Update comments per frozen webhelpers2_grid dependency
not sure yet if it's worth refactoring to new version? probably is though..
2018-11-21 21:19:02 -06:00
Lance Edgar 6b7631013d Remove some relationship fields when creating new Person 2018-11-21 19:56:01 -06:00
Lance Edgar 5c66eb5f4f Refactor API collection_get to work with vue-tables-2
https://github.com/matfish2/vue-tables-2
2018-11-20 20:49:13 -06:00
Lance Edgar 81db564e34 Delay import of sqlalchemy_filters project
since apparently we can't use this (and hence our new API) unless python3
2018-11-20 17:07:28 -06:00
Lance Edgar 46501b7caa Use sqlalchemy-filters package for REST API collection_get
just sorting and pagination so far though, no actual filters yet
2018-11-19 23:56:42 -06:00
Lance Edgar 3e8d6a27f1 Update changelog 2018-11-19 14:15:48 -06:00
Lance Edgar 4806d7e5fe Expose price_diff_percent, margin_diff for pricing batch row 2018-11-18 21:12:08 -06:00