continued with mithril
This commit is contained in:
1 parent
0565d23cc8
commit
0c63722d68
6 files changed
+63
-18
No files matched your search
@@ -43,7 +43,7 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer'], fu
|
||||
|
||||
nextGameDaySchedule._getGamesRow = function(game){
|
||||
return m('tr', [
|
||||
m('td', 'small txt'),
|
||||
m('td', game.date),
|
||||
m('td', game.time),
|
||||
m('td', game.away),
|
||||
m('td', game.home)
|
||||
@@ -55,11 +55,11 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer'], fu
|
||||
};
|
||||
|
||||
nextGameDaySchedule.view = function(games){
|
||||
return m('table.uk-table.uk-table-hover.uk-table-striped.uk-table-condensed',
|
||||
m('tbody', [
|
||||
nextGameDaySchedule._getTableHead(),
|
||||
return m('table.uk-table.uk-table-hover.uk-table-striped.uk-table-condensed',[
|
||||
nextGameDaySchedule._getTableHead(),
|
||||
m('tbody',
|
||||
nextGameDaySchedule._getGamesRows(games)
|
||||
]));
|
||||
)]);
|
||||
};
|
||||
|
||||
var mainPageSchedule = {};
|
||||
|
||||
Reference in new issue
Block a user