Created on 2008-09-05.03:08:33 by twb, last changed 2017-07-30.23:29:43 by gh.
msg5913 (view) |
Author: twb |
Date: 2008-09-05.03:08:31 |
|
Currently, darcs' roundup instance uses tables to force the navigation
sidebar to the left of the page content. My browsers (w3m, emacs-w3m,
html2ps) generate EXTREMELY ugly output because they think that they
layout table is a *real* table -- that is, tabular data.
Using div-based layout (with appropriate CSS-based float directives)
would address this problem, because my browsers just ignore authors'
CSS. The result would be that the sidebar DIV would simply be listed
at the bottom of the page.
PS: Ideally the sidebar would also be hidden for print-oriented
browsers @media=print { display: None; }; while this wouldn't affect
me personally, Gecko and Webkit users would probably get better print
versions.
Attached are example screenshots from emacs-w3m and html2ps
demonstrating the problem, and examples from wikipedia demonstrating
desirable layout.
Attachments
|
msg6131 (view) |
Author: twb |
Date: 2008-09-25.05:54:57 |
|
Note that http://bugs.python.org/ (also a roundup instance) does not
abuse the TABLE tag in this manner.
|
msg6902 (view) |
Author: twb |
Date: 2008-12-28.04:45:07 |
|
I have had some success stealing bugs.python.org's templates.
It turns out that Roundup exposes templates to end users, so I use
this technique to fetch them. Here are my notes on how to get the
b.p.o templates in a demo roundup instance.
apt-get install roundup
roundup-demo
# When prompted, you MUST choose ./demo.
# When you see "Server running", type ^C (Control + c) to stop the server.
cd demo
mv html html.orig
cd html.orig
for i in *; do wget -P ../html http://bugs.python.org/@@file/$i; done
cd ../..
roundup-demo
# roundup-demo SHOULD NOT prompt you to create a demo tracker.
In demo/ you can now diff html.orig/ and html/ to see what is
different in b.p.o's templates. In particular, the "front page" is
governed by page.html and index.issues.html.
Note that changes to page.html won't be noticed by a running
roundup-demo -- you have to restart roundup-demo.
|
msg6903 (view) |
Author: twb |
Date: 2008-12-28.05:16:43 |
|
Argh, I just found this on the roundup wiki:
Source code for this installation is available in the python subversion repository at http://svn.python.org/projects/tracker/instances/python-dev
-- http://www.mechanicalcat.net/tech/roundup/wiki/TrackerTemplates
|
msg6912 (view) |
Author: kowey |
Date: 2008-12-28.11:16:13 |
|
What action, if any, is required on my part?
|
msg8323 (view) |
Author: kowey |
Date: 2009-08-21.17:45:23 |
|
Am I needed for this yet?
|
msg8369 (view) |
Author: twb |
Date: 2009-08-23.06:46:20 |
|
On Fri, Aug 21, 2009 at 05:45:25PM +0000, Eric Kow wrote:
> Am I needed for this yet?
I don't know. IIRC it's clear what needs to be done, we just need
someone to write and test a patch to http://darcs.net/roundup [1] Once
the patch is ready, they can "darcs send" to roundup-admin@darcs.net
and presumably that's when you apply it.
[1] or wherever it is now; I can't find it.
|
msg8377 (view) |
Author: kowey |
Date: 2009-08-23.09:51:57 |
|
Thanks. For the interested:
darcs get http://darcs.net/darcs-bugtracker
|
|
Date |
User |
Action |
Args |
2008-09-05 03:08:34 | twb | create | |
2008-09-05 08:03:24 | kowey | set | priority: wishlist nosy:
+ Serware, simon topic:
+ BugTracker |
2008-09-25 05:54:59 | trentbuck | set | status: unread -> unknown nosy:
+ trentbuck messages:
+ msg6131 |
2008-12-28 03:58:09 | twb | set | nosy:
+ dmitry.kurochkin, thorkilnaur title: Wish for div-based (not table-based) layout for sidebar -> roundup: roundup: use CSS (not tables) for layout. |
2008-12-28 04:45:11 | twb | set | nosy:
kowey, dagit, simon, trentbuck, twb, thorkilnaur, dmitry.kurochkin, Serware messages:
+ msg6902 |
2008-12-28 05:16:46 | twb | set | nosy:
kowey, dagit, simon, trentbuck, twb, thorkilnaur, dmitry.kurochkin, Serware messages:
+ msg6903 |
2008-12-28 11:16:16 | kowey | set | nosy:
kowey, dagit, simon, trentbuck, twb, thorkilnaur, dmitry.kurochkin, Serware messages:
+ msg6912 title: roundup: roundup: use CSS (not tables) for layout. -> roundup: use CSS (not tables) for layout. |
2009-08-10 23:44:52 | admin | set | nosy:
- dagit |
2009-08-21 17:45:25 | kowey | set | nosy:
- trentbuck messages:
+ msg8323 assignedto: twb |
2009-08-21 17:45:34 | kowey | set | status: unknown -> waiting-for nosy:
kowey, simon, twb, thorkilnaur, dmitry.kurochkin, Serware |
2009-08-23 06:46:22 | twb | set | nosy:
kowey, simon, twb, thorkilnaur, dmitry.kurochkin, Serware messages:
+ msg8369 |
2009-08-23 09:52:03 | kowey | set | status: waiting-for -> needs-implementation nosy:
+ jaredj topic:
+ ProbablyEasy messages:
+ msg8377 assignedto: twb -> |
2009-08-25 17:24:38 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-25 19:18:33 | kowey | set | nosy:
kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin, Serware |
2009-08-27 14:30:10 | admin | set | nosy:
kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin, Serware |
2009-10-23 22:44:44 | admin | set | nosy:
+ serware, - Serware |
2009-10-23 23:30:29 | admin | set | nosy:
+ Serware, - serware |
2017-07-30 23:29:43 | gh | set | status: needs-implementation -> given-up |
|