[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[THREDDS #IZW-298295]: Customise TDS [SEC=UNCLASSIFIED]
- Subject: [THREDDS #IZW-298295]: Customise TDS [SEC=UNCLASSIFIED]
- Date: Fri, 29 Jun 2012 17:03:16 -0600
Hi Ken,
Just wanted to make a quick addition to Lansing's note.
The webapps directory gets replaced by a new copy whenever you deploy a new
thredds.war. So, you might want to copy the tdsCat.css file from the
${tomcat_home}/webapps/thredds directory into the content/thredds/public
directory. That directory is checked first and does not get replaced when a new
version is deployed.
Also, the dataset HTML files include a tds.css file instead of tdsCat.css. So,
you might want to copy that one over as well and modify it in a similar manner.
Hope that helps.
Have a good weekend,
Ethan
On 6/29/2012 2:07 PM, Lansing Madry wrote:
> Hi Ken,
>
> I have an easy solution for you, which should work to get your header
> and footer in place. You can work with the tdsCat.css file under the
> ${tomcat_home}/webapps/thredds directory and modify the bit on H1 and
> H3. For instance, to put in a footer, I made the following
> modifications:
>
> H3 {
> font-family: Tahoma, Arial, sans-serif;
> color: white;
> background-color: #0000ff;
> height: 120px;
> font-size: 14px;
> background-image:
> url("http://www.unidata.ucar.edu/img/packages/thredds.gif");
> background-position: right center;
> background-repeat: no-repeat;
> }
> > This puts the thredds logo on a blue background in the footer to the
> catalog page. You can do something similar to the header by changing
> H1.
>
> We're going to be revising how the html content is generated "soon",
> probably in the next few months, but this should do what you need for
> now.
>
> Cheers,
> Lansing
Ticket Details
===================
Ticket ID: IZW-298295
Department: Support THREDDS
Priority: High
Status: Closed