List for cgit developers and users
 help / color / mirror / Atom feed
* [PULL (resend)] improve rendering w/o CSS reliance
@ 2021-03-19 20:30 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-03-19 20:30 UTC (permalink / raw)
  To: cgit

Using "git request-pull" because lists.zx2c4.com is misdetecting
patches to C code with HTML in them as HTML mail...

Rebased against commit bd6f5683f6cde4212364354b3139c1d521f40f39
("tests: t0107: support older and/or non-GNU tar")

Here are a few changes to improve rendering for people with
low-end machines using text-based browsers (w3m, lynx) or
lightweight GUI browsers such as dillo, which has incomplete CSS
support.

The only incompatible (with existing CSS customisations) change
might be the one to use <pre> instead of <div> for commit-msg.
I'm not sure how much of a stable interface the CSS styles are
expected to be for this project.

The following changes since commit bd6f5683f6cde4212364354b3139c1d521f40f39:

  tests: t0107: support older and/or non-GNU tar (2020-12-29 21:06:17 +0100)

are available in the Git repository at:

  https://80x24.org/cgit.git no-css

for you to fetch changes up to ab8ff5295cfed27f6c827600fed28376b4540bb4:

  ui-{tree,repolist}: improve button spacing for browsers w/o CSS (2021-03-19 20:17:01 +0000)

----------------------------------------------------------------
Eric Wong (5):
      ui-shared: improve pageheader display on text-based browsers
      ui-{commit,tag}: use <pre> for commit-msg
      ui-log: improve decoration display for browsers without CSS
      ui-diff: preserve spaces w/o CSS on context lines
      ui-{tree,repolist}: improve button spacing for browsers w/o CSS

 cgit.css              |  8 --------
 html.c                | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 html.h                |  1 +
 tests/t0105-commit.sh |  2 +-
 ui-commit.c           |  4 ++--
 ui-diff.c             |  5 +----
 ui-log.c              |  5 +++++
 ui-repolist.c         |  2 ++
 ui-shared.c           | 15 ++++++++++++---
 ui-tag.c              |  4 ++--
 ui-tree.c             | 12 +++++++++---
 11 files changed, 81 insertions(+), 23 deletions(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-19 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 20:30 [PULL (resend)] improve rendering w/o CSS reliance Eric Wong

List for cgit developers and users

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/cgit

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 cgit cgit/ http://inbox.vuxu.org/cgit \
		cgit@lists.zx2c4.com
	public-inbox-index cgit

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.cgit


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git