*** alga has quit IRC | 00:19 | |
*** th1a has quit IRC | 00:53 | |
*** replaceafill has quit IRC | 01:44 | |
*** ignas has quit IRC | 01:55 | |
*** menesis has quit IRC | 02:10 | |
*** aks has joined #schooltool | 06:11 | |
*** menesis has joined #schooltool | 10:10 | |
*** ignas has joined #schooltool | 10:11 | |
*** alga has joined #schooltool | 10:34 | |
*** alga has quit IRC | 11:20 | |
*** alga has joined #schooltool | 11:42 | |
*** menesis has quit IRC | 12:11 | |
*** ignas has quit IRC | 12:40 | |
*** ignas has joined #schooltool | 12:53 | |
*** ignas has quit IRC | 13:11 | |
*** aks has quit IRC | 14:23 | |
*** menesis has joined #schooltool | 14:37 | |
*** yvl has quit IRC | 14:51 | |
*** replaceafill has joined #schooltool | 15:29 | |
*** th1a has joined #schooltool | 15:29 | |
th1a | No flourish revisions to pull. :-( | 15:45 |
---|---|---|
th1a | Whoa, how'd I end up here: http://localhost:7080/@@registration.html | 15:52 |
*** yvl has joined #schooltool | 16:21 | |
th1a | yvl: No revisions to pull? :-( | 16:21 |
replaceafill | th1a yvl and aelkner made changes, but to their own branches, not to schooltool-owners | 16:23 |
replaceafill | good morning btw ;) | 16:23 |
yvl | morning guys :) | 16:23 |
th1a | Let's merge 'em! | 16:24 |
th1a | You have six minutes. | 16:24 |
yvl | one sec | 16:24 |
yvl | ... 4 minutes | 16:26 |
yvl | ... and it's merged | 16:28 |
yvl | apologies for the f***up, th1a | 16:29 |
th1a | Both? | 16:29 |
yvl | yes | 16:29 |
th1a | Cool. | 16:30 |
th1a | As long as it is done by 9:30. ;-) | 16:30 |
aelkner | morning all | 16:30 |
th1a | OK, can we start with *quick* updates? | 16:31 |
yvl | oh, ok :) | 16:31 |
th1a | And then get into issues. | 16:31 |
th1a | yvl? | 16:31 |
yvl | yes, | 16:31 |
yvl | I fixed few bugs in person adding/deleting views | 16:31 |
yvl | and ported them to generic flourish table / container views | 16:31 |
yvl | now I've prepared to add more container views | 16:32 |
yvl | schoolyears | 16:32 |
yvl | groups | 16:32 |
yvl | so on | 16:32 |
yvl | terms, yes. | 16:32 |
yvl | that's it. | 16:32 |
th1a | aelkner? | 16:33 |
aelkner | i ported the person info viewlets to flourish | 16:33 |
aelkner | and the inclusion of the jquery-ui package | 16:34 |
aelkner | i spent a couple of hours following the new page template logic, and i have some questions | 16:35 |
aelkner | yvl, is this going to be the way it ends up, no more page macros? | 16:35 |
yvl | preferably, yes | 16:36 |
aelkner | i kind of like the way it works now, where the templates include template | 16:36 |
aelkner | templates | 16:36 |
aelkner | it's more explicit than the macros with the fill-slot | 16:36 |
yvl | you can still use macros inside your page templates | 16:36 |
yvl | define/use that is | 16:36 |
aelkner | but we don't need to per se | 16:37 |
aelkner | all we have to do is deliver the content div usually | 16:37 |
aelkner | main_template as it is called in page.pt | 16:37 |
yvl | content_template | 16:38 |
aelkner | well, you assign it to a variable called main_template in the pt | 16:38 |
aelkner | but yes, the view class attribute is content_template | 16:38 |
aelkner | anyway | 16:39 |
aelkner | after we're finished our reports, i'd like to go over with yvl some details of the skin | 16:39 |
aelkner | but that's it for my report | 16:39 |
th1a | thanks. | 16:39 |
th1a | replaceafill? | 16:39 |
replaceafill | not changes pushed from me, i also read the code, played with it | 16:40 |
replaceafill | read the forms page of the ubuntu guidelines | 16:40 |
replaceafill | the 8px spacing, etc | 16:40 |
replaceafill | i also was wondering about resource inclusion | 16:41 |
replaceafill | like the jquery-ui directory | 16:41 |
replaceafill | i guess i just have to get familiar with resource libraries | 16:41 |
aelkner | exactly | 16:41 |
aelkner | we both need yvl to give us a tour this morning | 16:41 |
replaceafill | th1a that's it | 16:41 |
th1a | OK. | 16:41 |
th1a | I think we're at a management fork in the road right now. | 16:42 |
th1a | Basically, we can start spreading out to applying specific incremental changes to a bunch of pages, | 16:42 |
th1a | or focus on getting all the parts together on a small number of pages. | 16:43 |
th1a | That is, kind of start a sequence of layered iterations or drill deep. | 16:43 |
*** ignas has joined #schooltool | 16:43 | |
th1a | I've gone back and forth on this. | 16:43 |
th1a | But right now I'm feeling like we'd be better off focusing on getting one view -- which seems to be the main person view -- just right. | 16:44 |
* yvl would like to chime in once you're done | 16:44 | |
th1a | So we can all see the end point. | 16:44 |
th1a | Done. | 16:44 |
yvl | I think you got that right | 16:45 |
yvl | but I'd also like creation/deletion/editing views | 16:45 |
yvl | for most of the stuff the person view depends on | 16:45 |
th1a | OK. | 16:45 |
yvl | at least semi-functional | 16:46 |
th1a | Most of what I'm talking about now is probably CSS. | 16:46 |
th1a | Also, moving the breadcrumbs into the red bar -- now. | 16:46 |
yvl | ok | 16:46 |
yvl | will do | 16:46 |
th1a | And moving that edit action button. | 16:47 |
yvl | will be ready Monday | 16:48 |
th1a | Can replaceafill do that while you're drinking beer tonight? | 16:48 |
th1a | Or both. | 16:48 |
replaceafill | :D | 16:48 |
yvl | hmm | 16:48 |
th1a | This may be a th1a/replaceafill day. | 16:48 |
yvl | probably yes :) | 16:48 |
th1a | OK. | 16:48 |
th1a | replaceafill and I are going to spend the day moving shit around. | 16:48 |
replaceafill | yvl prepare for disaster!!! | 16:49 |
replaceafill | :P | 16:49 |
yvl | please don't expect that to happen fast the first time, th1a | 16:49 |
th1a | And aelkner needs to get his accordions in here. | 16:49 |
th1a | yvl: What exactly? | 16:49 |
yvl | moving of stuff | 16:49 |
th1a | Well, at this point I don't want to do stupid hackery, but I'm willing to hand code some of the HTML as a prototype. | 16:50 |
yvl | great | 16:50 |
th1a | Or to have replaceafill hand code it. ;-) | 16:50 |
th1a | But I want the CSS changes to be for reals. | 16:50 |
th1a | (no special classes) | 16:50 |
th1a | (except for real special cases) | 16:51 |
yvl | :) | 16:51 |
th1a | And contrary to what I told aelkner on the phone a couple days ago, we might even try to get the accordion style right. | 16:51 |
th1a | aelkner: I shouldn't be actually seeing accordions in the flourish branch yet, right? | 16:52 |
aelkner | that's what i need to discuss with yvl this morning, how to get the css and js into th flourish views | 16:53 |
th1a | ok go | 16:53 |
yvl | th1a, just for historical record: I actually think that accordions in person views for advisor/group/section thing is not a good idea; I do not object though :) | 16:53 |
aelkner | yvl, could we talk about the resourceLibrary directive in florish/skin/configure.zcml | 16:54 |
yvl | sure, aelkner | 16:54 |
yvl | ask away ;) | 16:54 |
aelkner | so it's entitled 'Common resources' and is for all css common to all views, right | 16:55 |
yvl | yes | 16:56 |
yvl | it is included when main.pt is rendered | 16:56 |
yvl | which is for all views now | 16:56 |
aelkner | so if i have any special css for a page i'm writing, i need to create a css file | 16:56 |
aelkner | and register is as a resourceLibrary in the borwser configure.zcml for the package where the view is defined? | 16:57 |
yvl | yes | 16:58 |
yvl | actually | 16:58 |
yvl | you do not register it for a package | 16:58 |
yvl | the name of the library is a simple string | 16:58 |
yvl | naming it after the package is a convention I'd like to use | 16:58 |
replaceafill | yvl are resource_library's by default rendered in <head>? | 16:58 |
yvl | like "schooltool.gradebook-grid" library for example | 16:58 |
aelkner | right, i was going to get to that question | 16:59 |
yvl | replaceafill actually if you looked at main.pt | 16:59 |
replaceafill | i noticed "<tal:block replace="resource_library:schooltool.skin.flourish" />" is inside body | 16:59 |
yvl | you'd find <!-- zc.resourcelibrary --> | 16:59 |
replaceafill | but it's rendered in <head>, correct? | 16:59 |
yvl | this is the string that is replaced by default | 16:59 |
replaceafill | ah! the comment has meaningn?!?!?! | 16:59 |
yvl | and yes, in head | 16:59 |
replaceafill | :O | 16:59 |
aelkner | right | 17:00 |
aelkner | so if i'm adding one for the person index.htl view in basicperson | 17:00 |
replaceafill | accordions should be core styles, right? | 17:00 |
aelkner | i need to register the css file in basicperson/browser/configure.zcml | 17:00 |
replaceafill | so we can use accordions in more places than the person index view | 17:00 |
aelkner | ok, accordion styles should just go in flourish, that's true | 17:01 |
aelkner | but i wanted to get down the concept of custom page css first | 17:01 |
aelkner | so i register the resourceLibrary, but that's not enough | 17:01 |
* yvl twitches every time anybody mentions heavy use of accordions... | 17:02 | |
replaceafill | :)) | 17:02 |
aelkner | there needs to be a line of zpt like the tal:replace | 17:02 |
yvl | yes | 17:02 |
yvl | it is replaced with empty string | 17:02 |
yvl | but the machinery adds the needed library in <head> later on | 17:02 |
aelkner | how? | 17:03 |
yvl | magic | 17:03 |
aelkner | <tal:block content="structure view/providers/html_head|nothing" /> | 17:03 |
aelkner | ? | 17:03 |
yvl | oh, I also did that :) | 17:03 |
yvl | not by this | 17:03 |
aelkner | but what's the magic? | 17:03 |
yvl | because zc.resourcelibrary | 17:04 |
yvl | overrides publication request factory, IIRC | 17:04 |
yvl | and modifies html when serving the response | 17:04 |
aelkner | well, that sucks | 17:04 |
replaceafill | like wsgi middleware :O | 17:05 |
yvl | why does it suck, aelkner ? | 17:05 |
replaceafill | aelkner we just have to get used to it | 17:05 |
yvl | not think about it | 17:05 |
aelkner | fine | 17:05 |
yvl | I mean - the precise machinery how it is inserted | 17:05 |
yvl | or you can read the code :) | 17:06 |
aelkner | it's just better when one can follow the templates/view classes to understand what is being delvered | 17:06 |
aelkner | and not have to understand some stupid zope magic that may or may not be happening | 17:06 |
replaceafill | like i understand z3c.form ;) | 17:06 |
aelkner | good for you replaceafill | 17:07 |
yvl | well it's actually really simple :) | 17:07 |
yvl | just not very common | 17:07 |
yvl | I mean in our case - we didn't use such things | 17:07 |
aelkner | in the past, you mean, right? | 17:08 |
yvl | yes :) | 17:08 |
aelkner | so for now all i need to understand is to include the resourceLibrary directive | 17:09 |
aelkner | and kow that it will end up in the browser in hear | 17:09 |
aelkner | <head> | 17:09 |
yvl | and add the "resource_library:" in tal | 17:09 |
yvl | yes | 17:09 |
aelkner | ok, now for the js stuff | 17:09 |
aelkner | could we do that also via resource library? | 17:10 |
aelkner | if it's just a file to include that has basic js methods | 17:10 |
replaceafill | dont forget all the jquery-ui resources | 17:10 |
replaceafill | images, css | 17:11 |
aelkner | they need to be registered via resourecLibrary diretive, right? | 17:11 |
yvl | images should be registered as plain zope resources | 17:12 |
aelkner | why the difference? | 17:13 |
yvl | short answer is - don't ask me ;) | 17:13 |
yvl | but the difference is in the way it is used | 17:13 |
yvl | resource library means - I will also need those resources included in my page | 17:14 |
yvl | you do not include stuff like .jpg s in head | 17:14 |
yvl | why they didn't bundle that, I've no idea | 17:14 |
th1a | The main distinction is head vs. body? | 17:15 |
replaceafill | what if the jpg is part of a url() in css | 17:15 |
* yvl shrugs | 17:15 | |
menesis | you don't have to register all jqueryui files. resourceDirectory registers everything. | 17:15 |
menesis | ++resource++jquery-ui/some.css | 17:16 |
yvl | doh, right | 17:16 |
replaceafill | :) | 17:16 |
replaceafill | but then the main template needs to be modified, right? | 17:16 |
replaceafill | sorry i'm still confused by this :( | 17:16 |
aelkner | +1 | 17:16 |
replaceafill | :D | 17:16 |
menesis | your page template needs a resource_library directive, and resources will be automatically included in <head> | 17:17 |
menesis | or alternatively, a widget or a view can zc.resourcelibrary.need('jqueryui') | 17:18 |
aelkner | better we do it in the view base classes | 17:18 |
replaceafill | menesis but that will work with <resourceLibrary /> directives, not with <resourceDirectory /> | 17:18 |
aelkner | so that wrters of specific view classes dn't need to think about it | 17:19 |
yvl | for common schooltool css - yes, the base classes | 17:19 |
yvl | for specific view css - no, in the view content templates or whatever | 17:19 |
aelkner | we should have common view classes for modal dialogs, for instance | 17:19 |
aelkner | and the zc.resourcelibrary.need('jqueryui') could ge there? | 17:20 |
yvl | something along those lines, with a twist | 17:20 |
yvl | if some content provider or a viewlet | 17:20 |
yvl | renders a link that, once clicked, creates the modal dialog | 17:21 |
yvl | and hence needs jquery | 17:21 |
yvl | *that* viewlet should say it needs jquery | 17:21 |
yvl | or it's base class | 17:21 |
yvl | not the class that renders the modal dialog | 17:21 |
aelkner | always the base classes, please | 17:21 |
replaceafill | shouldn't we put resources like jquery in the skin? | 17:22 |
aelkner | let's make our base classes smart and helpful | 17:22 |
replaceafill | so viewlets can assume it's there | 17:22 |
yvl | don't worry about it now | 17:22 |
replaceafill | ok :/ | 17:23 |
aelkner | well, what's the proper way to get the jquery-ui css available? | 17:23 |
yvl | I don't know how exactly you will bind things | 17:23 |
yvl | and I'm pretty sure you don't know | 17:23 |
yvl | and my opinion depends on actual implementation | 17:24 |
* yvl sighs | 17:24 | |
yvl | the proper way | 17:24 |
yvl | is to register a resource library | 17:24 |
yvl | with the css and js files specified | 17:24 |
yvl | then add a tal directive in the page, where you use the jquery functionality | 17:25 |
aelkner | in each page? | 17:26 |
yvl | in each single page | 17:26 |
aelkner | we are going to be using jquery-ui all over the place | 17:26 |
yvl | and then, after a while | 17:26 |
yvl | we will think were to move it precisely | 17:26 |
aelkner | a central solution to this wold be preferable | 17:26 |
yvl | probably it goes to the skin | 17:26 |
yvl | aelkner, | 17:26 |
aelkner | let's put it there now then | 17:26 |
yvl | are you planning on implementing 20 pages today? | 17:26 |
yvl | if not | 17:26 |
yvl | then don't worry about that today | 17:27 |
yvl | if yes | 17:27 |
aelkner | ok, fine | 17:27 |
yvl | I will make this change central in 20 minutes | 17:27 |
replaceafill | how about 19? :P | 17:27 |
yvl | you drive a hard bargain replaceafill | 17:27 |
replaceafill | understood yvl | 17:27 |
aelkner | yvl, if you can do it in 20, then do it :) | 17:27 |
yvl | no I will not | 17:27 |
yvl | I have a headache | 17:27 |
yvl | and I am somewhat tired | 17:27 |
yvl | and no I will not today | 17:27 |
aelkner | never mind then, next week | 17:28 |
yvl | agreed :) | 17:28 |
yvl | and I kindly remind you that it is Friday and a beautiful summer evening in Lithuania | 17:29 |
aelkner | for now, person index.html view does not have it's own page macro, it just uses the base class | 17:29 |
yvl | right, getting back on topic | 17:29 |
yvl | yes | 17:30 |
replaceafill | yvl did you find file resources for the ubuntu guidelines? | 17:30 |
replaceafill | like icons and stuff? | 17:30 |
yvl | umm? | 17:30 |
aelkner | FlourishPersonInfo has it's own template though | 17:30 |
yvl | what icons and stuff? | 17:30 |
th1a | I don't think we'll be using their icons. | 17:30 |
replaceafill | 3 | 17:30 |
replaceafill | Background-image: Error icon | 17:30 |
th1a | And we can just get the ones we want from their site. | 17:30 |
replaceafill | a little (x) | 17:30 |
th1a | The web is cool like that. | 17:30 |
replaceafill | get me the error icon! | 17:31 |
replaceafill | i've been looking for a form to get it :) | 17:31 |
th1a | Can't you just right click it? | 17:31 |
replaceafill | th1a it's in the pdf | 17:31 |
replaceafill | page 22 | 17:31 |
yvl | frankly I only cared about sizes and spacing | 17:31 |
th1a | Ah, well commit an error on an ubuntu.com form. ;-) | 17:32 |
replaceafill | apparently i can contact canonical with no data in the form :/ | 17:32 |
th1a | Yeah, I didn't get it either! | 17:32 |
th1a | Moving on. | 17:33 |
th1a | Can we let yvl go? | 17:33 |
th1a | I can have schwa make us a couple simple icons, I'm sure. | 17:33 |
replaceafill | sure | 17:33 |
yvl | :) | 17:33 |
replaceafill | thanks yvl, enjoy the summer evening ;) | 17:33 |
yvl | why thank you | 17:34 |
th1a | Thanks yvl! | 17:34 |
* yvl has a 1.5 hour drive waiting ;) | 17:34 | |
th1a | yvl is getting drunk in Minsk tonight! | 17:34 |
replaceafill | :)) | 17:34 |
yvl | well, halfway probably ;) | 17:34 |
yvl | halfway to Minsk, not halfway drunk | 17:35 |
yvl | replaceafill, | 17:35 |
yvl | if there are some problems with moving stuff around | 17:35 |
yvl | don't hesitate to email | 17:35 |
replaceafill | yvl understood | 17:36 |
th1a | We'll text you. | 17:36 |
yvl | or at least shout it out on IRC | 17:36 |
replaceafill | ah ok | 17:36 |
replaceafill | can we fill yvl's cell with sms asking for help? :D | 17:36 |
th1a | I was thinking more like "This sucks!" | 17:36 |
replaceafill | SOS: i cannot insert jquery! | 17:36 |
th1a | OK, replaceafill maybe we could start with some css hackery. | 17:37 |
replaceafill | great | 17:37 |
aelkner | seriously, shouldn't we resolve this before yvl knocks off for the week! | 17:37 |
th1a | Resolve what? | 17:37 |
yvl | well, replaceafill, emacs has a psychoterapist option for that | 17:37 |
replaceafill | ah! true! | 17:37 |
aelkner | well, you guys have had a nice disussion here about css and ubuntu guidlelines | 17:37 |
replaceafill | "how does that makes you feel?" | 17:37 |
aelkner | but i was still asking about how to code things | 17:37 |
th1a | You know where you can put it for now, right? | 17:38 |
aelkner | right, i don't | 17:38 |
aelkner | i was asking something and was interrupted, so i'm no more knowlegable now | 17:39 |
th1a | replaceafill: Can you handle this? | 17:39 |
aelkner | i thought replaceafill was confused, too? | 17:39 |
replaceafill | aelkner i thought we agreed on inserting stuff on every single page for now | 17:39 |
aelkner | what page? | 17:40 |
aelkner | FlourishPersonView has no page | 17:40 |
aelkner | it uses the base class which uses a base template | 17:40 |
aelkner | do i need to copy the base template to basicperson | 17:40 |
yvl | it will have PersonInfoSomething template though | 17:40 |
aelkner | and then change FlourishPersonView to use that | 17:40 |
yvl | and the beauty of it | 17:40 |
aelkner | FlourishPersonInfo has its own template | 17:41 |
yvl | if you put the resource_library: directive in f_person_view_details.pt | 17:41 |
yvl | yes that's the one | 17:41 |
yvl | it will be include whenever the FlourishPersonInfo is rendered | 17:41 |
aelkner | inside the <div class="person-info">? | 17:41 |
yvl | yes | 17:41 |
yvl | apologies for not being clear on that | 17:42 |
aelkner | <script type="javascript"> stuff? | 17:42 |
yvl | also your scripts, yes | 17:42 |
aelkner | that just seems like a really weird place for js, deep down inside a viewlet div | 17:42 |
replaceafill | aelkner we talked about that yesterday | 17:43 |
replaceafill | iirc | 17:43 |
aelkner | i know, i just haven't accepted it yet :) | 17:43 |
replaceafill | :/ | 17:43 |
yvl | aelkner, | 17:44 |
yvl | go to gmail | 17:44 |
yvl | or facebook | 17:44 |
yvl | and look at page source | 17:44 |
th1a | OK... | 17:44 |
yvl | and you'll se how the world does it | 17:44 |
th1a | yvl: You're excused. | 17:44 |
aelkner | replaceafill, do you think you understand how this stuff enough to help me get it to work today? | 17:44 |
replaceafill | aelkner i can try :) | 17:45 |
aelkner | ok, so i'll put the js in the person info dic | 17:45 |
aelkner | div | 17:45 |
aelkner | and the jquery-ui stuff needs to registered as a directory as menesis had said | 17:46 |
aelkner | i think | 17:46 |
aelkner | somehow that css has to end up in our pages | 17:46 |
th1a | Go ahead and try that aelkner. | 17:46 |
yvl | and for it to end up in your pages | 17:47 |
yvl | you'll need to register it as a resourceLibrary | 17:47 |
yvl | and then in pages you use it, add "resource_library:..." | 17:47 |
aelkner | ok, we'll see how it goes | 17:49 |
th1a | All righty then. | 17:50 |
th1a | replaceafill: Do you want to work on the CSS on a live server so I can see the changes immediately? | 17:50 |
th1a | We'll start with pretty superficial stuff. | 17:51 |
replaceafill | ok, setting up testing instance... | 17:51 |
replaceafill | is it ok if i work on my own branch? | 17:51 |
th1a | Whatever. | 17:51 |
replaceafill | i dont want to mess with schooltool-owners yet | 17:51 |
replaceafill | cool | 17:51 |
yvl | well good luck guys! | 17:52 |
th1a | Thanks. | 17:52 |
yvl | I'll be around for ~1h - need to pack and such | 17:52 |
replaceafill | building instance... | 17:57 |
replaceafill | th1a http://69.164.203.135:6660 | 18:01 |
th1a | OK, we're going to start at the top. | 18:02 |
th1a | Make the background color #990000 | 18:03 |
th1a | And the selected color #884631 | 18:03 |
replaceafill | ok | 18:04 |
th1a | Make the text white... I think there's a drop shadow there too. | 18:06 |
th1a | mmh. | 18:06 |
replaceafill | oops | 18:06 |
replaceafill | damn terminal :) | 18:06 |
th1a | Try #663822 for the higlight. | 18:07 |
replaceafill | there | 18:07 |
replaceafill | ah the text | 18:07 |
th1a | Still pukey. | 18:07 |
replaceafill | white text | 18:08 |
th1a | This isn't permanent but I'm just trying some reds before we punt to orange. | 18:08 |
replaceafill | :) | 18:08 |
th1a | try #C1665A background | 18:08 |
th1a | and #990000 | 18:08 |
th1a | active. | 18:08 |
th1a | (I'm pulling colors from the GNOME HIG, btw) | 18:09 |
replaceafill | :D | 18:09 |
replaceafill | there | 18:09 |
th1a | That'll do for now. | 18:09 |
yvl | nice | 18:10 |
yvl | btw | 18:10 |
th1a | Is the drop shadow in the top-level nav referring to the text? | 18:10 |
yvl | I remembered | 18:10 |
yvl | replaceafill - because of the layout | 18:10 |
yvl | the red backround of the thing were login is put | 18:10 |
yvl | is actually bigger - it is also applied to breadcrumbs | 18:11 |
yvl | but they paint white on top | 18:11 |
replaceafill | th1a do you want me to get rid of the shadow? | 18:11 |
replaceafill | in top nav? | 18:11 |
th1a | Oh, no. | 18:11 |
yvl | and if you get rid of the "float right", I'll owe you a cookie | 18:11 |
th1a | I just think they have some shadow on their text. | 18:11 |
th1a | Also, if you know where the "striped pattern" comes from. | 18:12 |
th1a | Or think you can find it... | 18:12 |
yvl | text-shadow: 0px 0px 4px white; | 18:12 |
yvl | ;) | 18:12 |
th1a | I suppose it is color specific. | 18:12 |
yvl | or something | 18:12 |
yvl | striped pattern is a backround image | 18:12 |
yvl | apologies for intruding, /me goes off to pack some more stuff | 18:13 |
th1a | Does it cover the background color? | 18:13 |
yvl | I think so | 18:13 |
th1a | Oh, i see. | 18:13 |
th1a | only the tabs are striped. | 18:15 |
yvl | replaceafill, also a reminder - if you put a 1 px left border you need to shrink left padding by 1 px | 18:15 |
th1a | OK, don't worry about that. | 18:15 |
th1a | (the stripes) | 18:15 |
replaceafill | ok, i got to the background file | 18:15 |
replaceafill | but it's orange | 18:15 |
th1a | Right. | 18:15 |
th1a | We'll get that from schwa, hopefully. | 18:16 |
yvl | replaceafill, GIMP ftw! | 18:16 |
replaceafill | :D | 18:16 |
th1a | Not now... | 18:16 |
* yvl shuts up | 18:16 | |
replaceafill | :)) | 18:16 |
replaceafill | i wish we had access to this drupal theme :( | 18:16 |
th1a | h1 "SchoolTool" at right in white in top level nav. | 18:17 |
replaceafill | ok | 18:17 |
th1a | I'm seeing it above. | 18:18 |
replaceafill | hold on, changing the css | 18:19 |
replaceafill | damn z-index :P | 18:20 |
replaceafill | like that? | 18:21 |
replaceafill | more space on the right | 18:21 |
th1a | Right. | 18:21 |
th1a | Embolden? | 18:22 |
replaceafill | uh? | 18:22 |
th1a | Make it bold. | 18:22 |
replaceafill | oops | 18:22 |
replaceafill | done | 18:23 |
th1a | That'll do for now. | 18:23 |
th1a | Actually, get rid of the bold. | 18:23 |
th1a | I'm sick of it already. | 18:23 |
replaceafill | done | 18:23 |
replaceafill | more horizontal spacing? | 18:23 |
th1a | Now, I'd say just comment out both bars below that. | 18:23 |
replaceafill | ok | 18:23 |
th1a | (red and breadcrumbs) | 18:23 |
replaceafill | yvl you had to insert comments... | 18:25 |
replaceafill | :) | 18:25 |
th1a | Nested comment error? | 18:25 |
replaceafill | done | 18:26 |
replaceafill | yes | 18:26 |
th1a | OK, now make a second-level nav bar like in Ubuntu guideline. | 18:26 |
replaceafill | ok | 18:26 |
yvl | lookin good | 18:27 |
yvl | replaceafill, sorry about comments :/ | 18:27 |
replaceafill | np man :) | 18:27 |
th1a | Blame the W3C. | 18:28 |
replaceafill | :)) | 18:28 |
replaceafill | "More on the header are on page XX" :/ | 18:30 |
th1a | Oh! | 18:35 |
th1a | lol | 18:35 |
replaceafill | i wonder why the hell they didnt create a single page called: secondary navigation... | 18:38 |
replaceafill | i'm jumping up and down in the pdf :P | 18:38 |
th1a | Yeah. | 18:38 |
th1a | effing designers. | 18:39 |
th1a | New top-bar colors to try when you're ready: #aa0000 background #540000 active. | 18:42 |
replaceafill | th1a can you look for all the references to the secondary nav in the guidelines please | 18:44 |
replaceafill | i'm missing one | 18:44 |
th1a | Hm? | 18:44 |
th1a | What are you missing? | 18:44 |
replaceafill | let me clean this mess | 18:44 |
replaceafill | the hover | 18:44 |
th1a | On ubuntu.com just the link changes on hover. | 18:50 |
replaceafill | i should pay more attention to ubuntu.com instead of the pdf | 18:50 |
th1a | Well... both. | 18:51 |
th1a | I mean, I don't know which is... canonical. | 18:51 |
th1a | I'd better get some lol's for that one. | 18:51 |
* th1a sighs. | 18:52 | |
replaceafill | it's a background image! | 18:54 |
th1a | ? | 18:55 |
replaceafill | see our secondary nav | 18:55 |
replaceafill | hover is yellow :) | 18:55 |
replaceafill | hover is a background image in ubuntu.com | 18:55 |
replaceafill | and probably in the guidelines | 18:55 |
th1a | I see... they bring up the stripes. | 18:56 |
replaceafill | yes | 18:56 |
th1a | We can use those stripes. | 18:57 |
replaceafill | getting the stripes | 18:57 |
th1a | If you can change the top colors so I can see how they look in the meantime... | 18:57 |
replaceafill | ah, sorry | 18:58 |
th1a | np | 18:58 |
replaceafill | th1a changed | 19:00 |
replaceafill | did i get the second right? | 19:00 |
replaceafill | #540000 | 19:00 |
th1a | y | 19:00 |
replaceafill | yay | 19:05 |
replaceafill | strips | 19:05 |
replaceafill | stripes | 19:05 |
th1a | Good... | 19:05 |
replaceafill | oops removing the yellow | 19:06 |
th1a | One thing I should probably mention now is that the breadcrumbs are going here. | 19:06 |
th1a | So... I don't know how that affects the style -- it will probably be somewhat different. | 19:06 |
th1a | I'm going to need to get lunch and run to the bank. | 19:07 |
th1a | So you can -- well get lunch yourself. | 19:07 |
replaceafill | :) | 19:07 |
th1a | Or finish styling this, put the breadcrumbs at left and logout at right. | 19:07 |
replaceafill | yes, i'll keep "playing" with it | 19:07 |
th1a | And style the sidebar (Application, School) to look like the footer columns. | 19:08 |
th1a | If you are really speedy. | 19:08 |
* th1a goes to lunch. | 19:08 | |
replaceafill | i'm taking this shit back to my laptop | 19:08 |
replaceafill | terminal sucks :( | 19:08 |
th1a | Sure. | 19:08 |
th1a | Sorry. | 19:08 |
replaceafill | np | 19:08 |
*** yvl has quit IRC | 19:16 | |
*** alga has quit IRC | 19:20 | |
*** menesis1 has joined #schooltool | 19:27 | |
*** menesis has quit IRC | 19:27 | |
*** menesis1 is now known as menesis | 19:27 | |
* th1a is back | 20:02 | |
* replaceafill updates the instance | 20:05 | |
replaceafill | th1a not much progress, i've been comparing the current flourish to the guidelines and ubuntu.com | 20:06 |
replaceafill | i noticed there's no background for the title | 20:07 |
replaceafill | should i put it back? | 20:07 |
th1a | Title? | 20:07 |
replaceafill | Your School Site Settings | 20:08 |
replaceafill | http://69.164.203.135:6660/settings | 20:08 |
th1a | The guidelines has one? | 20:08 |
replaceafill | http://www.ubuntu.com/download | 20:08 |
replaceafill | no | 20:08 |
replaceafill | neither does ubuntu.com | 20:09 |
th1a | So... yvl have one? | 20:09 |
replaceafill | yes | 20:09 |
th1a | Follow the guidelines. | 20:10 |
replaceafill | ok | 20:10 |
th1a | We need left and right margins around the secondary nav. | 20:10 |
th1a | 16 px | 20:11 |
th1a | Or padding... | 20:11 |
*** ignas has quit IRC | 20:11 | |
th1a | Whichever. | 20:11 |
th1a | page 9 | 20:11 |
replaceafill | also, the content area has padding in the guidelines | 20:11 |
replaceafill | 16px | 20:11 |
th1a | uh huh | 20:11 |
replaceafill | ok, copying... | 20:12 |
*** menesis has quit IRC | 20:19 | |
*** alga has joined #schooltool | 20:25 | |
replaceafill | th1a http://69.164.203.135:6660/settings | 20:26 |
th1a | What's the border supposed to be? | 20:26 |
replaceafill | it's a shadow not a border | 20:27 |
replaceafill | ubuntu.com uses an image for the shadow effect | 20:28 |
replaceafill | http://www.ubuntu.com/sites/all/themes/ubuntu10/images/content_bg.png | 20:28 |
replaceafill | +1 on images for compatibility | 20:28 |
th1a | ok | 20:30 |
*** hoffman has joined #schooltool | 20:30 | |
th1a | Putting that in? | 20:41 |
replaceafill | removing the background from the content | 20:42 |
replaceafill | not removing | 20:42 |
replaceafill | adjusting | 20:42 |
replaceafill | it has padding too | 20:42 |
replaceafill | shadows are bitch! | 20:43 |
replaceafill | i like borders better :) | 20:43 |
th1a | y | 20:43 |
replaceafill | th1a refresh | 20:51 |
th1a | ok... | 20:51 |
th1a | oh, I see. | 20:51 |
th1a | Perhaps we should jump down to the sidebar. | 20:52 |
th1a | Since that should be completely different. | 20:53 |
replaceafill | so, you want the right sidebar styled like... the bottom of http://www.ubuntu.com/ | 20:53 |
replaceafill | correct? | 20:53 |
th1a | Yes. | 20:53 |
th1a | For starters, at least. | 20:54 |
*** menesis has joined #schooltool | 20:59 | |
replaceafill | th1a smaaaall :) | 21:08 |
th1a | OK, easily changed. | 21:08 |
th1a | No outline! | 21:08 |
replaceafill | oops | 21:08 |
replaceafill | i liked the boxes ;) | 21:08 |
replaceafill | outline removed | 21:12 |
replaceafill | need hover | 21:12 |
th1a | Why is person so dark? | 21:12 |
th1a | Does it know where we are? | 21:13 |
replaceafill | dark? | 21:13 |
th1a | Oh, sorry. | 21:14 |
th1a | Look at http://69.164.203.135:6660/persons | 21:14 |
th1a | I've been looking at that. | 21:14 |
replaceafill | ah, i've been looking at http://69.164.203.135:6660/settings | 21:15 |
replaceafill | but i'll find out | 21:15 |
th1a | Yeah, but that's losing its usefulness. | 21:15 |
th1a | It has no content. | 21:15 |
th1a | (it's usefulness for working on the style) | 21:15 |
replaceafill | ah, persons is so dark because it has an "active" class | 21:16 |
th1a | Also, it has to be completely redesigned in the near future. | 21:16 |
th1a | OK. | 21:16 |
replaceafill | should i remove the dark background for it? | 21:16 |
replaceafill | ubuntu.com doesnt have active backgrounds for the footer | 21:16 |
replaceafill | it just changes the text | 21:16 |
replaceafill | hold on | 21:16 |
th1a | Yes. | 21:16 |
th1a | Also give the sidebar the standard margins. | 21:17 |
th1a | And bump it up to the regular paragraph font size. | 21:17 |
replaceafill | th1a refresh | 21:31 |
th1a | refreshing... | 21:33 |
th1a | That will do for the moment I think. | 21:34 |
th1a | We probably don't really want those underlines. | 21:34 |
th1a | Are you on /persons now? | 21:34 |
replaceafill | yes | 21:34 |
th1a | OK, comment out the div with the action button in it. ;-) | 21:34 |
replaceafill | :D | 21:34 |
replaceafill | refresh | 21:36 |
th1a | Actually, we probably just want to build this up from scratch-ish now. | 21:36 |
replaceafill | :| | 21:37 |
replaceafill | that's the table container view | 21:37 |
th1a | Yes. | 21:37 |
replaceafill | no search widget? | 21:37 |
th1a | Well... | 21:37 |
th1a | Yes, there should be. | 21:38 |
th1a | But maybe we should start with the table and then think about the rest. | 21:38 |
replaceafill | ok | 21:38 |
th1a | Fundamentally is this a table or a form? | 21:38 |
th1a | Or a form and a table? | 21:38 |
replaceafill | it's a table inside a form | 21:39 |
th1a | Hm... | 21:39 |
replaceafill | the table is below showing 1 items... | 21:39 |
th1a | Table above a form. | 21:39 |
replaceafill | and finishes above the Delete button | 21:39 |
th1a | I mean... | 21:39 |
th1a | Form above table. | 21:39 |
replaceafill | <form><table></table></form> | 21:39 |
replaceafill | <form><search inputs><table></table></form> | 21:40 |
th1a | <form></form><table></table> | 21:40 |
replaceafill | you need the table inside the form because of the checkboxes | 21:40 |
th1a | Not if we don't have the checkboxes! | 21:40 |
th1a | HAHA | 21:40 |
replaceafill | :| | 21:40 |
th1a | AHA! | 21:40 |
replaceafill | delete buttons? | 21:41 |
th1a | I'm in favor of a separate form with delete buttons. | 21:41 |
replaceafill | you mean something like "Delete Persons" view? | 21:42 |
th1a | Yes. | 21:42 |
replaceafill | got it | 21:42 |
replaceafill | this only for display | 21:42 |
th1a | y | 21:42 |
replaceafill | so, bye bye delete features? | 21:42 |
th1a | ? | 21:42 |
replaceafill | i mean, should i remove them? | 21:43 |
replaceafill | :D | 21:43 |
th1a | From this page, yes. | 21:43 |
replaceafill | ok | 21:43 |
th1a | form over table | 21:44 |
replaceafill | k | 21:44 |
replaceafill | ok, search is broken in the current implementation | 21:50 |
replaceafill | should i fix it now? | 21:50 |
th1a | Broken since? | 21:51 |
replaceafill | the form is redirecting to the delete view automatically | 21:51 |
replaceafill | in flourish trunk | 21:51 |
th1a | No. | 21:51 |
replaceafill | ok | 21:51 |
replaceafill | th1a refresh | 21:52 |
th1a | Is that whole thing in a fieldset? | 21:53 |
replaceafill | th1a sorry i was fixing the search problem :) it was really easy actually | 21:55 |
replaceafill | refresh and now you can search | 21:55 |
replaceafill | and sort | 21:55 |
th1a | np | 21:55 |
replaceafill | th1a the table must stay inside the form | 21:55 |
replaceafill | because of sorting | 21:55 |
replaceafill | we can put the search stuff in a fieldset though | 21:56 |
th1a | Two separate fieldsets? | 21:56 |
replaceafill | fieldset and table | 21:56 |
th1a | OK. | 21:56 |
replaceafill | <form><fieldset>search inputs</fieldset><table></table></form> | 21:56 |
th1a | Basically I don't want extra lines and extra levels of indentation. | 21:56 |
replaceafill | are we going to put a legend for the search fieldset? | 21:57 |
replaceafill | or just the border? | 21:57 |
th1a | Let's assume we'll have a title. | 21:58 |
th1a | "Search" will do for starters. | 21:58 |
replaceafill | th1a refresh | 22:02 |
th1a | Get rid of the outline and background for the whole thing. | 22:02 |
replaceafill | k | 22:03 |
* th1a is starting to get excited. | 22:05 | |
replaceafill | :/ | 22:05 |
* replaceafill is starting to get hungry ;) | 22:06 | |
th1a | Yes... you didn't have lunch? | 22:06 |
replaceafill | it's 1pm here :) | 22:06 |
replaceafill | not yet | 22:06 |
th1a | Well, have lunch when you're ready. | 22:07 |
replaceafill | kk | 22:07 |
replaceafill | hhmm we would need several persons to style the batch | 22:10 |
replaceafill | it's rendered above the form | 22:10 |
th1a | Batch? | 22:12 |
replaceafill | like when you have 100 persons, you see them in 25 persons "batches" | 22:13 |
replaceafill | i guess 25 is the default | 22:13 |
th1a | Can you put an add link in the sidebar? | 22:14 |
th1a | And I'll add some? | 22:14 |
th1a | If that works. | 22:14 |
replaceafill | ok | 22:14 |
th1a | Wait. | 22:14 |
th1a | It is the web | 22:14 |
th1a | What is the url? | 22:14 |
replaceafill | http://69.164.203.135:6660/persons/add.html | 22:14 |
th1a | OK, don't sweat the link. | 22:14 |
replaceafill | ok | 22:14 |
replaceafill | i'll see if we can set the batch size | 22:15 |
replaceafill | we should, this is zope! | 22:15 |
replaceafill | ;) | 22:15 |
*** menesis has quit IRC | 22:15 | |
replaceafill | yikes! | 22:18 |
replaceafill | that batch needs styling ;) | 22:19 |
replaceafill | how many should i put in the batch size? | 22:19 |
th1a | Well, There's a lot to do. | 22:19 |
th1a | Let's do the form first. | 22:19 |
replaceafill | ah ok | 22:19 |
replaceafill | i'll remove the background and outline | 22:19 |
*** menesis has joined #schooltool | 22:21 | |
replaceafill | th1a refresh | 22:22 |
replaceafill | is the username too sensitive for that view? | 22:22 |
replaceafill | i remember CL asked for it | 22:22 |
th1a | no | 22:25 |
th1a | I was going to suggest adding it. | 22:25 |
th1a | Style the form first. | 22:26 |
replaceafill | ok | 22:26 |
th1a | And move the buttons. | 22:26 |
replaceafill | the buttons should look like page 23 of the guidelines, correct_ | 22:28 |
th1a | Yes, but red. | 22:28 |
replaceafill | find now, primary and clear secondary | 22:28 |
th1a | Or just submit? | 22:29 |
th1a | I say "submit" for now. | 22:29 |
replaceafill | ok, removing Clear then | 22:29 |
th1a | roger. | 22:30 |
replaceafill | should i leave the groups dropdown? | 22:30 |
th1a | Yes, but aligned as a regular form element. | 22:31 |
replaceafill | like the Country example in page 21? | 22:32 |
replaceafill | but with no label | 22:32 |
th1a | No... | 22:32 |
th1a | You guys hate to think about the labels. | 22:33 |
replaceafill | :D | 22:33 |
replaceafill | true ;) | 22:33 |
th1a | Limit to group | 22:33 |
replaceafill | i'll put these new styles in a person.css file momentarily | 22:39 |
replaceafill | so we can clean them later if we need to | 22:40 |
replaceafill | aelkner are you there? | 22:40 |
th1a | ok. | 22:40 |
th1a | Most of these things should be universal though. | 22:40 |
replaceafill | how do i set the focus style with pure css... | 23:06 |
th1a | Sorry... pooping crisis here. | 23:06 |
th1a | I'm back. | 23:06 |
replaceafill | :) | 23:06 |
replaceafill | :O :focus pseudo class | 23:06 |
*** menesis has quit IRC | 23:07 | |
replaceafill | th1a not done yet, but http://69.164.203.135:6660/persons/@@index.html | 23:18 |
replaceafill | i don't like that huge button | 23:18 |
th1a | Those things should be vertically aligned. | 23:18 |
th1a | Make the button #aa0000 | 23:19 |
th1a | Use the small button. | 23:20 |
replaceafill | i did | 23:20 |
replaceafill | i guess | 23:20 |
replaceafill | but the padding is too much | 23:20 |
replaceafill | red button | 23:21 |
th1a | Oh. | 23:21 |
th1a | I guess that might be a problem. | 23:21 |
replaceafill | should the hover color be the same of the active class in top navigation? | 23:21 |
replaceafill | #540000 | 23:22 |
th1a | No... | 23:22 |
th1a | We can't have red buttons everywhere. | 23:22 |
th1a | Let me think about that. | 23:22 |
replaceafill | yes, red -> danger | 23:22 |
replaceafill | i'll go get some food and finish this later | 23:23 |
replaceafill | 1 hour | 23:23 |
th1a | kk | 23:23 |
replaceafill | ah | 23:23 |
replaceafill | can you please repeat the alignment part? | 23:23 |
th1a | Like an Ubuntu form. | 23:23 |
th1a | It is a form. | 23:23 |
*** ignas has joined #schooltool | 23:25 | |
replaceafill | k, back in one hour | 23:26 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!