IRC log of #schooltool for Tuesday, 2014-11-11

*** duende has quit IRC01:06
*** duende has joined #schooltool01:07
*** duende has quit IRC05:34
*** duende has joined #schooltool05:34
*** menesis has quit IRC09:38
*** menesis has joined #schooltool09:39
*** khildin has joined #schooltool11:12
*** yvl has joined #schooltool12:59
*** yvl has quit IRC13:30
*** khildin has quit IRC14:01
*** khildin has joined #schooltool14:19
*** yvl has joined #schooltool15:09
*** yvl has quit IRC15:22
*** yvl has joined #schooltool15:24
*** menesis has quit IRC15:33
*** menesis has joined #schooltool16:24
th1ahi menesis.16:31
*** replaceafill has joined #schooltool16:32
th1ahi replaceafill.16:32
replaceafillhey th1a16:32
replaceafilli forgot the /join #schooltool part :)16:32
th1aDo you do that manually every day?16:34
replaceafillyes16:34
*** povbot has joined #schooltool17:07
th1aSo where does custom.css go?17:08
th1aIs there a skeleton file or do you have to create it?17:08
th1aI guess I see.17:08
th1a;-)17:08
th1aAnything non-obvious going on there?17:10
replaceafill/etc/schooltool/standard/custom-css17:10
replaceafillit comes with a custom.css file17:10
replaceafillempty17:10
th1aYeah, I found it.17:10
th1aSeems straightforward.17:11
replaceafillyou can add images to the directory and use url(image.png) in the css17:11
*** khildin has quit IRC17:12
th1aAh!17:12
th1aHow exactly?17:12
replaceafilli mean, the whole directory gets registered as a resource library17:12
th1aI'm going to have mobert document this -- maybe we'll just do it today.17:13
replaceafillanything you add to the directory you can access as /@@/schooltool.flourish.custom/<FILE>17:14
replaceafillhowever we should recommend using relative urls17:14
replaceafillin the css17:14
replaceafillas url(image.gif)17:15
replaceafillthat way the path resolves to /@@/schooltool.flourish.custom/image.gif automatically17:15
th1aSo... if I was adding an image.png...?17:16
th1aHow would I change out the schooltool logo in the top bar.17:16
th1aThat's the big question.17:16
replaceafillfirst i hide it17:16
replaceafilland then set a background on h1.brand17:17
replaceafillsee http://dev.schooltool.org/peas/calendar17:17
replaceafill.header > h1.brand span, .header > h1.brand img {17:17
replaceafill    display: none;17:17
replaceafill}17:17
replaceafillthat hides the <span>school</span><span>tool</span><img for logo>17:18
replaceafillthen17: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
replaceafillsee the url17:18
replaceafillit's relative17:18
replaceafillthe logo.png file is in the custom-css directory17:19
th1aSo that would use logo.png from the custom-css directory?17:19
th1aOK.17:19
replaceafillif you want to use text instead of background17:19
replaceafillyou could use css content17:19
replaceafillafter and before17: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
replaceafilloops17:20
replaceafillsorry17:20
replaceafillv17:20
replaceafillggr17:20
replaceafillhttp://www.w3schools.com/cssref/sel_after.asp17:20
replaceafillhttp://www.w3schools.com/cssref/sel_before.asp17:20
th1atext instead of background?17:21
replaceafillfor peas i used a image logo17:21
replaceafillbut maybe you want some text replacing the schooltool logo17:21
replaceafilllike "my foo school" or something17:21
replaceafillor even "my foo school <logo>"17:22
replaceafillit's also possible17:22
th1aOK.  mobert will probably ask you some questions later today.17:23
replaceafillkk17:24
replaceafillth1a, http://postimg.org/image/91om8cv59/17:26
th1aAh, cool.17:27
replaceafillok, i'll go get breakfast17:27
th1aOne last question:17:27
replaceafillyes?17:27
th1achanging background color in the header.17:27
replaceafill.header ul.navigation {17:28
replaceafillbackground-color: <the color you want>;17:28
replaceafill}17:28
replaceafillhttp://postimg.org/image/5xtiyl1l9/17:29
th1aOK, thanks!  Go get breakfast.17:30
*** khildin has joined #schooltool17:30
replaceafillkk thanks17:30
replaceafillbb in 3017:30
*** khildin has quit IRC17:42
th1adally 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
replaceafilli wonder what that is18:00
th1aHe's on Windows.18:31
th1aI don't know.18:31
th1aFIGURE DASH18:32
th1aU+201218:32
*** mobert has joined #schooltool18:57
mobertth1a, replaceafill -- I'm looking at /etc/schooltool/standard/custom-css/ now.19:06
th1aOK, I'm going to head over in a minute.19:06
th1aYou can play with that, and I'd like to have something for the book tonight if possible.19:07
mobertOK.19:09
mobertSee you soon.19:09
mobertAre you biking or driving? Because I have a new guest parking pass for you just in case.19:09
th1abiking19:11
replaceafillmobert, ah ok19:12
mobertth1a, see you soon!19:12
*** th1a_iPhone has joined #schooltool19:29
th1a_iPhonemobert I'm here19:30
mobertI'll be right down!19:30
*** th1a_iPhone has quit IRC19:35
*** duende has quit IRC19:35
*** duende has joined #schooltool19:36
*** th1a_iPhone has joined #schooltool20:03
*** duende has quit IRC20:05
*** duende has joined #schooltool20:06
*** th1a_iPhone has quit IRC20:06
*** yvl has quit IRC20:25
*** menesis has quit IRC21:21
th1areplaceafill: Performance on search is really good!22:11
replaceafill:)22:11
replaceafillthank you catalogs22:11
th1a;-)22:11
replaceafillcourse is still using string comparison22:11
replaceafillcourses*22:11
th1aIt doesn't have ID's yet either?22:11
replaceafillbecause we haven't had catalogs for course containers22:11
*** menesis has joined #schooltool22:11
th1aThe overall number is still going to be small anyhow.22:12
replaceafillID's?22:12
replaceafillyou mean course ID?22:12
th1ayeah22:12
replaceafillthat's the course.course_id attribute22:12
replaceafillnot __name__22:12
th1aoh!22:12
th1aok.22:12
replaceafillwhat about sections?22:12
replaceafillwe're also doing string comparison there22:12
th1aThere are way more of them potentially.22:13
replaceafilli was thinking of finishing all of them first22:14
replaceafilland focusing on performance later22:14
replaceafillstill missing /groups, /contacts, etc22:14
th1aOK, sure.22:15
replaceafilldo we need autocomplete for /terms and /timetables?22:16
replaceafillfor /resources maybe?22:16
th1aI should probably be looking at my mockup...22:16
th1aWe definitely don't need it everywhere.22:17
replaceafillok22:18
replaceafilli'll stick to the ones the mockups uses for now22:18
replaceafill522:18
th1aContacts definitely needs it.22:20
replaceafillth1a, how much time do we have for the school page?22:22
th1aIt should be done before the end of the year!22:22
replaceafill:|22:23
th1aIf the searches aren't hard, then I guess it shouldn't take too long.22:23
th1aIt is a "until it is done" project... perhaps the last.22:23
replaceafillah ok22:24
replaceafillwe have time for writing tests for it :)22:24
th1aYes!22:24
replaceafillkk, understood22:24
*** replaceafill has quit IRC23:48

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!