=== Pendulum_ is now known as Pendulum | ||
daker | cjohnston: do you have a fresh summit db with some data ? | 15:13 |
---|---|---|
cjohnston | daker: http://ubuntuone.com/3b3d1UNkSn3rL1R0dQtOon | 17:23 |
=== imbrando1 is now known as imbrandon | ||
daker | cjohnston: question : can we use a separate templates for the mobile view ? | 21:54 |
daker | something like this : | 21:54 |
daker | if request.is_mobile: | 21:55 |
daker | use mobile_tempate | 21:55 |
daker | else: | 21:55 |
daker | use desktop_tempate | 21:55 |
nigelb | that will end up being hard to maintain. | 21:56 |
daker | why ? | 21:56 |
nigelb | because views will now have 2 templates. | 21:57 |
nigelb | If it's for say... schedule view only. | 21:58 |
nigelb | That's probably ok. | 21:58 |
daker | the problem here is that the user will be forced to download all the js/css files which they wont be used on the mobile | 21:58 |
daker | page | 21:58 |
nigelb | aha. | 21:58 |
nigelb | So, how about checking for that? | 21:58 |
nigelb | I'm sure there's a way to bundle that correctly. | 21:59 |
daker | i think Modernizr can do that | 22:02 |
daker | i mean with js | 22:03 |
nigelb | there's also probably some kind of minimzier django app that'll help. | 22:03 |
nigelb | I know something lik that exists for flask, so it should exist for js :) | 22:03 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!