Renders the dashboard when the server is initially run.

    Usage description:
    The rendered HTML allows the user to select a project and the desired run.

    :return: Template to render, Object that is taken care by flask.

def index():
    """
    Renders the dashboard when the server is initially run.

    Usage description:
    The rendered HTML allows the user to select a project and the desired run.

    :return: Template to render, Object that is taken care by flask.
    """
    # Reset current index values when the page is refreshed
    for k, v in current_index.items():
        current_index[k] = 0

    logging.info("Dashboard refreshed")

    # render the template (below) that will use JavaScript to read the stream
    return render_template("crystal_dashboard.html")