[00:23] <cjohnston> Any CSS guru's have any spare time? ;-)
[01:11] <knome> cjohnston, depends. if it can wait for tomorrow...
[01:11] <cjohnston> knome: ya.. I need someone to take my code and pretty it ;-)
[01:12] <knome> anywhere one can see it?
[01:12] <cjohnston> I'm pushing the code up now
[01:13] <cjohnston> https://code.launchpad.net/~chrisjohnston/summit/track-page
[01:14] <cjohnston> knome: if you arent familiar with summit, you may need help setting it up so that you can work on it
[01:14] <knome> no, i'm not
[01:14] <knome> i could work on an external site too
[01:15] <cjohnston> knome: I'm at work tomorrow, but if you ping me when you have time, hopefully I wll be free to help you
[01:15] <cjohnston> knome: its all templates that depend on each other
[01:15] <knome> okay, i'll try to do that tomorrow
[01:15] <cjohnston> I guess I could technically get it all ready, and give you raw html.. but im not sure that it would all work
[01:16] <cjohnston> I'll probably ping Martin tomorrow also knome.. But we have other stuff that we need css help with if he gets to that first
[01:16] <knome> nothing against setting it up myself either, but i don't have a local web server up right now, so that would take some time too to set up
[01:16] <knome> mm-hmm, no problem
[01:17] <cjohnston> knome: it will only take ~10 minutes.. we have it set up to where its like 3 lines you have to run and it will setup a virtual env for you
[01:17] <knome> mm-hmm
[01:18] <knome> but it still needs a server to run on, or not?
[01:18] <cjohnston> no.. it can run on your desktop/laptop just fine
[01:18] <knome> right
[01:18] <knome> want to guide me through the setup right now then?
[01:18] <cjohnston> sure
[01:18] <knome> i've pulled the branch already
[01:19] <cjohnston> well.. you need to pull something else first..
[01:19] <knome> right
[01:19] <cjohnston> create a folder somewhere called summit...
[01:19] <cjohnston> cd into that folder..
[01:19] <knome> donr
[01:19] <knome> *done
[01:19] <cjohnston> then: bzr branch lp:summit
[01:19] <knome> done
[01:19] <cjohnston> what version of ubuntu are you running
[01:20] <knome> xubuntu 11.10
[01:20] <cjohnston> ok
[01:20] <cjohnston> sudo apt-get install python-virtualenv
[01:20] <cjohnston> that might not work.. it may be:
[01:20] <cjohnston> sudo apt-get install virtualenvwrapper
[01:20] <knome> done
[01:21] <cjohnston> mkvirtualenv --python=/usr/bin/python2.6 --no-site-packages summit
[01:22] <knome> can't find the command
[01:23] <knome> (i installed both pkgs)
[01:23] <cjohnston> whats the error
[01:23] <cjohnston> cant find python?
[01:23] <knome> mkvirtualenv: command not found
[01:24] <knome> there is a command named virtualenv, is it possibly that?
[01:24] <cjohnston> i dont think so, cause we are creating a virual env
[01:25] <knome> it accepts both of those parameters though
[01:25] <mhall119> mkvirtualenv is a wrapper that nigelb prefers, IIRC
[01:26] <knome> right
[01:26] <cjohnston> ya
[01:26] <cjohnston> knome: try:
[01:26] <cjohnston> workon summit
[01:26] <mhall119> I use just the standard virtualenv
[01:26] <knome> workon: command not found
[01:26] <cjohnston> mhall119: ?
[01:26] <mhall119> virtualenv --python=/usr/bin/python2.6 --no-site-packages summit
[01:26] <mhall119> no 'mk'
[01:27] <knome> with that, python is not found. is 2.7 ok, or do we specifically need 2.6?
[01:27] <cjohnston> ahh
[01:28] <mhall119> oh, install python2.6
[01:28] <mhall119> it'll install beside 2.7
[01:28] <mhall119> then try mkvirtualenv (with 'mk') again
[01:28] <cjohnston> mhall119: did I tell you I started conversation with IS about upgrading us to 3
[01:28] <mhall119> python 3?
[01:28] <mhall119> you better not mean python 3
[01:28] <cjohnston> ya
[01:29] <cjohnston> what do you want to do?
[01:29] <mhall119> you know it's not backwards compatible, right?
[01:29] <cjohnston> 2.6 isnt shipping with the next release
[01:29] <cjohnston> you dont want to upgrade to something current/
[01:29] <knome> done the virtualenv command now
[01:29] <cjohnston> knome: workon summit
[01:29] <knome> workon: command not found
[01:29] <cjohnston> uggh
[01:30] <knome> are you sure you told me to install all the necessary packages? :P
[01:30] <cjohnston> you should just need python2.6 and virtualenvwrapper
[01:30] <knome> i have those
[01:31] <mhall119> cjohnston: I'm not sure Django will run on Python 3
[01:32] <mhall119> we can use 2.7 when we can no longer use 2.6
[01:32] <cjohnston> i see that now
[01:32] <cjohnston> so we would need to upgrade to 2.7
[01:32] <cjohnston> i just wanted to avoid upgrading 2 times
[01:33] <mhall119> yeah, which hopefully won't cause much trouble
[01:33] <mhall119> should be better than the differences between 2.4 and 2.6 we had a while back
[01:33] <knome> cjohnston, maybe it's better if you just shipped me the raw html files? ;)
[01:34] <knome> cjohnston, or set up an installation somewhere where i can just see the pages
[01:34] <knome> that would be completely okay by me :)
[01:34] <cjohnston> mhall119: any idea why he still cant do workon
[01:35] <mhall119> is that some virtualenvwrapper thing?
[01:35] <cjohnston> dunno
[01:36] <knome> now i can actually
[01:37] <knome> don't know what i did but...
[01:37] <cjohnston> lol
[01:37] <cjohnston> so workon summit worked?
[01:37] <knome> well, i'm apparently now in the summit env :P
[01:37] <cjohnston> cd summit
[01:37] <cjohnston> pip install -r requirements.txt
[01:39] <knome> done
[01:39] <knome> there was some errors though
[01:40] <knome> says "compilation terminated." and stuff ;)
[01:40] <cjohnston> knome: you will have to get nigel to help you out with setting that up then.. I'm going to get html
[01:40] <knome> lol
[01:40] <knome> i suppose the html-method is way less error-prone :D
[01:40] <cjohnston> im trying to follow his instructions, which clearly arent working for me
[01:40] <knome> is there something i need to do to remove the virtenv?
[01:41] <knome> or is it just hanging around doing nothing unless i tell it to
[01:41] <cjohnston> #2
[01:41] <knome> okay
[01:41] <knome> then i'll leave it
[01:43] <cjohnston> knome: the links on this page wont work for you, but you should get everything you need
[01:43] <knome> mm-hmm
[01:43] <cjohnston> im uploading itn now
[01:43] <cjohnston> it
[01:43] <knome> sure, thanks :)
[01:45] <cjohnston> knome: this is the example that I want it to look like... http://uds.ubuntu.com/tracks/   dont worry about the background color or link colors and such.. just the layout.. "Ubuntu Tracks" on the example is the same as "Linaro Connect Q1.12 Tracks" on the page I'm sending you
[01:45] <cjohnston> html:
[01:45] <cjohnston> http://ubuntuone.com/7iY5k3PMuW61jnZWqOiPof
[01:46] <knome> so you basically just want columns?
[01:46] <cjohnston> ya
[01:46] <cjohnston> its a table i guess
[01:46] <cjohnston> but heres another thing..
[01:47] <cjohnston> the number of tracks isn't static
[01:47] <knome> no problem.
[01:47] <cjohnston> this cycle there could be 6, next cycle 12, then 9, etc
[01:48] <cjohnston> knome: I have to go spend time with the wife.. If you get to it tonight, that's awesome, if its tomorrow, thats fine too..
[01:48] <knome> .main-content ul li { width: 25%; float: left; list-style-type: none;
[01:48] <knome> }
[01:48] <knome> that's it
[01:48] <knome> you probably want to set a class for the ul
[01:49] <knome> i'll post a shot of that quickly
[01:50] <knome> http://imagebin.org/186566
[01:51] <knome> don't worry about the missing bg images or so
[01:51] <cjohnston> i hate css
[01:51] <cjohnston> lol
[01:51] <cjohnston> that's rediculously easy
[01:51] <knome> hate? why? :P
[01:51] <knome> it is
[01:51] <cjohnston> cause i dont get along with it
[01:51] <knome> you might need to force a li height
[01:51] <cjohnston> how do i add a class for the ul
[01:52] <knome> <ul class="myclass"> in the markup
[01:52] <cjohnston> right.. in the css
[01:52] <knome> and .main-content ul.myclass li { in the css
[01:52] <cjohnston> sweet
[01:52] <knome> i'm not sure how this will work with variable-height li-items
[01:53] <knome> if it breaks horribly, just ping me ;]
[01:53] <cjohnston> ok
[01:53] <cjohnston> ty
[01:53] <knome> np
[01:53] <knome> have fun with wife
[01:53] <knome> i'm going to bed next to mine now :D
[01:53] <cjohnston> ty
[01:53] <knome> good night
[01:53] <cjohnston> o/
[01:53] <knome> (4am...)
[01:53] <cjohnston> eww
[01:53] <knome> haha :)
[01:53] <knome> css @ 4am <3
[01:53] <cjohnston> the 4am part not the next to yours part
[01:54] <knome> hehe :) yeah i guessed that...
[01:54] <knome> okie, see you later
[01:54] <knome> ->
[01:55] <cjohnston> knome: ya.. breaks bad with varable height li
[10:40] <knome> cjohnston, http://temp.knome.fi/other/li-columns-css.php
[10:52] <nigelb> knome: You wanted some help with virtualenv-wrapper?
[10:52] <knome> well, not really "wanted" :) we sorted out the original problem already so... :)
[10:52] <nigelb> after you install it, you need to do restart your terminal I believe.
[10:52] <nigelb> oh cool
[10:52] <knome> thanks anyway :)
[11:21] <cjohnston> knome: how would I do every 4 li's enter a new row?
[11:21] <cjohnston> its built on the fly, its not hard coded
[11:22] <knome> with $i++ ? :P
[11:22] <cjohnston> I don't know what that is
[11:22] <knome> ha, i meant, take a variable and add 1 to it
[11:22] <knome> when you hit 5, add the class :P
[11:23] <knome> css2 can't do that
[11:23] <knome> css3 could
[11:24] <cjohnston> http://paste.ubuntu.com/756947/ is the entire code
[11:24] <cjohnston> I have to leave for work.. I'll be back in about 1.5 hours or so.
[11:24] <cjohnston> :-)
[11:24] <knome> i don't know python, but it is possible
[11:24] <cjohnston> hmm
[11:24] <cjohnston> ok
[11:24] <knome> can be done in js too
[11:24] <knome> but i think python is better
[11:25] <cjohnston> ok
[11:25] <cjohnston> bbl
[16:32] <daker> mhall119, nigelb cjohnston do you know why ModelMultipleChoiceField lose the order of the items ?
[16:33] <nigelb> Hrm, no clue.
[16:46] <mhall119> daker: it doesn't use the model's default ordering?
[17:03] <daker> no i want it to keep the same order http://imgur.com/hrXon, when you will submit the form django will reorder them (using pk), and i want him to keep the same order like they were inserted
[17:05] <daker> mhall119, ^
[17:14] <mhall119> daker: oh, you'd have to add some kind of ordering field to the intermediate table to do that
[17:14] <daker> shit!
[17:15] <mhall119> I'm not even 100% sure that you're guaranteed to get the same order in the POSTed form data as it exists in the <select> field
[17:39] <daker> mhall119, thanks