*** pcardune has quit IRC | 00:27 | |
*** pcardune has joined #schooltool | 00:30 | |
*** ignas has quit IRC | 00:36 | |
*** pcardune has quit IRC | 00:55 | |
*** jelkner has joined #schooltool | 00:58 | |
*** pcardune has joined #schooltool | 01:04 | |
*** pcardune has quit IRC | 01:05 | |
*** pcardune has joined #schooltool | 01:05 | |
*** dlobo has quit IRC | 01:06 | |
*** pcardune_ has joined #schooltool | 01:26 | |
*** pcardune has quit IRC | 01:42 | |
*** pcardune_ is now known as pcardune | 01:42 | |
*** pcardune has quit IRC | 02:15 | |
*** pcardune has joined #schooltool | 02:20 | |
*** fsufitch has joined #schooltool | 02:50 | |
*** jelkner has quit IRC | 03:01 | |
*** replaceafill has quit IRC | 03:18 | |
*** dlobo_ has joined #schooltool | 04:20 | |
*** pcardune has quit IRC | 04:42 | |
*** dlobo_ has quit IRC | 05:22 | |
*** th1a has quit IRC | 05:24 | |
*** replaceafill has joined #schooltool | 06:20 | |
*** pcardune has joined #schooltool | 07:16 | |
*** replaceafill has quit IRC | 08:17 | |
*** alga has joined #SchoolTool | 09:03 | |
*** menesis has quit IRC | 09:27 | |
*** menesis has joined #schooltool | 09:30 | |
*** aelkner_ has quit IRC | 10:03 | |
*** Aiste has joined #schooltool | 10:47 | |
*** mgedmin has joined #schooltool | 12:40 | |
*** Lumiere has quit IRC | 12:44 | |
*** Lumiere has joined #schooltool | 12:47 | |
*** Aiste has quit IRC | 13:38 | |
*** Aiste has joined #schooltool | 13:38 | |
*** dlobo has joined #schooltool | 14:07 | |
*** ignas has joined #schooltool | 14:54 | |
*** dlobo has quit IRC | 14:54 | |
*** dlobo has joined #schooltool | 15:12 | |
*** dlobo_ has joined #schooltool | 15:48 | |
*** dlobo has quit IRC | 15:49 | |
*** dlobo_ is now known as dlobo | 15:49 | |
*** th1a has joined #schooltool | 16:35 | |
*** menesis has quit IRC | 18:41 | |
*** pcardune has quit IRC | 18:47 | |
*** replaceafill has joined #schooltool | 19:08 | |
*** alga has quit IRC | 19:28 | |
*** fsufitch1 has joined #schooltool | 19:38 | |
*** dlobo_ has joined #schooltool | 19:42 | |
*** fsufitch has quit IRC | 19:50 | |
*** dlobo has quit IRC | 20:00 | |
*** dlobo_ is now known as dlobo | 20:00 | |
*** dlobo has joined #schooltool | 20:02 | |
*** replaceafill has quit IRC | 20:12 | |
*** mgedmin has quit IRC | 20:20 | |
*** fsufitch1 has quit IRC | 20:28 | |
*** dlobo has quit IRC | 20:35 | |
*** Aiste has quit IRC | 20:37 | |
*** dlobo has joined #schooltool | 20:39 | |
*** aelkner has joined #schooltool | 20:42 | |
*** ignas has quit IRC | 20:47 | |
*** alga has joined #SchoolTool | 20:49 | |
*** dlobo_ has joined #schooltool | 21:10 | |
*** dlobo has quit IRC | 21:11 | |
*** dlobo_ is now known as dlobo | 21:11 | |
*** fsufitch has joined #schooltool | 21:27 | |
*** pcardune has joined #schooltool | 21:37 | |
*** jlf` has joined #schooltool | 22:06 | |
*** pcardune has quit IRC | 22:07 | |
jlf` | hi folks, anyone around? | 22:11 |
---|---|---|
th1a | hi jlf. | 22:17 |
jlf` | hi th1a | 22:20 |
jlf` | shot in the dark: i'm looking into the possibility of writing some software to generate master schedules and student schedules for schools and looking for a sample data set (info about teachers, classrooms, students' class requests, etc.). anyone know of such a data set? | 22:22 |
*** jelkner has joined #schooltool | 22:36 | |
th1a | Ah... hi again. | 23:01 |
th1a | jlf` | 23:01 |
th1a | Um... | 23:01 |
th1a | Hm... | 23:01 |
jlf` | of course it could also be a real data set from a school (suitably anonymized of course) | 23:02 |
th1a | I'm not sure because the other open source systems are more "timetabling" oriented -- which classes go in which rooms at which times -- | 23:02 |
th1a | than scheduling oriented -- fitting kids into sections. | 23:03 |
th1a | Have you poked around FET and Tablix? | 23:03 |
jlf` | th1a: i'd be doing both pieces | 23:03 |
jlf` | no, haven't heard of those *googles* | 23:04 |
th1a | Those are the two major open source projects. | 23:04 |
jlf` | thanks, i'll have a look | 23:05 |
*** pcardune has joined #schooltool | 23:07 | |
th1a | pcardune! | 23:08 |
th1a | Just the person we need. | 23:08 |
pcardune | th1a: ? | 23:08 |
th1a | aelkner and I are discussing adding pop-ups to the gradebook for when you have a discrete score system. | 23:08 |
th1a | And we definitely don't want to add the code for each menu into every cell. | 23:09 |
th1a | Also, the styling is tricky. | 23:09 |
th1a | So we're thinking "can we do this with javascript and/or jquery?" | 23:09 |
pcardune | th1a: yep | 23:10 |
th1a | Any pointers? | 23:12 |
pcardune | were you talking about an actual pop up window (which I would discourage) or more of an overlay type thing? | 23:12 |
pcardune | and when you say menu, is this just like a drop down select box or something with multiple controls/ | 23:13 |
pcardune | ? | 23:13 |
th1a | Select box. | 23:13 |
th1a | Just select [A+ A A- ...] | 23:14 |
pcardune | and are the choices going to be the same for the whole gradebook table, or just for specific assignments/columns? | 23:14 |
pcardune | and my final question is, do you submit the entire gradebook in one big post, or is each grade saved via ajax on change/ | 23:15 |
pcardune | ? | 23:15 |
th1a | Per column | 23:15 |
th1a | Either way. | 23:15 |
*** tan_ has joined #schooltool | 23:15 | |
th1a | (whichever gets us rolling) | 23:15 |
*** tan_ has quit IRC | 23:15 | |
aelkner | it would definitely be per column | 23:15 |
pcardune | th1a: well how do you do it now? | 23:16 |
aelkner | we have an input type=text field | 23:16 |
aelkner | one for each cell in the gradebook | 23:16 |
pcardune | so, it should be pretty straight forward. make a row in the table that is hidden which has a <select> tag "template" with all the choices for that column, for each column in the gradebook | 23:17 |
aelkner | of course, that has its own complexity issues | 23:17 |
pcardune | the add a class or some other kind of queriable marker to all the cells where you want the select box to show up, like a class="discrete-field" and the jquery might look like this... | 23:18 |
pcardune | $("td.discrete-field").click(function(){ }); | 23:18 |
* pcardune where inside the function you have: | 23:18 | |
pcardune | $("tr.discrete-selector-templates").eq($(this).prev().length).find("select").clone().appendTo(this).attr("name","col-3row-5"); | 23:22 |
th1a | whoa | 23:22 |
pcardune | basically it figures out which column the cell you clicked on is in, goes and picks the cell from the discrete selector templates row that is in that same column, clones it, adds it to the cell you just clicked on, and updates the name attribute to something the backend will understand when you submit the form | 23:23 |
pcardune | in practice you would have to add a few additional things for setting the current value, protecting against double clicks, and other little things, but that is the brunt of it | 23:24 |
th1a | aelkner is making faces. | 23:25 |
aelkner | not fair | 23:26 |
pcardune | ?? | 23:26 |
aelkner | i'm just not able to say "of course" | 23:26 |
aelkner | so what happens here is that the field is copied into the dom at the point of the field that was just clicked | 23:27 |
pcardune | right | 23:27 |
aelkner | so the <input type="text" ...> | 23:27 |
aelkner | gets replaced with | 23:27 |
aelkner | <select name="foo"> <option ... | 23:27 |
pcardune | yeah more or less, and even more, if javascript is disabled, they can still use the text input, so it will work in lynx too | 23:28 |
aelkner | now if the width of the widest option, ex/ 'Can teach others' | 23:28 |
aelkner | is wider than the table column up to that point | 23:29 |
aelkner | than the table column will widen right before the users eyes | 23:29 |
aelkner | as long as th1a is ok with that behavior... | 23:29 |
aelkner | pcardune: you know what i mean by that, right? | 23:31 |
pcardune | aelkner: or you could make the column width fixed, and have the select box just overflow out of the column, and on blur the select box disappears and whatever smaller text representation can show up in its place | 23:32 |
pcardune | that would at least not cause this big jolt affect in the table every time you click on a cell | 23:32 |
aelkner | right, the jolt effect, that's what i was referring to | 23:33 |
pcardune | and you would probably want to use focus and blur instead of click so that when you tab between input fields, it will convert to selects at that point too | 23:33 |
aelkner | definitely | 23:33 |
aelkner | when you say 'column width fixed', you mean that each cell in the column has css that fixes the column width, right? | 23:36 |
aelkner | or is there another way to fix the width of a table column that overrides the implied widths of cells? | 23:37 |
aelkner | in other words: | 23:38 |
aelkner | i'll assume that each td in the fourth column of a given table has class=fixed5, which fixes the width to 5em | 23:39 |
aelkner | then the resulting column will have width 5em | 23:40 |
aelkner | but | 23:40 |
aelkner | if we clone a field with a select box that is of larger width, and we don't use the fixed5 class | 23:40 |
aelkner | will the table column still be 5em wide | 23:40 |
aelkner | and the cell with the select in it will overlay the column? | 23:41 |
aelkner | that would be ideal, but i'm not sure that would be the case | 23:41 |
aelkner | pcardune: any thoughts? | 23:41 |
pcardune | i was thinking with style="width: 50px; overflow: some css I cant remember" | 23:42 |
aelkner | that's the stule, but doesn't every cel in that column need to use that style? | 23:42 |
pcardune | possibly | 23:43 |
pcardune | I mean, you would use a css class | 23:43 |
Lumiere | just make an overx class | 23:43 |
pcardune | or you could just add it when you append the select element | 23:43 |
Lumiere | then you do class="fixed5 overx" | 23:44 |
Lumiere | iirc that makes it use both classes | 23:44 |
aelkner | my fear is that the html table wiill widen the column simply because ne of the cells is wider than the rest | 23:45 |
Lumiere | aelkner: max-width | 23:45 |
Lumiere | in your css | 23:45 |
aelkner | thus, the jolt effect | 23:45 |
Lumiere | will lock the size | 23:45 |
Lumiere | and the overflow css is there to prevent it | 23:45 |
pcardune | Lumiere: except in ie where max-width isn't supported | 23:46 |
aelkner | problem is: we don't want to lock the size | 23:46 |
aelkner | we want the rest of the column to stay locked | 23:46 |
aelkner | so that we don't have the jolt effect | 23:46 |
aelkner | but | 23:46 |
aelkner | the dynamically created select box | 23:46 |
aelkner | should have whatever width necessary to render all the options without cutting any off | 23:47 |
aelkner | is that possible? | 23:47 |
Lumiere | aelkner: you don't care about the size of the select box it self | 23:47 |
Lumiere | you care abotu the options in the box | 23:47 |
Lumiere | which when you drop it down should show full size regardless of the width of the select box (iirc) | 23:48 |
aelkner | is it possible for a field, in this case, our select box | 23:48 |
Lumiere | I'll be the first to admit that it's not something I've done a lot with... | 23:48 |
aelkner | to not be part of the table | 23:48 |
aelkner | but still render on top of a cell on the table | 23:48 |
aelkner | crap | 23:50 |
aelkner | scrap that | 23:50 |
aelkner | we need to rely on the feature of an html table that locates a cell synamically | 23:50 |
aelkner | dynamically | 23:50 |
aelkner | acording to browser settig and font sizes | 23:50 |
aelkner | the precise location of a cell is not something that is programmatically predictable | 23:52 |
aelkner | it's the browser that decides at render time | 23:53 |
aelkner | pcardune: do you see the dilemma i'm referring to? | 23:53 |
* pcardune paying attention to presentation | 23:54 | |
pcardune | aelkner: you can figure out the dimensions of a cell at runtime with jquery and use that when you append the select tag | 23:54 |
th1a | I think we're going to fix this by changing the requirements. ;-) | 23:56 |
th1a | Just require each score to have an abbreviated version. | 23:57 |
*** moquist has quit IRC | 23:57 | |
aelkner | it looks like we would need to do that to avoid the jolt effect | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!