Skip to content

Commit

Permalink
table improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
ezraroi committed Jul 5, 2024
1 parent f30d4a3 commit d7c9950
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Mundialito/Client/src/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ angular.module('mundialitoApp').constant('Constants',
{ field: 'GeneralBet.GoldenBootPlayer', displayName: 'Player', resizable: false, minWidth: 50, maxWidth: 50 },
{ field: 'TotalMarks', displayName: 'Total Marks', resizable: true },
{ field: 'Results', displayName: 'Results', resizable: true },
{ field: 'YellowCards', displayName: 'Yellow Cards Marks', resizable: true },
{ field: 'Corners', displayName: 'Corners Marks', resizable: true },
{ field: 'YellowCards', displayName: 'Yellow Cards Marks', maxWidth: 55, resizable: false, headerCellTemplate: '<div class="text-center" style="margin-top: 5px;"><i class="fa fa-stop fa-2xl" style="color: #ffff00"></i></div>' },
{ field: 'Corners', displayName: 'Corners Marks', maxWidth: 55, resizable: false, headerCellTemplate: '<div class="text-center" style="margin-top: 5px;"><i class="fa fa-flag fa-xl"></i></div>' },,
{ field: 'PlaceDiff', displayName: '', resizable: false, maxWidth: 45, cellTemplate: '<div ng-class="{\'text-success\': COL_FIELD.indexOf(\'+\') !== -1, \'text-danger\': (COL_FIELD.indexOf(\'+\') === -1) && (COL_FIELD !== \'0\')}"><div class="ngCellText">{{::COL_FIELD}}</div></div>' }
],
}
Expand Down
2 changes: 1 addition & 1 deletion Mundialito/wwwroot/js/app-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Mundialito/wwwroot/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ angular.module('mundialitoApp').constant('Constants',
{ field: 'GeneralBet.GoldenBootPlayer', displayName: 'Player', resizable: false, minWidth: 50, maxWidth: 50 },
{ field: 'TotalMarks', displayName: 'Total Marks', resizable: true },
{ field: 'Results', displayName: 'Results', resizable: true },
{ field: 'YellowCards', displayName: 'Yellow Cards Marks', resizable: true },
{ field: 'Corners', displayName: 'Corners Marks', resizable: true },
{ field: 'YellowCards', displayName: 'Yellow Cards Marks', maxWidth: 55, resizable: false, headerCellTemplate: '<div class="text-center" style="margin-top: 5px;"><i class="fa fa-stop fa-2xl" style="color: #ffff00"></i></div>' },
{ field: 'Corners', displayName: 'Corners Marks', maxWidth: 55, resizable: false, headerCellTemplate: '<div class="text-center" style="margin-top: 5px;"><i class="fa fa-flag fa-xl"></i></div>' },,
{ field: 'PlaceDiff', displayName: '', resizable: false, maxWidth: 45, cellTemplate: '<div ng-class="{\'text-success\': COL_FIELD.indexOf(\'+\') !== -1, \'text-danger\': (COL_FIELD.indexOf(\'+\') === -1) && (COL_FIELD !== \'0\')}"><div class="ngCellText">{{::COL_FIELD}}</div></div>' }
],
}
Expand Down

0 comments on commit d7c9950

Please sign in to comment.