Пример #1
0
def completion_level(level):
    """
    Determines the color of progress bar that should display.

    inputs:
    :level: The completion percentage of a user's profile.

    outputs:
    A string containing the bootstrap bar type
    """

    return get_completion(level)
Пример #2
0
def completion_level(level):
    """
    Determines the color of progress bar that should display.

    inputs:
    :level: The completion percentage of a user's profile.

    outputs:
    A string containing the bootstrap bar type
    """

    return get_completion(level)