in src/ui/template/restaurant.html there is are two forms whose action is /set_role_priority. Right now we allow them to set a number for each. It would be more user friendly to have a list that can be reordered, either by buttons that move items up/down/to-top/to-bottom or by dragging.
The javascript logic can be stored in src/ui.
There may need to be some changes in set_role_priority() in src/scheduling.py to support any new way the list is passed.
in
src/ui/template/restaurant.html
there is are two forms whose action is/set_role_priority
. Right now we allow them to set a number for each. It would be more user friendly to have a list that can be reordered, either by buttons that move items up/down/to-top/to-bottom or by dragging.The javascript logic can be stored in
src/ui
.There may need to be some changes in
set_role_priority()
insrc/scheduling.py
to support any new way the list is passed.