*** duende has quit IRC | 01:06 | |
*** duende has joined #schooltool | 01:07 | |
*** duende has quit IRC | 05:34 | |
*** duende has joined #schooltool | 05:34 | |
*** menesis has quit IRC | 09:38 | |
*** menesis has joined #schooltool | 09:39 | |
*** khildin has joined #schooltool | 11:12 | |
*** yvl has joined #schooltool | 12:59 | |
*** yvl has quit IRC | 13:30 | |
*** khildin has quit IRC | 14:01 | |
*** khildin has joined #schooltool | 14:19 | |
*** yvl has joined #schooltool | 15:09 | |
*** yvl has quit IRC | 15:22 | |
*** yvl has joined #schooltool | 15:24 | |
*** menesis has quit IRC | 15:33 | |
*** menesis has joined #schooltool | 16:24 | |
th1a | hi menesis. | 16:31 |
---|---|---|
*** replaceafill has joined #schooltool | 16:32 | |
th1a | hi replaceafill. | 16:32 |
replaceafill | hey th1a | 16:32 |
replaceafill | i forgot the /join #schooltool part :) | 16:32 |
th1a | Do you do that manually every day? | 16:34 |
replaceafill | yes | 16:34 |
*** povbot has joined #schooltool | 17:07 | |
th1a | So where does custom.css go? | 17:08 |
th1a | Is there a skeleton file or do you have to create it? | 17:08 |
th1a | I guess I see. | 17:08 |
th1a | ;-) | 17:08 |
th1a | Anything non-obvious going on there? | 17:10 |
replaceafill | /etc/schooltool/standard/custom-css | 17:10 |
replaceafill | it comes with a custom.css file | 17:10 |
replaceafill | empty | 17:10 |
th1a | Yeah, I found it. | 17:10 |
th1a | Seems straightforward. | 17:11 |
replaceafill | you can add images to the directory and use url(image.png) in the css | 17:11 |
*** khildin has quit IRC | 17:12 | |
th1a | Ah! | 17:12 |
th1a | How exactly? | 17:12 |
replaceafill | i mean, the whole directory gets registered as a resource library | 17:12 |
th1a | I'm going to have mobert document this -- maybe we'll just do it today. | 17:13 |
replaceafill | anything you add to the directory you can access as /@@/schooltool.flourish.custom/<FILE> | 17:14 |
replaceafill | however we should recommend using relative urls | 17:14 |
replaceafill | in the css | 17:14 |
replaceafill | as url(image.gif) | 17:15 |
replaceafill | that way the path resolves to /@@/schooltool.flourish.custom/image.gif automatically | 17:15 |
th1a | So... if I was adding an image.png...? | 17:16 |
th1a | How would I change out the schooltool logo in the top bar. | 17:16 |
th1a | That's the big question. | 17:16 |
replaceafill | first i hide it | 17:16 |
replaceafill | and then set a background on h1.brand | 17:17 |
replaceafill | see http://dev.schooltool.org/peas/calendar | 17:17 |
replaceafill | .header > h1.brand span, .header > h1.brand img { | 17:17 |
replaceafill | display: none; | 17:17 |
replaceafill | } | 17:17 |
replaceafill | that hides the <span>school</span><span>tool</span><img for logo> | 17:18 |
replaceafill | then | 17:18 |
replaceafill | .header > h1.brand { | 17:18 |
replaceafill | background: url("logo.png") no-repeat scroll right top rgba(0, 0, 0, 0); | 17:18 |
replaceafill | height: 40px; | 17:18 |
replaceafill | width: 195px; | 17:18 |
replaceafill | } | 17:18 |
replaceafill | see the url | 17:18 |
replaceafill | it's relative | 17:18 |
replaceafill | the logo.png file is in the custom-css directory | 17:19 |
th1a | So that would use logo.png from the custom-css directory? | 17:19 |
th1a | OK. | 17:19 |
replaceafill | if you want to use text instead of background | 17:19 |
replaceafill | you could use css content | 17:19 |
replaceafill | after and before | 17:19 |
replaceafill | .header > h1.brand { | 17:20 |
replaceafill | background: url("logo.png") no-repeat scroll right top rgba(0, 0, 0, 0); | 17:20 |
replaceafill | height: 40px; | 17:20 |
replaceafill | width: 195px; | 17:20 |
replaceafill | } | 17:20 |
replaceafill | oops | 17:20 |
replaceafill | sorry | 17:20 |
replaceafill | v | 17:20 |
replaceafill | ggr | 17:20 |
replaceafill | http://www.w3schools.com/cssref/sel_after.asp | 17:20 |
replaceafill | http://www.w3schools.com/cssref/sel_before.asp | 17:20 |
th1a | text instead of background? | 17:21 |
replaceafill | for peas i used a image logo | 17:21 |
replaceafill | but maybe you want some text replacing the schooltool logo | 17:21 |
replaceafill | like "my foo school" or something | 17:21 |
replaceafill | or even "my foo school <logo>" | 17:22 |
replaceafill | it's also possible | 17:22 |
th1a | OK. mobert will probably ask you some questions later today. | 17:23 |
replaceafill | kk | 17:24 |
replaceafill | th1a, http://postimg.org/image/91om8cv59/ | 17:26 |
th1a | Ah, cool. | 17:27 |
replaceafill | ok, i'll go get breakfast | 17:27 |
th1a | One last question: | 17:27 |
replaceafill | yes? | 17:27 |
th1a | changing background color in the header. | 17:27 |
replaceafill | .header ul.navigation { | 17:28 |
replaceafill | background-color: <the color you want>; | 17:28 |
replaceafill | } | 17:28 |
replaceafill | http://postimg.org/image/5xtiyl1l9/ | 17:29 |
th1a | OK, thanks! Go get breakfast. | 17:30 |
*** khildin has joined #schooltool | 17:30 | |
replaceafill | kk thanks | 17:30 |
replaceafill | bb in 30 | 17:30 |
*** khildin has quit IRC | 17:42 | |
th1a | dally managed to find a character on his keyboard that looks like a dash but doesn't work when setting the start and end times for a timetable. | 17:50 |
replaceafill | i wonder what that is | 18:00 |
th1a | He's on Windows. | 18:31 |
th1a | I don't know. | 18:31 |
th1a | FIGURE DASH | 18:32 |
th1a | U+2012 | 18:32 |
*** mobert has joined #schooltool | 18:57 | |
mobert | th1a, replaceafill -- I'm looking at /etc/schooltool/standard/custom-css/ now. | 19:06 |
th1a | OK, I'm going to head over in a minute. | 19:06 |
th1a | You can play with that, and I'd like to have something for the book tonight if possible. | 19:07 |
mobert | OK. | 19:09 |
mobert | See you soon. | 19:09 |
mobert | Are you biking or driving? Because I have a new guest parking pass for you just in case. | 19:09 |
th1a | biking | 19:11 |
replaceafill | mobert, ah ok | 19:12 |
mobert | th1a, see you soon! | 19:12 |
*** th1a_iPhone has joined #schooltool | 19:29 | |
th1a_iPhone | mobert I'm here | 19:30 |
mobert | I'll be right down! | 19:30 |
*** th1a_iPhone has quit IRC | 19:35 | |
*** duende has quit IRC | 19:35 | |
*** duende has joined #schooltool | 19:36 | |
*** th1a_iPhone has joined #schooltool | 20:03 | |
*** duende has quit IRC | 20:05 | |
*** duende has joined #schooltool | 20:06 | |
*** th1a_iPhone has quit IRC | 20:06 | |
*** yvl has quit IRC | 20:25 | |
*** menesis has quit IRC | 21:21 | |
th1a | replaceafill: Performance on search is really good! | 22:11 |
replaceafill | :) | 22:11 |
replaceafill | thank you catalogs | 22:11 |
th1a | ;-) | 22:11 |
replaceafill | course is still using string comparison | 22:11 |
replaceafill | courses* | 22:11 |
th1a | It doesn't have ID's yet either? | 22:11 |
replaceafill | because we haven't had catalogs for course containers | 22:11 |
*** menesis has joined #schooltool | 22:11 | |
th1a | The overall number is still going to be small anyhow. | 22:12 |
replaceafill | ID's? | 22:12 |
replaceafill | you mean course ID? | 22:12 |
th1a | yeah | 22:12 |
replaceafill | that's the course.course_id attribute | 22:12 |
replaceafill | not __name__ | 22:12 |
th1a | oh! | 22:12 |
th1a | ok. | 22:12 |
replaceafill | what about sections? | 22:12 |
replaceafill | we're also doing string comparison there | 22:12 |
th1a | There are way more of them potentially. | 22:13 |
replaceafill | i was thinking of finishing all of them first | 22:14 |
replaceafill | and focusing on performance later | 22:14 |
replaceafill | still missing /groups, /contacts, etc | 22:14 |
th1a | OK, sure. | 22:15 |
replaceafill | do we need autocomplete for /terms and /timetables? | 22:16 |
replaceafill | for /resources maybe? | 22:16 |
th1a | I should probably be looking at my mockup... | 22:16 |
th1a | We definitely don't need it everywhere. | 22:17 |
replaceafill | ok | 22:18 |
replaceafill | i'll stick to the ones the mockups uses for now | 22:18 |
replaceafill | 5 | 22:18 |
th1a | Contacts definitely needs it. | 22:20 |
replaceafill | th1a, how much time do we have for the school page? | 22:22 |
th1a | It should be done before the end of the year! | 22:22 |
replaceafill | :| | 22:23 |
th1a | If the searches aren't hard, then I guess it shouldn't take too long. | 22:23 |
th1a | It is a "until it is done" project... perhaps the last. | 22:23 |
replaceafill | ah ok | 22:24 |
replaceafill | we have time for writing tests for it :) | 22:24 |
th1a | Yes! | 22:24 |
replaceafill | kk, understood | 22:24 |
*** replaceafill has quit IRC | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!