コード例 #1
0
def tutorial():
    """ Tutorial Route

        Route to lead to the tutorial page

        Args:
            None

        Returns:
            rendered template for tutorial.html
    """

    content = github.get_tutorial_content()

    return render_template('tutorial.html', title='CONP | Tutorial', user=current_user, content=content)
コード例 #2
0
ファイル: routes.py プロジェクト: tkkuehn/conp-portal
def dats_editor():
    """ DATS Editor Route

        Route to lead to the DATS Editor page

        Args:
            None
        Returns:
            rendered template for dats-editor.html
    """

    content = github.get_tutorial_content()

    return render_template('dats-editor.html',
                           title='CONP | DATS Editor',
                           user=current_user,
                           content=content)