def render_page(self, page, template_file, values=None ):
    if values is None:
      values = {}
    self.response.headers['Content-Type'] = 'text/html'
    template = jinja_environment.get_template('layouts/main.html')
    self.response.out.write(template.render(
        page_name=page,
        page_body=self.render_template(template_file, values),
        shared_navigation=self.get_shared_navigation()
        ))
Renders a template with the main layout and nav bar.
dataset/ETHPy150Open AppScale/appscale/AppDashboard/dashboard.py/AppDashboard.render_page