def allocation_running_color(running):
    """Returns Bootstrap-compatible contextual color CSS class from Allocation running state.
    """
    if running:
        return "success"
    else:
        return "important"