コード例 #1
0
def bootcamp_application_form():
    """
  The bootcamp application form
  """
    return render_template(
        '/bootcamp/application_form.html',
        title=build_page_title('Boot Camp Application Form'))
コード例 #2
0
def usgdp_npp():
    """
    Serve up the U.S. real GDP normalized peak plot viz
    """
    return render_template(
        'gallery/usgdp_npp.html',
        title=build_page_title('U.S. Real GDP Normalized Peak Plot'))
コード例 #3
0
def bootcamp_current():
    """
    Show the current bootcamp status page
    """
    return render_template(
        '/bootcamp/current.html',
        title=build_page_title('Current OSE Lab Boot Camp status'))
コード例 #4
0
def marginal_effective_corporate_taxes():
    """
    Serve up the Marginal Effective Tax Rates on Corporate Investments viz
    """
    return render_template(
        'gallery/marginal_effective_corporate_taxes.html',
        title=build_page_title(
            'Marginal Effective Tax Rates on Corporate Investments'))
コード例 #5
0
def usempl_npp():
    """
    Serve up the US total nonfarm employment normalized peak plot viz
    """
    return render_template(
        'gallery/usempl_npp.html',
        title=build_page_title(
            'U.S. Total Nonfarm Employment Normalized Peak Plot'))
コード例 #6
0
def faq():
    """
    Show the FAQ page
    """
    return render_template('faq/faq.html', title=build_page_title('FAQ'))
コード例 #7
0
def gallery():
    """
    Serve up the gallery page
    """
    return render_template('gallery/index.html',
                           title=build_page_title('Gallery'))
コード例 #8
0
def djia_npp_mth():
    """
    Serve up the DJIA normalized peak plot viz
    """
    return render_template('gallery/djia_npp_mth.html',
                           title=build_page_title('DJIA Normalized Peak Plot'))
コード例 #9
0
def bootcamp_comments():
    """
    Show the boot camp comments page
    """
    return render_template('bootcamp/comments.html',
                           title=build_page_title('Boot Camp Comments'))
コード例 #10
0
def inject_view_helpers():
    return dict(now=datetime.utcnow(), title=build_page_title())
コード例 #11
0
def bootcamp_2020():
    """
    Show the 2020 bootcamp page
    """
    return render_template('/bootcamp/2020.html',
                           title=build_page_title('2020 Boot Camp Postponed'))
コード例 #12
0
def overlapping_generations():
    """
    Serve up the overlapping generations viz
    """
    return render_template('gallery/overlapping_generations.html',
                           title=build_page_title('Overlapping Generations'))
コード例 #13
0
def bootcamp_2019():
    """
    Show the 2019 bootcamp page
    """
    return render_template('/bootcamp/2019.html',
                           title=build_page_title('2019 Boot Camp'))
コード例 #14
0
ファイル: views.py プロジェクト: rickecon/oselab
def tseries_pubdebt_gdp_frcsts():
    """
    Serve up the comparison of CBO debt-to-GDP forecasts plot viz
    """
    return render_template('gallery/tseries_pubdebt_gdp_frcsts.html',
                           title=build_page_title('Comparison of CBO U.S. Debt-to-GDP Forecasts'))
コード例 #15
0
def about():
    """
    Shows the about page
    """
    return render_template('home/about.html', title=build_page_title('About'))
コード例 #16
0
def blog_post(post):
    """
    Serve up the given blog post
    """
    return render_template(f"blog/posts/{post}.html",
                           title=build_page_title('Blog'))
コード例 #17
0
def tutorials():
    """
    Serve up the tutorials page
    """
    return render_template('tutorials/index.html',
                           title=build_page_title('Tutorials'))