Byzantium/Byzantium — Issue #38: Control panel: fix labeling of service buttons.
Author: virtadpt
Created: 2011-10-26 14:13:26+00:00
State: open

In the HTML generated by the Services.index() method, each service has two buttons associated with it - a non-clickable button that shows the name of the service and its status (green for running, red for not-running), and a clickable button that toggles the state of the service (running or not). The services' toggles are colored appropriately (green for 'start', red for 'stop') but the label on the button is the same as the name of the service (due to how forms pass information to the next HTML page). Those labels need to be changed to 'start' or 'stop' as appropriate rather than the name of the service.