git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/4 v4] minor gitweb modifications

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 2, 2011, 17:53 UTC
Message-ID
<20110102175314.GB13358@burratino>
In-Reply-To
<1293985641.15404.11.camel@kheops>
Sylvain Rabot wrote:
> On Sat, 2011-01-01 at 04:41 -0600, Jonathan Nieder wrote:
Show 13 quoted lines
>> 	<tr id="metadata_owner">
>> 		<td class="metadata_tag">owner</td>
>> 		<td>UNKNOWN</td>
>> 	</tr>
>> 	...
>>
>> The idea was that the rows are already labelled for use by css, so to
>> make this stylable all we need to do is use a class for the first
>> column.  This way if some site operator wants the first column
>> *always* be bold then that is easy to do.
>
> So your idea is to use the same class for all this kind of tables' first
> column ?

Yes, or more generally to find a way to make the first column always stylable. Actually

 tr#metadata_desc > td:first-child {
	...
 }
already does the trick (or
 table.projects_list > tr > td:first-child {
	...
 }

for style that should apply to all first columns) but I haven't checked how widely supported first-child is.

Previous: Sylvain Rabot
Message 11 of 11 in “minor gitweb modifications”
  1. 0/4 minor gitweb modificationsSylvain Rabot, Dec 30, 2010
  2. 1/4 gitweb: add extensions to highlight feature mapSylvain Rabot, Dec 30, 2010
  3. 2/4 gitweb: remove unnecessary test when closing file descriptorSylvain Rabot, Dec 30, 2010
  4. Junio C HamanoJan 5, 2011
  5. Jakub NarebskiJan 5, 2011
  6. 3/4 gitweb: add css class to remote url titlesSylvain Rabot, Dec 30, 2010
  7. 4/4 gitweb: add vim modeline header which describes gitweb coding ruleSylvain Rabot, Dec 30, 2010
  8. Jonathan NiederJan 1, 2011
  9. Jonathan NiederJan 1, 2011
  10. Sylvain RabotJan 2, 2011
  11. Jonathan NiederJan 2, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.