Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Changing the look of the projects page

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


Peter.OConnell at solutionspt

Sep 3, 2009, 9:42 AM

Post #1 of 5 (545 views)
Permalink
Changing the look of the projects page

I've asked this previously without any response from anyone, I'm hoping
asking again will prompt for an answer.



Currently when I go to http://server:8000 I am represented with a list
of my Trac projects, this page is lets say..........unattractive to be
kind J



I've been looking through the documentation to see where I can place a
stylesheet for this page to be made a little more easy on the eye, all
my attempts have resulted in a 404 on the style sheet - does anyone have
any advice on where my stylesheet can be placed?



Cheers in advance



Pete



SolutionsPT is a trading name of SolutionsPT Limited, Registered office: Unit 1, Oakfield Road, Cheadle Royal Business Park, Cheadle, SK8 3GX
Registered in England & Wales Registration Number: 1937672

******************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
******************************************************************************


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


olemis at gmail

Sep 3, 2009, 11:02 AM

Post #2 of 5 (519 views)
Permalink
Re: Changing the look of the projects page [In reply to]

On Thu, Sep 3, 2009 at 11:42 AM, Peter
O'Connell<Peter.OConnell [at] solutionspt> wrote:
>
> I’ve been looking through the documentation to see where I can place a
> stylesheet for this page to be made a little more easy on the eye, all my
> attempts have resulted in a 404 on the style sheet – does anyone have any
> advice on where my stylesheet can be placed?
>

- Use the HTTP server directly (varies according to the server)
- Including it as a resource in a particular project

--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


yoheeb at gmail

Sep 3, 2009, 2:48 PM

Post #3 of 5 (512 views)
Permalink
Re: Changing the look of the projects page [In reply to]

On Sep 3, 6:02 pm, Olemis Lang <ole...@gmail.com> wrote:
> On Thu, Sep 3, 2009 at 11:42 AM, Peter
>
> O'Connell<Peter.OConn...@solutionspt.com> wrote:
>
> > I’ve been looking through the documentation to see where I can place a
> > stylesheet for this page to be made a little more easy on the eye, all my
> > attempts have resulted in a 404 on the style sheet – does anyone have any
> > advice on where my stylesheet can be placed?
>
> - Use the HTTP server directly (varies according to the server)
> - Including it as a resource in a particular project
>
> --
> Regards,
>
> Olemis.
>
> Blog ES:http://simelo-es.blogspot.com/
> Blog EN:http://simelo-en.blogspot.com/
>
> Featured article:

I am going to assume you read http://trac.edgewall.org/wiki/TracInterfaceCustomization#ProjectList
[1]

here is a sample genshi template someone posted somewhere,
sometime...sorry, I can't remember, which I use configured per my
setup as instructed in [1]:
it puts each project in a box I have no idea how it really works, as
i would rather eat paste than learn to truly understand .css (sorry,
firmware guy, mouseless browsing and all)

[code]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></
meta>
<title>WINDOW TITLE OF CHOICE</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"></
link>
<link rel="icon" href="favicon.ico" type="image/x-icon"></link>
</head>
<body>
<div id="banner">
<div id="header">
</div>
<div id="search"> </div>
</div>
<div id="main">
<div id="content">
<div id="ctxtnav" class="nav">
<hr></hr>
</div>
<center><h1>PAGE HEADING OF CHOICE</h1></center>
<ul>
<li py:for="project in projects"
py:choose=""
style="float:left;
border:1px solid black;
padding:2em;
margin:1em;
list-style-type:none">
<a py:when="project.href"
href="$project.href"
title="$project.description">$project.name</a>:
<ul>
<li>
<a href="$project.href/timeline"
title="Timeline">Timeline</a>
</li>
<li>
<a href="$project.href/report"
title="Timeline">Tickets</a>
</li>
<li>
<a href="$project.href/roadmap"
title="Timeline">Roadmap</a>
</li>
<li>
<a href="$project.href/browser"
title="Timeline">Source Code</a>
</li>
<li>
<a href="$project.href/search"
title="Timeline">Search</a>
</li>
<li>
<a href="$project.href/admin"
title="Timeline">Administration</a><br></br>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="footer"/>
</body>
</html>
[/code]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


rupert.thurner at gmail

Sep 15, 2009, 12:50 PM

Post #4 of 5 (451 views)
Permalink
Re: Changing the look of the projects page [In reply to]

On Sep 3, 8:02 pm, Olemis Lang <ole...@gmail.com> wrote:
> On Thu, Sep 3, 2009 at 11:42 AM, Peter
>
> O'Connell<Peter.OConn...@solutionspt.com> wrote:
>
> > I’ve been looking through the documentation to see where I can place a
> >stylesheetfor this page to be made a little more easy on the eye, all my
> > attempts have resulted in a 404 on the style sheet – does anyone have any
> > advice on where mystylesheetcan be placed?
>
> - Use the HTTP server directly (varies according to the server)
> - Including it as a resource in a particular project

i was reading http://trac.edgewall.org/wiki/TracInterfaceCustomization
and wondering where this directory might be: "${href.chrome('site/
style.css')} attribute references template placed into environment's
htdocs/"

rupert.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


dingmingjing at gmail

Sep 16, 2009, 2:56 AM

Post #5 of 5 (436 views)
Permalink
Re: Changing the look of the projects page [In reply to]

I think you could just:
1. rename your css file to "style.css" and place it at $YOUR_PROJECT/htdocs
dir
2. overwrite the site.html in $YOUR_PROJECT/templates dir with this:
http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance

On Wed, Sep 16, 2009 at 3:50 AM, rupert.thurner <rupert.thurner [at] gmail>wrote:

>
> On Sep 3, 8:02 pm, Olemis Lang <ole...@gmail.com> wrote:
> > On Thu, Sep 3, 2009 at 11:42 AM, Peter
> >
> > O'Connell<Peter.OConn...@solutionspt.com> wrote:
> >
> > > I’ve been looking through the documentation to see where I can place a
> > >stylesheetfor this page to be made a little more easy on the eye, all my
> > > attempts have resulted in a 404 on the style sheet – does anyone have
> any
> > > advice on where mystylesheetcan be placed?
> >
> > - Use the HTTP server directly (varies according to the server)
> > - Including it as a resource in a particular project
>
> i was reading http://trac.edgewall.org/wiki/TracInterfaceCustomization
> and wondering where this directory might be: "${href.chrome('site/
> style.css')} attribute references template placed into environment's
> htdocs/"
>
> rupert.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.