From: Eric Wong <e@80x24.org>
To: cgit@lists.zx2c4.com
Subject: [PATCH (resend) 0/5] improve rendering w/o CSS reliance
Date: Fri, 19 Mar 2021 20:23:32 +0000 [thread overview]
Message-ID: <20210319202337.21676-1-e@80x24.org> (raw)
Rebased againsg 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.
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(-)
next reply other threads:[~2021-03-19 20:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-19 20:23 Eric Wong [this message]
2021-03-19 20:23 ` [PATCH 3/5] ui-log: improve decoration display for browsers without CSS Eric Wong
2021-03-19 20:23 ` [PATCH 4/5] ui-diff: preserve spaces w/o CSS on context lines Eric Wong
2021-03-19 20:23 ` [PATCH 5/5] ui-{tree, repolist}: improve button spacing for browsers w/o CSS Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210319202337.21676-1-e@80x24.org \
--to=e@80x24.org \
--cc=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).