worked on responsivness

This commit is contained in:
didier amyot committed 2016-02-07 11:34:54 -05:00
1 parent 0c63722d68
commit 35f22534f9
5 files changed
+76 -34

No files matched your search

+4 -4
View File
@@ -55,7 +55,7 @@ define(['m', '_', 'util', 'resultParser', 'teams', 'views/topNavBar', 'views/foo
statsView.view = function(stats){
return m('div.uk-grid',
m('div.uk-width-1-1',[
m('div.uk-width-medium-1-1.uk-width-large-1-1.uk-container-center',[
m('h2', 'Classement 2016'),
statsView.mainTable(stats()),
statsView.legend()
@@ -109,7 +109,7 @@ define(['m', '_', 'util', 'resultParser', 'teams', 'views/topNavBar', 'views/foo
schedulView.view = function(games){
return m('div.uk-grid',
m('div.uk-width-3-5',
m('div.uk-width-large-3-5.uk-width-medium-1-1',
_.concat([m('h2', 'Calendrier 2016')], _.map(games(), schedulView._gameView))));
};
@@ -117,8 +117,8 @@ define(['m', '_', 'util', 'resultParser', 'teams', 'views/topNavBar', 'views/foo
calendarPage.view = function(){
return [m.component(topNavBar),
m('div.uk-grid',
m('div.uk-width-3-5.uk-push-1-5',[
m('div.uk-grid.uk-margin-top.uk-margin-bottom',
m('div.uk-width-large-3-5.uk-width-small-1-1.uk-container-center',[
m.component(statsView),
m.component(schedulView)])),
m.component(footer)];