From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin-patches@cygwin.com
Subject: Re: /packages CGI HTML modernization
Date: Fri, 20 Jun 2014 04:43:00 -0000 [thread overview]
Message-ID: <87fvj0ur5y.fsf@Rainer.invalid> (raw)
In-Reply-To: <53A30714.7010707@etr-usa.com> (Warren Young's message of "Thu, 19 Jun 2014 09:51:48 -0600")
Warren Young writes:
> The current CGI code that generates the package and file lists for
> http://cygwin.com/packages emits highly redundant HTML, and it is laid
> out using a huge slow-to-render table. The attached patch shows a
> minimal way to use <ul> instead of <table>, along with some CSS and JS
> to style it in a similar way to the current look.
+1
> If JavaScript is verboten on cygwin.com, you can empirically find an
> appropriate value for the width of the package name column and put
> that in the CSS:
>
> ul.pkglist span {
> float: left;
> width: 185px;
> }
I'd try something like this to keep it more nicely scalable:
ul.pkglist li {
background: url('http://sourceware.org/icons/ball.gray.gif')
no-repeat center left 0.2em;
background-size: 1em 1em;
padding-left: 1.4em;
display: block;
align: center;
}
ul.pkglist span {
float: left;
width: 30%;
}
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
next prev parent reply other threads:[~2014-06-20 4:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-19 15:51 Warren Young
2014-06-20 4:43 ` Achim Gratz [this message]
2014-06-20 16:54 ` Warren Young
2014-06-20 17:09 ` Warren Young
2014-06-20 17:11 ` Christopher Faylor
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=87fvj0ur5y.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--cc=cygwin-patches@cygwin.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 read-only IMAP folder(s) and NNTP newsgroup(s).