[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] tools/xslt/svnindex.xsl and tools/xslt/svnindex.css

From: Ævar Arnfjörð Bjarmason <avar_at_simnet.is>
Date: 2004-02-12 17:53:53 CET

svnindex.xsl:
* All-round change of the output to make it easier to style using CSS
* Changed <div class="footer"> to <address class="footer">, <div class="rev">
to <h1 class="rev">, this is to follow w3.org standards more closely, (they
reccomend agains invending div's for things when specified tags exist, for
better viewing without stylesheets).

Properly put the output in a <ul>, now looks like:
<ul id="list">
   <li><div class="pathname">Path</div>
     <ul>
       <li class="updir"></li>
       <li class="dir"></li>
       <li class="file"></li>
     </ul>
   </li>
</ul>

This is much more logical than the previus output, and looks great in text-only
browsers, plus it's easy to style it.

svnindex.css:
* Small changes to apply to the new output generated by svnindex.xsl, added a
few new styles such as pathname, but it looks exactly the same from a viewers
standpoint.

Julian Foad wrote:
> Ævar Arnfjörð Bjarmason wrote:
>
>>
>> It was pointed out to me that the patch was kinda crappy regarding
>> indent , so i fixed that, use this instead.
>> Oh, and one minor css error fixed
>
>
> This patch is not in my area of expertise, but I just want to point out
> that people will like it better if you also provide a log message as
> described in the 'HACKING' file.
>
> - Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 12 17:54:06 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.