[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#457190: marked as done (qa.debian.org: selecting default CSS layout for PTS)



Your message dated Wed, 16 Jan 2008 23:15:23 +0100
with message-id <20080116221523.GA2704@ouaza.com>
and subject line Bug#457190: qa.debian.org: selecting default CSS layout for PTS
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: qa.debian.org
Severity: wishlist

Hi,

by buxy's request, here comes a reminder....

[11:38] <zobel> zack: one think to remark: i like the "compact rendering" best, how do i tell my browser to take this CSS by default when opening PTS pages?
[11:39] <zack> zobel: no idea
[11:39] <zobel> set cookie information? *hide*
[11:40] <zack> no way and unfeasible
[11:40] <zack> pts pages should be static
[11:41] <zobel> set "compact rendering" the default style? :)
[11:43] <Ganneff> nnooooooooooooooo
[11:44] <zack> zobel: compact had an arbitrary color scheme (one of moin's theme)
[11:44] <zack> the current one has debian social colors
[11:44] * zobel wanders of and tries to find out if javaScript could do it.
[11:45] <zobel> s/of/off/
[11:47] <zobel> i just find the compact rendering a clearer schema
[11:50] <HE> I have to admit that the compact CSS is nicer, but that's mostly because i hate the "official" debian colors
[11:59] <zobel> zack: is http://www.alistapart.com/stories/alternate/ helping us with that?
[11:59] <zack> zobel: don't know and EBUSY right now
[12:01] <Ganneff> zack: that goes against "PTS pages are static" as you need javascript and cookies and stuff
[12:02] <kmap> zobel: GreaseMonkey? (/me doesn't know much about it though)
[12:03] <Ganneff> zobel: that goes against "PTS pages are static" as you need javascript and cookies and stuff
[12:03] <Ganneff> (damn z* nicks)
[12:04] <zobel> Ganneff: the "static" thing is more about the load of the webserver. which should not increase if we have a js selecting a css.
[12:05] <zobel> perhaps loading one more file...
[12:05] <zobel> which is static anyway.
[12:26] <buxy> yeah, that javascript thing look workable, it doesn't depend on any server-side generated content
[12:26] <buxy> though I'll leave that up to zack, zobel you might want to file wishlist bug for that with the pointer


TIA

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



--- End Message ---
--- Begin Message ---
On Sat, 22 Dec 2007, Thomas Viehmann wrote:
> Raphael Hertzog wrote:
> > On Thu, 20 Dec 2007, Thomas Viehmann wrote:
> >> How about cookie + let mod_rewrite rewrite a default.css URI based on the
> >> ocokie? That would eliminate the need for JavaScript. (Needs apache2, though,
> >> AFAICT.)
> 
> > That's a nice idea, but how do you use a cookie in a mod_rewrite
> > configuration?
> 
> > It might have to wait until master is upgraded to etch and apache2, but
> > that's not a big deal. We still need to have a way to set the cookie but
> > that could be done with a simple "preferences" page.
> 
> http://packages.qa.debian.org/~tviehmann/set-csspref.php
> with link to test page for dput at the bottom.

Thanks for your help, I just implemented this on the PTS and integrated a
form to switch between style on the top-right corner. It works with some
javascript magic to auto-submit on change. For the javascript-impaired,
the same form is on the homepage but this time with a submit button.

Javascript is also used to select the currently active style in those
forms.

Immediately available on http://packages.qa.debian.org/d/dpkg.html and in
a few hours on all pages.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


--- End Message ---

Reply to: