cybertools/browser/liquid
helmutm f03fdc2376 minor clean-ups
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1298 fd906abe-77d9-0310-91a1-e0d9ade77398
2006-08-12 22:12:23 +00:00
..
__init__.py clean-up of cybertools.browser 2006-03-24 14:29:52 +00:00
base.css minor CSS fixes for the Liquid skin 2006-08-07 16:20:28 +00:00
configure.zcml View controller now basically functional, with macro registries for CSS and JS resources 2006-03-26 16:43:43 +00:00
controller.py minor clean-ups 2006-08-12 22:12:23 +00:00
custom.css clean-up of cybertools.browser 2006-03-24 13:21:20 +00:00
print.css print.css: don't show logo 2006-03-29 05:36:16 +00:00
README.txt View controller now basically functional, with macro registries for CSS and JS resources 2006-03-26 16:43:43 +00:00
view_macros.pt minor clean-ups 2006-08-12 22:12:23 +00:00

The Liquid Skin and Related Stuff
=================================

We first set up a test and working environment:

    >>> from zope.app import zapi
    >>> from zope.app.testing import ztapi
    >>> from zope.app.component import site, interfaces

    >>> from zope.testbrowser import Browser
    >>> browser = Browser()
    >>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')

We can now open a page using the Liquid skin:
    
    >>> browser.addHeader('Accept-Language', 'en-US')
    >>> browser.open('http://localhost/++skin++Liquid')
    >>> print browser.headers
    Status: 200 Ok...
    
    >>> browser.url
    'http://localhost/++skin++Liquid'