Home
last modified time | relevance | path

Searched refs:template_values (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/dashboard/dashboard/
Drequest_handler.py29 def RenderHtml(self, template_file, template_values, status=200): argument
40 self.GetDynamicVariables(template_values)
41 self.response.out.write(template.render(template_values))
49 def GetDynamicVariables(self, template_values, request_path=None): argument
76 template_values['login_url'] = login_url
77 template_values['display_username'] = display_username
78 template_values['user_info'] = user_info
79 template_values['is_admin'] = is_admin
80 template_values['is_internal_user'] = utils.IsInternalUser()
81 template_values['xsrf_token'] = xsrf_token
[all …]
Dchart_handler.py22 def RenderHtml(self, template_file, template_values, status=200): argument
24 template_values.update(self._GetChartValues())
25 template_values['revision_info'] = json.dumps(
26 template_values['revision_info'])
28 template_file, template_values, status)
30 def GetDynamicVariables(self, template_values, request_path=None): argument
31 template_values.update(self._GetChartValues())
33 template_values, request_path)
Dnavbar.py16 template_values = {}
17 self.GetDynamicVariables(template_values, self.request.get('path'))
19 'login_url': template_values['login_url'],
20 'is_admin': template_values['is_admin'],
21 'display_username': template_values['display_username'],
/external/chromium-trace/catapult/firefighter/default/handlers/
Dtrace.py30 template_values = {
35 self.response.out.write(template.render(template_values))
/external/chromium-trace/catapult/third_party/webapp2/docs/tutorials/gettingstarted/
Dtemplates.rst43 template_values = {
50 self.response.out.write(template.render(path, template_values))
79 ``template.render(path, template_values)`` takes a file path to the template
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dhtml.py261 template_values = {
267 html = spaceless(self.source_tmpl.render(template_values))