BraydenMoore commited on
Commit
24c0fdf
1 Parent(s): 31a4695

Update styling

Browse files
Files changed (1) hide show
  1. Templates/index.html +7 -7
Templates/index.html CHANGED
@@ -318,11 +318,11 @@
318
  <table id="gameTable">
319
  <tr>
320
  <th>Date</th>
321
- <th>Away Team</th>
322
- <th>Home Team</th>
323
- <th>Over/Under Line</th>
324
- <th>Predicted Winner</th>
325
- <th>Predicted Over/Under</th>
326
  </tr>
327
  </table>
328
  </div>
@@ -376,7 +376,7 @@
376
  const response = await fetch('/get_games');
377
  const pulled_games = await response.json();
378
  const table = document.getElementById('gameTable');
379
- const columns = ['Date','Away Team', 'Home Team'];
380
  const lines_response = await fetch('/get_lines');
381
  const lines = await lines_response.json()
382
 
@@ -385,7 +385,7 @@
385
 
386
  columns.forEach((column) => {
387
  const cell = row.insertCell(-1);
388
- if (column === 'Away Team' || column === 'Home Team') {
389
  const img = document.createElement('img');
390
  img.src = `/Static/${game[column]}.webp`;
391
  img.alt = game[column];
 
318
  <table id="gameTable">
319
  <tr>
320
  <th>Date</th>
321
+ <th>Away</th>
322
+ <th>Home</th>
323
+ <th>O/U Line</th>
324
+ <th>Winner</th>
325
+ <th>Predicted O/U</th>
326
  </tr>
327
  </table>
328
  </div>
 
376
  const response = await fetch('/get_games');
377
  const pulled_games = await response.json();
378
  const table = document.getElementById('gameTable');
379
+ const columns = ['Date','Away', 'Home'];
380
  const lines_response = await fetch('/get_lines');
381
  const lines = await lines_response.json()
382
 
 
385
 
386
  columns.forEach((column) => {
387
  const cell = row.insertCell(-1);
388
+ if (column === 'Away' || column === 'Home') {
389
  const img = document.createElement('img');
390
  img.src = `/Static/${game[column]}.webp`;
391
  img.alt = game[column];