/srv/irclogs.ubuntu.com/2012/11/25/#ubuntu-website.txt

=== Pendulum_ is now known as Pendulum
dakercjohnston: do you have a fresh summit db with some data ?15:13
cjohnstondaker: http://ubuntuone.com/3b3d1UNkSn3rL1R0dQtOon17:23
=== imbrando1 is now known as imbrandon
dakercjohnston: question : can we use a separate templates for the mobile view ?21:54
dakersomething like this :21:54
dakerif request.is_mobile:21:55
daker   use mobile_tempate21:55
dakerelse:21:55
daker   use desktop_tempate21:55
nigelbthat will end up being hard to maintain.21:56
dakerwhy ?21:56
nigelbbecause views will now have 2 templates.21:57
nigelbIf it's for say... schedule view only.21:58
nigelbThat's probably ok.21:58
dakerthe problem here is that the user will be forced to download all the js/css files which they wont be used on the mobile21:58
dakerpage21:58
nigelbaha.21:58
nigelbSo, how about checking for that?21:58
nigelbI'm sure there's a way to bundle that correctly.21:59
dakeri think Modernizr can do that22:02
dakeri mean with js22:03
nigelbthere's also probably some kind of minimzier django app that'll help.22:03
nigelbI 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!