示例#1
0
def learning_board():
    final_nav_header = getSessionInfo()
    content_html = parseMarkdownLocal(constants.LEARNING_BOARD_MARKDOWN_FILE)

    return render_template('learning_board.html',
                           title=get_app_title(),
                           final_nav_header=final_nav_header,
                           content_html=content_html)
示例#2
0
def quiz_page_route():
    final_nav_header = getSessionInfo()
    content_html = parseMarkdownLocal(constants.QUIZ_RULES_MARKDOWN_FILE)

    return render_template('quiz/quiz.html',
                           title=get_app_title(),
                           final_nav_header=final_nav_header,
                           iframe_url=constants.QUIZ_IFRAME_URL,
                           quiz_rules_html=content_html)
示例#3
0
def discussion_page_view():
    final_nav_header = getSessionInfo()
    content_html = parseMarkdownLocal(constants.DISCUSSION_RULES_MARKDOWN_FILE)

    return render_template('discussion_page.html',
                           title=get_app_title(),
                           final_nav_header=final_nav_header,
                           iframe_url=constants.DISCUSSION_IFRAME_URL,
                           discussion_rules_html=content_html)
def about_us():
    final_nav_header = getSessionInfo()

    content_html = parseMarkdownLocal(constants.ABOUT_US_MARKDOWN_FILE)

    return render_template('terms/about_us.html',
                           title=get_app_title(),
                           final_nav_header=final_nav_header,
                           content_html=content_html)
def faq_page():
    final_nav_header = getSessionInfo()

    content_html = parseMarkdownLocal(constants.FAQ_MARKDOWN_FILE)

    return render_template('faq_global.html',
                           title=get_app_title(),
                           final_nav_header=final_nav_header,
                           content_html=content_html)
def terms_page_view():
    final_nav_header = getSessionInfo()

    content_html = parseMarkdownLocal(constants.TERMS_RULES_MARKDOWN_FILE)

    return render_template('terms/terms_global.html',
                           title=get_app_title(),
                           final_nav_header=final_nav_header,
                           content_html=content_html)