Re: [PATCH/RFC (take 2)] gitweb: New improved patchset view
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 30, 2006, 22:39 UTC
- Message-ID
- <200610302339.55128.jnareb@gmail.com>
- In-Reply-To
- <20061030233017.19f25117.froese@gmx.de>
Edgar Toernig wrote:
Show 12 quoted lines
> Jakub Narebski wrote: >> >> I'm just saying that with HTML diffs, presented via gitweb in graphical >> web browser, you have more possibilities, more formatting to use. > > It would be nice though, when the gitweb output would be readable > on non css-capable browsers (i.e. w3m) too. At the moment, gitweb > is mostly usable - the only problematic case is code and diffs. > These are presented via div-tags so in a non-css browser, all spaces > are collapsed thereby removing all indentation. Couldn't code > fragments be presented via (styled) pre-tags for backward compatibility? > Pretty please :)
Well, we replaced using s/ / /g with .pre class woth white-space: pre. Perhaps we can go halfway, and add <pre>...</pre> wrapping line.
Show 5 quoted lines
> Btw, while the css version looks nice, Opera seems to have extreme > performance problems with gitweb's project page when there are a lot > of repositories. I.e. trying to view http://gitweb.freedesktop.org/ > brings my system to its knees. Turning off style sheets cures it > but then diffs are unusable ...
Strange. It's just a simple table. Could you and would you be able to debug it further (e.g. by bisecting CSS)?
-- Jakub Narebski