Shawn,
What is the correct way to select a theme? I've noticed that editing
the web/config.shtml file works.
Also, is there going to be some documentation that describes how to
customize the repository pages? I'm looking for the following:
- what cfg_cache entries effect the pages?
- what command line options are useful when customizing the pages?
- what files within the web area are useful to edit? Which ones should
be edited?
- what Python interface can be used from within the pages? (presumably
the server.api module)
Thanks.
Tom
Shawn Walker wrote:
Revision 758 / ba1710971f9d
This revision integrated enhancements for the following bugs:
5541 opensolaris.com theme desired
5609 "default" depot theme doesn't show shortcut icon
5610 web statistics tracking js not referenced properly in sun.com,
opensolaris.org themes
5611 search page displays results header instead of search suggestions
5612 index page should show repository description
As a result of these changes, the [repository] description field value
from the repository's cfg_cache is now shown on the depot index page
under a new "About" section if defined.
A reminder that the cfg_cache file is in python configparser format, so
values should be formatted in the style of RFC822. For example, if you
have a multi-line description for your repository, you could format it
this way in cfg_cache:
[repository]
description = This is an OpenSolaris package repository. Note that
usage of this repository is subject to the policies found <a
href="http://www.opensolaris.org/os/tou/">here</a>.
...note the leading whitespace above, for continuation lines, is
important as that is what tells configparser that it is part of the
previous line.
Cheers,
begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;Update Center Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[EMAIL PROTECTED]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss