Web site chrome assembly manager.
Chrome is everything that is not actual page content.
|
|
|
|
|
environment_created(self)
Create the environment templates directory. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_all_templates_dirs(self)
Return a list of the names of all known templates directories. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render_template(self,
req,
filename,
data,
content_type=None,
fragment=False,
iterable=False)
Render the filename using the data for the context. |
source code
|
|
|
|
get_interface_customization_files(self)
Returns a dictionary containing the lists of files present in the
site and shared templates and htdocs directories. |
source code
|
|
|
|
iterable_content(self,
stream,
method,
**kwargs)
Generate an iterable object which iterates str instances
from the given stream instance. |
source code
|
|
|
|
cc_list(self,
cc_field)
Split a CC: value in a list of addresses. |
source code
|
|
|
|
|
|
|
| authorinfo(self,
req,
author,
email_map=None) |
source code
|
|
|
|
get_email_map(self)
Get the email addresses of all known users. |
source code
|
|
|
|
|
|
|
|
|
|
add_textarea_grips(self,
req)
Make <textarea class="trac-resizable"> fields resizable if enabled
by configuration. |
source code
|
|
|
|
add_wiki_toolbars(self,
req)
Add wiki toolbars to <textarea class="wikitext"> fields. |
source code
|
|
|
|
add_auto_preview(self,
req)
Setup auto-preview for <textarea> fields. |
source code
|
|
|
|
add_jquery_ui(self,
req)
Add a reference to the jQuery UI script and link the stylesheet. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
required = True
|
|
|
shared_templates_dir = <PathOption [inherit] "templates_dir">
|
|
|
shared_htdocs_dir = <PathOption [inherit] "htdocs_dir">
|
|
|
auto_reload = <BoolOption [trac] "auto_reload">
|
|
|
genshi_cache_size = <IntOption [trac] "genshi_cache_size">
|
|
|
htdocs_location = <Option [trac] "htdocs_location">
|
|
|
jquery_location = <Option [trac] "jquery_location">
|
|
|
jquery_ui_location = <Option [trac] "jquery_ui_location">
|
|
|
jquery_ui_theme_location = <Option [trac] "jquery_ui_theme_loc...
|
|
|
metanav_order = <ListOption [trac] "metanav">
|
|
|
mainnav_order = <ListOption [trac] "mainnav">
|
|
|
logo_link = <Option [header_logo] "link">
|
|
|
logo_src = <Option [header_logo] "src">
|
|
|
logo_alt = <Option [header_logo] "alt">
|
|
|
logo_width = <IntOption [header_logo] "width">
|
|
|
logo_height = <IntOption [header_logo] "height">
|
|
|
show_email_addresses = <BoolOption [trac] "show_email_addresses">
|
|
|
never_obfuscate_mailto = <BoolOption [trac] "never_obfuscate_m...
|
|
|
show_ip_addresses = <BoolOption [trac] "show_ip_addresses">
|
|
|
resizable_textareas = <BoolOption [trac] "resizable_textareas">
|
|
|
wiki_toolbars = <BoolOption [trac] "wiki_toolbars">
|
|
|
auto_preview_timeout = <FloatOption [trac] "auto_preview_timeo...
|
|
|
default_dateinfo_format = <Option [trac] "default_dateinfo_for...
|
|
|
use_chunked_encoding = <BoolOption [trac] "use_chunked_encoding">
|
|
|
templates = None
hash(x)
|
|
|
html_doctype = ('html', '-//W3C//DTD XHTML 1.0 Strict//EN', 'h...
|