| Trees | Indices | Help |
|
|---|
<meta> tag into the <head> of the generated HTML.
source code
'text/css',
media=None)'text/javascript')'trac.web'
31
Imports: datetime, itertools, os, pkg_resources, pprint, re, StringIO, Markup, tag, Element, Attrs, START, Translator, DocType, TemplateLoader, MarkupTemplate, NewTextTemplate, VERSION, IEnvironmentSetupParticipant, ISystemInfoProvider, get_mimetype, Context, compat, get_reporter_id, presentation, get_pkginfo, pathjoin, translation, any, partial, escape, plaintext, pretty_size, obfuscate_email_address, shorten_line, unicode_quote_plus, to_unicode, javascript_quote, exception_to_unicode, pretty_timedelta, format_datetime, format_date, format_time, from_utimestamp, http_date, utc, _, get_available_locales, IRequestHandler, ITemplateStreamFilter, HTTPNotFound, Href, IWikiSyntaxProvider, format_to, format_to_html, format_to_oneliner, BoolOption, ChoiceOption, Component, Configuration, ConfigurationError, ExtensionOption, ExtensionPoint, FloatOption, IResourceManager, IntOption, Interface, ListOption, Option, OrderedExtensionsOption, PathOption, Resource, ResourceNotFound, ResourceSystem, TracError, get_relative_resource, get_relative_url, get_resource_description, get_resource_name, get_resource_shortname, get_resource_summary, get_resource_url, implements, render_resource_link, resource_exists
'text/css',
media=None)
Add a link to a style sheet to the chrome info so that it gets included in the generated HTML page.
If the filename is absolute (i.e. starts with a slash), the generated link
will be based off the application root path. If it is relative, the link
will be based off the /chrome/ path.
'text/javascript')
Add a reference to an external javascript file to the template.
If the filename is absolute (i.e. starts with a slash), the generated link
will be based off the application root path. If it is relative, the link
will be based off the /chrome/ path.
Add data to be made available in javascript scripts as global variables.
The keys in data provide the names of the global variables. The values
are converted to JSON and assigned to the corresponding variables.
Add Previous/Up/Next navigation links.
@param req a Request object @param prev_label the label to use for left (previous) link @param up_label the label to use for the middle (up) link @param next_label the label to use for right (next) link
| Trees | Indices | Help |
|
|---|