* bskahan wonders why his ftests aren't getting run | 00:03 | |
*** bskahan has quit IRC | 00:25 | |
*** SteveA has joined #schooltool | 04:38 | |
*** Aiste has quit IRC | 05:41 | |
*** th1a has quit IRC | 05:41 | |
*** th1a has joined #schooltool | 05:41 | |
*** Aiste has joined #schooltool | 05:42 | |
*** Aiste has quit IRC | 07:23 | |
*** Aiste has joined #schooltool | 07:23 | |
*** Aiste has quit IRC | 08:24 | |
*** Aiste has joined #schooltool | 08:27 | |
*** Aiste has quit IRC | 08:30 | |
*** Aiste has joined #schooltool | 08:33 | |
*** Aiste has quit IRC | 08:36 | |
*** Aiste has joined #schooltool | 08:38 | |
*** Aiste has quit IRC | 08:43 | |
*** Aiste has joined #schooltool | 08:44 | |
*** Aiste has quit IRC | 08:49 | |
*** Aiste has joined #schooltool | 08:52 | |
*** Aiste has quit IRC | 09:32 | |
*** thisfred has joined #schooltool | 10:56 | |
*** SteveA has quit IRC | 12:33 | |
*** alga has joined #SchoolTool | 12:41 | |
*** Aiste has joined #schooltool | 12:54 | |
*** alga has quit IRC | 14:09 | |
*** bskahan has joined #schooltool | 14:11 | |
*** th1a has quit IRC | 15:10 | |
*** alga has joined #SchoolTool | 16:15 | |
bskahan | hey albertas | 16:17 |
---|---|---|
bskahan | got the schooltool skin working without figuring out how to fall back to schoolbell skin | 16:17 |
bskahan | but if you uncomment the subscriber in configure.zcml a Course will use the course.pt file instead of group.pt | 16:18 |
bskahan | I'm not sure what to do about shared templates like view_macros.pt at the moment | 16:19 |
*** ignas has joined #schooltool | 16:20 | |
bskahan | since it finds group.pt when view a group (teachers), but it never finds the frame or CSS from schoolbell | 16:20 |
alga | well, if your skin interface derives from the sb layer interface, the SB layer should be there | 16:21 |
alga | view_macros.pt should be registered for our layer | 16:21 |
alga | I suppose we will have to override view_macros.pt as the layout in ST is probably going to change from SB | 16:22 |
alga | am I making sense? | 16:22 |
bskahan | yeah | 16:22 |
bskahan | well, the second part. | 16:23 |
bskahan | I figured view_macros would get diverged, not sure about resources and things though | 16:23 |
bskahan | you were saying to use the sb view_macros I need to register it for the ST skin? | 16:24 |
alga | no | 16:24 |
alga | SB registers it own view_macros for the SB layer | 16:24 |
alga | if we do not register view_macros in ST layer, we will get the SB one | 16:25 |
alga | but we can override it in ST layer | 16:25 |
alga | when we need that | 16:25 |
bskahan | yeah, that was the way I understood it should work | 16:25 |
bskahan | I seem to have missed something though | 16:26 |
bskahan | since I can get either ST layer, or SB layer (depending on wether I register the ST skin applier, or not) | 16:26 |
bskahan | the ST skin doesn't pick up the SB layer | 16:27 |
bskahan | despite the layers declaration for the skin in ZCML | 16:27 |
alga | does your ST skin interface inherit from SB layer? | 16:42 |
bskahan | yes | 16:42 |
bskahan | <skin | 16:42 |
bskahan | name="SchoolTool" | 16:42 |
bskahan | interface=".skin.ISchoolToolSkin" | 16:42 |
bskahan | layers="SchoolTool SchoolBell default" /> | 16:42 |
alga | but how is ISchoolToolSkin defined? | 16:43 |
bskahan | i tried mispelling "SchoolBel" and it kicks a traceback on not finding it | 16:43 |
alga | the skins mechanism changed a while ago | 16:43 |
bskahan | hrm | 16:43 |
alga | maybe the ZCML declaration is a decoy | 16:44 |
bskahan | ok, I based this on the example from srichter's book | 16:44 |
bskahan | the ISchoolBell interface doesn't do anything explicitly | 16:44 |
bskahan | class ISchoolToolSkin(ISchoolToolLayer, ISchoolBellLayer, | 16:46 |
bskahan | IDefaultBrowserLayer): | 16:46 |
bskahan | """The SchoolTool skin""" | 16:46 |
bskahan | is the entire definition | 16:47 |
alga | take a look at Zope3/src/zope/app/publisher/browser/metaconfigure.py:188 | 16:47 |
alga | maybe it'll help | 16:47 |
bskahan | thanks | 16:47 |
bskahan | it looks like I'm allready doing option 2 | 16:49 |
*** th1a has joined #schooltool | 17:15 | |
bskahan | resources from the schoolbell layer are available at ++resource++name | 17:25 |
*** th1a has quit IRC | 17:26 | |
bskahan | the schooltool layer logo.png takes precedence over the schoolbell logo at ++resource++logo.png | 17:27 |
bskahan | (yay) | 17:27 |
bskahan | i think I found it | 17:33 |
bskahan | lovely | 17:34 |
bskahan | in schoolbell/app/browser/configure.zcml the view_macros and and widget_macros are registered with layer=".skin.ISchoolBellSkin", not ISchoolBellLayer | 17:35 |
*** th1a has joined #schooltool | 17:40 | |
*** th1a has quit IRC | 17:41 | |
bskahan | alga: the skin should be working properly now | 17:57 |
*** th1a has joined #schooltool | 18:02 | |
th1a | bskahan: Should the current svn version of schoolbell have rounded corners on the navigation bar? | 18:44 |
bskahan | yes | 18:45 |
bskahan | one rounded corner | 18:45 |
bskahan | on the bottom right of the left column | 18:45 |
bskahan | and a slight drop shadow | 18:45 |
bskahan | is that what you mean? | 18:45 |
th1a | Hm. Perhaps it doesn't work in Safari... Let me check Firefox. | 18:45 |
bskahan | safari has the grey rectangle? | 18:46 |
th1a | Also, I'm getting some ugly rendering of the expanded events. | 18:46 |
bskahan | no shadow, no rounded corner? | 18:46 |
th1a | I'm not seeing it. | 18:46 |
th1a | Checking Firefox... | 18:46 |
bskahan | is the safari nav bar "ugly" or "not as pretty" | 18:46 |
th1a | Works in Firefox. | 18:47 |
bskahan | i know there was a khtml issue, but I was under the impression tom had a workaround | 18:47 |
th1a | Nav bar is not as pretty but not a big deal. | 18:47 |
th1a | Event expansion == bug. | 18:47 |
bskahan | ok | 18:47 |
th1a | I'll have to take a screenshot. | 18:47 |
bskahan | thanks | 18:47 |
bskahan | that would help | 18:47 |
bskahan | I know tom tested in konqueror, but no way for us to test in safari | 18:48 |
th1a | Ah, wait... | 18:48 |
bskahan | (I'm not sure that konqueror passed the test) | 18:48 |
th1a | It's the _other_ Safari issue. | 18:48 |
bskahan | do try shift-reload | 18:48 |
th1a | Righto. | 18:48 |
th1a | There it is. | 18:48 |
th1a | OK. Both problems fixed. | 18:49 |
bskahan | cool | 18:49 |
bskahan | I love it when a plan comes together | 18:49 |
th1a | OTOH, the labels and fields still don't line up on forms in Safari. | 18:51 |
bskahan | damn | 18:52 |
bskahan | I ran into another form issue with long field names so we'll look at both | 18:53 |
th1a | I think mgedmin just farted, but I'm not sure. | 18:54 |
alga | what did you feed him? | 19:05 |
bskahan | what should the ids (in url) of sections look like? | 19:07 |
bskahan | the section display name will be something like a "course, teacher, first time in the week" | 19:09 |
bskahan | I lean towards three digit incremental strings, with the option to specify something else | 19:09 |
bskahan | hrm, nm | 19:10 |
bskahan | that doesn't work | 19:10 |
bskahan | if they could only be in one course then I'd say something like algebraI-001, algebraI-002 | 19:11 |
*** thisfred has quit IRC | 19:13 | |
th1a | mgedmin doesn't seem to appreciate the Al Franken Show. | 19:36 |
th1a | bskahan: the ids of sections don't need to be relevant. | 19:37 |
th1a | In theory, some school somewhere may have some system for assigning section id's, but it seems unlikely to me. | 19:38 |
ignas | th1a, just commited deletion view ;) you might need it :) | 19:38 |
bskahan | th1a: the ids just have to be not ugly, and preferably memorable | 19:39 |
th1a | You know, in this case I wouldn't even worry about memorable. | 19:40 |
bskahan | ignas: didn't you just swipe one of our stories? | 19:41 |
bskahan | not that I mind ... and I could be confused | 19:43 |
ignas | bskahan, wha ? no :P this one has been hanging behind me for the last couple ofmonths! | 19:43 |
bskahan | he | 19:43 |
bskahan | heh | 19:43 |
*** ignas has quit IRC | 20:07 | |
Aiste | btw, are both Etria nad POV proposals somewhere on line? | 20:08 |
Aiste | s/nad/and/ | 20:08 |
bskahan | not that I know of | 20:09 |
th1a | Good point. | 20:10 |
Aiste | I was just wondering about what bskahan | 20:16 |
Aiste | said | 20:16 |
bskahan | it was on our list for this contract | 20:17 |
Aiste | this task has been stranded on out taskboard for a few months | 20:17 |
Aiste | and we were kind of arguing, that it was not explicitly in our stories | 20:17 |
Aiste | but Ignas did it anyway.... | 20:17 |
Aiste | oh well :) | 20:17 |
bskahan | I foisted it off to tvon though ;) | 20:17 |
th1a | bskahan: I think the events on the calendar should link to the 'view' view rather than the 'edit' view. | 20:22 |
bskahan | th1a: yeah, absolutely | 20:22 |
th1a | 'cause it is tough to find the notes otherwise. | 20:22 |
bskahan | thanks for reminding me | 20:22 |
th1a | Nothing like a presentation to get me to pick over the application... | 20:22 |
bskahan | heh | 20:23 |
th1a | Marius found a display glitch, too. | 20:23 |
th1a | The highlight when you mouse over one of "tomorrow's events" isn't the same as the others. | 20:23 |
bskahan | hrm | 20:23 |
th1a | It doesn't go all the way across the div. | 20:23 |
bskahan | oh yeah | 20:23 |
bskahan | it sucks | 20:23 |
bskahan | it's not supposed to do that at all | 20:24 |
bskahan | but it didn't want to go away when I was playing with it | 20:24 |
bskahan | it shouldn't have the background change | 20:24 |
bskahan | th1a: did you guys allready do the presentation? | 20:30 |
th1a | No. mgedmin is drafting his thesis now. | 20:30 |
bskahan | ah | 20:30 |
bskahan | good luck with it | 20:30 |
*** bskahan has quit IRC | 20:31 | |
*** Aiste has quit IRC | 21:13 | |
*** alga has quit IRC | 21:31 | |
*** ignas has joined #schooltool | 21:45 | |
*** ignas has quit IRC | 21:51 | |
*** gintas has joined #schooltool | 23:40 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!